What is previews?
previews is a Claude Code mod by whilestevego that images Claude reads get a 🖼 preview line in the transcript; hover it to see the picture inline (terminals with image support, like Ghostty). It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | whilestevego |
| Repository | whilestevego/claude-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Low risk (80/100) |
| Rank | #5,116 of 5,272 Claude Code mods; #2,093 in Interface |
| Last commit | 2026-10-15 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | ToolUse, ToolGroup |
Is previews safe to install?
previews scores 80/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 5 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 |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.fs.stat | reads files |
$.process.run | runs processes |
$.state.get | |
$.state.set | |
$.ui.resolve | draws interface |
How do I install previews?
- 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/whilestevego/claude-mods claude plugin validate ./claude-mods/previews
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/whilestevego/claude-mods && claude --plugin-dir ./claude-mods/previews
Or ask Claude to set it up
Paste this into Claude Code and it installs previews for you:
Install the "previews" Claude Code mod from https://github.com/whilestevego/claude-mods/tree/main/previews. Run claude plugin validate on it first and show me what it can access before you enable it.
More from whilestevego/claude-mods
This repository has 8 Claude Code mods on MCPMods.
- context-bar: Context window as a stacked bar above the prompt, toggled with /context-bar (Low risk)
- ghostty: Ghostty integration: a 4-word summary as the tab title (/title for a new one now), a tab progress bar, ❓ and a notificat (High risk)
- rate-limits: 5-hour and weekly rate-limit gauges above the prompt, with a warning at 90% (Low risk)
- say: Claude Code speaks through murmur (Kokoro on the Apple Neural Engine): turn summaries, needs-you alerts, background task (High risk)
- session-id: Shows the session id in the prompt footer; click to copy (Low risk)
- tldr: A one-line TL;DR under Claude's long replies, written by Claude Haiku; the say mod speaks the same line (Review before installing)
- turn-receipt: A receipt row above the prompt after each turn: time, tools, files edited, cost (Low risk)