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 (84/100) |
| Rank | #9,140 of 9,397 Claude Code mods; #3,804 in Interface |
| License | MIT |
| Last commit | 2026-11-01 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | AbovePrompt |
Is image-preview safe to install?
image-preview scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. 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 |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| 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 Clairic extraction model read the command output and the (Review before installing)
- devflow: A spec-driven, test-driven workflow for working with Claude: /devflow:go routes a task to a track (feature, bug, refacto (Low risk)