What is image-preview?
image-preview is a Claude Code mod by sandipchitale that preview images pasted into the prompt, before you submit: chips above the prompt and an Images pane open them in your OS viewer. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | sandipchitale |
| Repository | sandipchitale/claude-code-image-preview |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (76/100) |
| Rank | #4,524 of 5,272 Claude Code mods; #1,859 in Interface |
| License | MIT |
| Last commit | 2026-10-07 |
| Hooks | 5 events |
| Sees | every prompt |
| Draws on | AbovePrompt, Pane |
Is image-preview safe to install?
image-preview scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.process.run | runs processes |
$.session.id | |
$.state.get | |
$.state.set | |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install image-preview?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/sandipchitale/claude-code-image-preview claude plugin validate ./claude-code-image-preview/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add sandipchitale/claude-code-image-preview && claude plugin install image-preview@image-preview
Or ask Claude to set it up
Paste this into Claude Code and it installs image-preview for you:
Install the "image-preview" Claude Code mod from https://github.com/sandipchitale/claude-code-image-preview. Run claude plugin validate on it first and show me what it can access before you enable it.