image-view
by JinhaoFang · ★ 0 · updated 16 days ago
Previews images in the prompt and in the transcript: pasted images and image paths above the prompt, images a tool read under its result; pictures in kitty and Ghostty, block thumbnails elsewhere, each with a link to the file
Install
/plugin marketplace add JinhaoFang/claude-mods/plugin install image-view@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
prompt.editprompt.changetool.callui.render- API calls
$.clock.after$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.process.run$.session.cwd$.session.id$.state.get$.state.set$.ui.resolve- Draws
AbovePromptToolResultToolGroup- Can see
Read calls- Reach
- level 2 of 3 runs processesreads filesreads env varsreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/JinhaoFang/claude-mods
- Path in repo
mods/image-view- Source commit
715fcfdthe exact code the scan read- Author
- @JinhaoFang
- License
- Apache-2.0
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from JinhaoFang/claude-mods
agent-flow
JinhaoFang/claude-mods
The agent flow pane: /flow opens a live tree of the session's subagents and teammates beside the transcript, fed by engine events, with a text fallback where no pane can be drawn.
block-destructive-commands
JinhaoFang/claude-mods
Denies Bash commands that match destructive patterns (recursive rm on roots, force push, hard reset, destructive SQL, disk formatting) before they run. A tool.call hook with a Bash matcher that returns { deny } without calling next.
context-band
JinhaoFang/claude-mods
A band above the prompt showing the session's model and effort, context usage, and plan quota or cost
redact
JinhaoFang/claude-mods
Rewrites sensitive data (emails, IPs, credentials, addresses, phone numbers) out of what enters the model context
Related mods
Other mods in Bands, close to this one by stars.