joshhu

Claudebigimage — Development skill for Claude Code

Development community

在 Claude Code 中以大尺寸預覽貼上的圖片(fork 自 claude-image-view).

How to install Claudebigimage

This entry records only its repository, not the path inside it, so there is no exact command to give. Open joshhu/claudebigimage and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claudebigimage does

在 Claude Code 中以大尺寸預覽貼上的圖片(fork 自 claude-image-view).

Alternatives in Development

  • Imagegen — Generate and edit images using OpenAI's Image API for projects 14.6k ★
  • Mono Color Skill — One-ink editorial print image skill — warm paper, halftone photography, active negative space, and restrained 3k ★
  • Nano Banana Pro Prompts Recommend Skill — Claude Code / Cursor skill to recommend from 6000+ Nano Banana Pro image prompts 1.3k ★

README

Claude Big Image

讓你在 Claude Code 貼上的圖片,直接以大尺寸預覽顯示在提示框上方,不再只有光禿禿的 `[Image #1]` 標籤或小小的縮圖。

本專案 fork 自 [jarrodwatts/claude-image-view](https://github.com/jarrodwatts/claude-image-view),把預覽放大(預設最大 20 列 × 80 欄,原版是 6 × 32),尺寸也可以自己設定,並加上可停靠在對話旁的大圖預覽 Pane。

[![License](https://img.shields.io/github/license/joshhu/claudebigimage)](LICENSE)

![Claude Big Image 實際畫面](claudebigimage.png)

安裝

在 Claude Code 裡執行:

/plugin marketplace add joshhu/claudebigimage
/plugin install image-view@claudebigimage
/reload-plugins

這樣就完成了。在提示框貼上圖片,預覽就會出現在輸入框上方。

如果你也裝了原版的 `image-view@claude-image-view`,請先停用,避免兩個同時畫圖。

想用終端機指令安裝?
claude plugin marketplace add joshhu/claudebigimage
claude plugin install image-view@claudebigimage

接著在 session 裡執行 `/reload-plugins`,或開一個新的 session。

使用起來的樣子

貼上一張或多張圖片,提示框上方會出現一排預覽,每張都標上對應的標籤編號:

╭────────────────────────╮ ╭────────────╮
│                        │ │            │
│      (screenshot)      │ │  (photo)   │
│                        │ │            │
│           #1           │ │     #2     │
╰────────────────────────╯ ╰────────────╯
❯ 為什麼這裡的標題沒對齊 [Image #1] vs [Image #2]
  • 用 Pane 顯示大圖。 終端機夠寬(144 欄以上)時,貼上的圖片會自動在「Image preview」Pane 裡打開:全螢幕模式下停靠在對話旁邊、從頂到底整個高度都能用,否則放在提示框上方。每張圖預設最大 20 列高、80 欄寬(見設定)。
  • /image-view 隨時打開。 終端機比較窄時,圖片會改顯示在提示框上方那一排;執行 /image-view 可以在任何寬度打開 Pane。手動關掉 Pane 後,要等你貼上不同的圖片才會再自動打開。
  • 一貼上就顯示。 不用再多按一個鍵。
  • 保持原本比例。 寬的截圖維持寬的,手機直式截圖維持直的。
  • 一定放得進畫面。 預覽會縮到剛好放得進提示框上方的空間(而且不超過終端機高度的三分之二),不會捲動或被切掉。
  • 送出後自動清除。 提示送出(或刪掉標籤)之後,預覽和 Pane 都會消失。

設定

預覽的最大尺寸由兩個選項控制。可以在 `/plugin` 的設定選單修改,或寫在 `~/.claude/settings.json` 的 `pluginConfigs` 底下:

選項 預設值 說明
maxHeight 20 預覽最多幾列高(1–255)。
maxWidth 80 預覽最多幾欄寬(4–255)。

預覽一定會縮到終端機放得下的大小,所以設大一點也沒關係。把 `maxHeight` 設成 `6`、`maxWidth` 設成 `32`,就是原版的小縮圖。

運作原理

Claude Code 會把每張貼上的圖片存到這個 session 的快取資料夾 `///images/.png`,並