image-view
Reviewed
at commit 370b8e7
See the images you paste into Claude Code: thumbnails above the prompt instead of bare [Image #1] tags
1 upvote
Log in to upvote or save- Made by
- Jarrod Watts
- Pinned commit
-
370b8e7bc0708bebe9762e63534f7ca18bc3e802 - What we checked
-
Shows a small thumbnail of each image you paste above the prompt box, using Claude Code's own cached copy of the paste; terminals that cannot draw pictures get a coloured-block version instead. It watches your draft for [Image #N] tags and reads the cached image files. It makes no network calls and sends nothing anywhere.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (starts a 200 ms poll with $.clock.every that reads the draft through $.prompt.read and looks for [Image #N] tags) and ui.render for the AbovePrompt component, which draws the tiles with Image or Raster. Runtime calls: $.env.get for terminal and temp-folder variables, $.process.run for 'id -u' and, on macOS only, the system tool sips to convert a non-PNG paste to a PNG (at most 800 px) written as image-view-N.png next to Claude Code's own cached pastes in the session temp folder, $.fs.list, $.fs.exists and $.fs.read of the cached images, and the plugin state atom (in-memory list of thumbnails). Files it cannot read or that are not PNG are skipped and not retried; sips failures are remembered. For terminals without picture support it decodes PNGs with its own bundled inflate and PNG decoder (hooks/png.ts) and averages them to a small block picture; the decoder is pure computation with a 256 MiB raw size limit. No fetch, sockets, eval, dynamic code or shell strings. The plugin has no npm dependencies; the README and tests were not reviewed. Changes since the previous review (png.ts decoder, layout changes, sips conversion, env-based renderer choice) were read in full and add no network or file access beyond what is described.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: yes
- Hooked events
See the images you paste into Claude Code: thumbnails above the prompt instead of bare [Image #1] tags
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/image-view/)