What is image-preview?
image-preview is a Claude Code mod by ezoushen that render image paths inline: a thumbnail in the user's prompt row (aspect-fill, max 10 rows) and in agent reply rows when the model mentions a path. Recognises a file path ending in a. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | ezoushen |
| Repository | ezoushen/claude-mods |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Review before installing (76/100) |
| Rank | #3,173 of 5,272 Claude Code mods; #575 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-08 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | UserMessage, AssistantMessage |
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; reads environment variables. 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 |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| 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 | |
$.env.get | reads env vars |
$.process.run | runs processes |
$.session.cwd | |
$.session.messages | reads the transcript |
$.state.get | |
$.state.set | |
$.ui.resolve | 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/ezoushen/claude-mods claude plugin validate ./claude-mods/image-preview
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add ezoushen/claude-mods && claude plugin install image-preview@claude-mods
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/ezoushen/claude-mods/tree/main/image-preview. Run claude plugin validate on it first and show me what it can access before you enable it.
More from ezoushen/claude-mods
This repository has 2 Claude Code mods on MCPMods.
- mermaid-pane: Renders mermaid code blocks inline as ASCII art (beautiful-mermaid, termaid) or images with an open-full-size button; /m (Low risk)