Claude Paste View
A Claude Code mod that shows what you paste, so you see image thumbnails and a preview of long text above your prompt instead of bare [Image #1] and [Pasted text #2 +41 lines] tags.

Install
Inside Claude Code, run:
/plugin marketplace add Amorfx/claude-paste-view
/plugin install paste-view
/reload-plugins
Prefer the terminal?
claude plugin marketplace add Amorfx/claude-paste-view
claude plugin install paste-view@claude-paste-view
Then run /reload-plugins inside a session, or start a new one.
On Linux, text previews read the clipboard with wl-paste or xclip, which most distributions don't install by default:
sudo apt install wl-clipboard xclip # Debian, Ubuntu
What You See
╭────────────────────────╮
│ (screenshot) │
│ #1 │
╰────────────────────────╯
1: #2 · 42 lines · 3.1k chars — Traceback (most recent call last):
click a paste, or ctrl+x tab then its number, to read it whole
❯ why does this fail [Image #1] [Pasted text #2 +41 lines]
- Images show as thumbnails that keep their shape and shrink to fit the space above the prompt. In a terminal that can't draw pictures (Terminal.app, …), or that Claude Code doesn't recognise as one (iTerm2, see Limitations), each image is a line instead,
#1 · image 1630×632 — open, that opens it in your system's image viewer. A pasted JPEG, WebP or other non-PNG image is always a line, #1 · image · jpg — open, since the terminal draws only PNG files.
- Long text shows as one line: its line count, its size and its first line.
- See a paste whole by clicking its line, or with ctrl+x tab then its number. Text opens in a pane (↑↓ to scroll, Esc to close); an image opens in your system's viewer. Your draft is left as it is.
- Clears on send. Once the prompt is sent, or a tag is deleted, its preview goes away.

How It Works
- Every 200ms the mod reads the prompt box and looks for
[Image #n] and [Pasted text #n …] tags. It polls because pasting raises no edit event.
- Images: Claude Code caches each pasted image as
<tmp>/<project>/<session>/images/<n>.png, or <n>.jpg, <n>.webp, … when it was pasted in another format. The mod finds that file and draws a PNG with Claude Code's Image element.
- Text: Claude Code keeps a collapsed paste to itself until the prompt is sent, and writes no file for it before then. So when a new text tag appears, the mod reads the clipboard once (
pbpaste on macOS, wl-paste or xclip on Linux). It keeps that text only if its line count matches the count in the tag, and holds it in memory until the tag leaves the prompt.
Limitations
- Text previews come from the clipboard. If the clipboard changes within ~200ms of pasting, or the paste didn't come from the clipboard (a tmux buffer, a remote session over SSH), the line reads
no preview rather than showing the wrong text.
- A draft restored from history with several text tags shows no text preview, since one clipboard can't stand for several pastes.
- No thumbnails inside tmux or screen, or in a background session (agent view), even in Ghostty or kitty: Claude Code turns terminal pictures off there, and the mod lists images as lines instead. If your terminal speaks the kitty graphics protocol through them, add
"env": { "CLAUDE_CODE_FORCE_TERMINAL_IMAGES": "1" } to ~/.claude/settings.json and start a new session.
- iTerm2 isn't recognised as a terminal that draws pictures, so images are listed as lines, although iTerm2 answers Claude Code's graphics probe. With
CLAUDE_CODE_FORCE_TERMINAL_IMAGES set, thumbnails draw in iTerm2 (seen with 3.7.3). Set it for iTerm2 only, since a terminal that can't draw pictures would then show neither a thumbnail nor the open line: add [ "$TERM_PROGRAM" = "iTerm.app" ] && export CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1 to your shell profile (~/.zshrc, …), then start a new session.
- The tag formats and the image cache path are Claude Code internals. A future version may change them; please open an issue if previews stop appearing.
Security