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).

Updated 2026-10-15

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.

TypeClaude code mod
Authorwhilestevego
Repositorywhilestevego/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (80/100)
Rank#5,116 of 5,272 Claude Code mods; #2,093 in Interface
Last commit2026-10-15
Hooks3 events
Seesonly the events it hooks
Draws onToolUse, 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.fs.statreads files
$.process.runruns processes
$.state.get
$.state.set
$.ui.resolvedraws interface

How do I install previews?

  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/whilestevego/claude-mods
    claude plugin validate ./claude-mods/previews
  3. 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)