Home / Claude Code mods / Cost & usage / image-preview

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.

Updated 2026-10-08

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.

TypeClaude code mod
Authorezoushen
Repositoryezoushen/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (76/100)
Rank#3,173 of 5,272 Claude Code mods; #575 in Cost & usage
LicenseMIT
Last commit2026-10-08
Hooks3 events
Seesonly the events it hooks
Draws onUserMessage, 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.process.runruns processes
$.session.cwd
$.session.messagesreads the transcript
$.state.get
$.state.set
$.ui.resolvedraws interface

How do I install image-preview?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)