What is image-preview?
image-preview is a Claude Code mod by williamchen0606 that preview images pasted into the prompt box, above the prompt, before you send them, and annotate them on macOS. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | williamchen0606 |
| Repository | williamchen0606/claude-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Low risk (88/100) |
| Rank | #5,133 of 5,272 Claude Code mods; #2,103 in Interface |
| License | MIT |
| Last commit | 2026-10-10 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | AbovePrompt |
Is image-preview safe to install?
image-preview scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 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 |
| 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 |
|---|---|
$.clock.every | |
$.clock.now | |
$.clock.sleep | |
$.process.run | runs processes |
$.process.spawn | |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.session.id | |
$.state.get | |
$.state.set | |
$.ui.log | 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/williamchen0606/claude-mods claude plugin validate ./claude-mods/mods/image-preview
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add williamchen0606/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/williamchen0606/claude-mods/tree/main/mods/image-preview. Run claude plugin validate on it first and show me what it can access before you enable it.
More from williamchen0606/claude-mods
This repository has 4 Claude Code mods on MCPMods.
- clef-guard: Has Cloudflare's Clef decision model judge each Bash, Write, Edit and WebFetch call (risk, kind of risk, whether it is r (Review before installing)
- clef-verify: Before Claude ends a turn that changed files, has Cloudflare's Clef decision model check that the work is shown to be do (Review before installing)
- desktop-statusline: A status line for the Claude desktop app: 5-hour and weekly limits with progress bars, context, cost, and how long the 5 (Low risk)