image-preview

by Manuel Hedinger · ★ 0 · updated yesterday

PanesBandsReskinsCommandsPromptvalidates

0

Inline image previews in the terminal (Ghostty, kitty): under every image Claude reads, above the prompt for pasted images, and on demand with /img

install image-preview

Install

git clone https://github.com/hedingerm/image-preview
claude --plugin-dir ./image-preview

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
session.startprompt.editprompt.submitcommand.runui.render
API calls
$.clock.every$.command.register$.env.get$.fs.exists$.fs.read$.fs.stat$.process.run$.prompt.read$.session.cwd$.session.id$.state.get$.state.set$.store.get$.store.set$.ui.invalidate$.ui.open$.ui.resolve
Draws
PaneToolUseToolGroupAbovePrompt
Can see
every prompt
Reach
level 2 of 3 other: $.prompt.readother: $.state.getother: $.state.setruns processesreads filesreads env varspersists 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/hedingerm/image-preview
Path in repo
repository root
Author
Manuel Hedinger @hedingerm
License
MIT
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.