All shelves / Mods / Review
cc-preview
By andrew54068
cc-preview is a Claude Code review mod by andrew54068.
Draws hover cards and thumbnails for images in the conversation, and a side pane that previews markdown.
Draws
Install
The marketplace name is andrew54068.
claude plugin marketplace add andrew54068/claude-plugins claude plugin install cc-preview@andrew54068 --scope user
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.4.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-14
What it can reach
- Draws in the session
- Sees tool calls
- Calls another program on this machine
Needs Claude Code 2.1.289 or later. A checkout for one session is claude --plugin-dir with the cc-preview folder. Hover cards in the transcript, a row of thumbnails above the prompt while the draft holds image tags, and a side pane. A reply, a prompt, or a tool row that names an image or a markdown file that exists gets a button. A tool that returns a picture, such as an MCP screenshot, gets one too. Hover and click need a mouse, in the fullscreen layout. The pane docks beside the transcript from 110 columns. Narrower, it opens above the prompt. /preview lists every artifact, images first. Markdown is drawn as a preview: headings, tables, tasks, alerts, code, and math. A picture's web address is never fetched. It is named instead. No network, and no model calls. Pictures use kitty graphics where Claude Code knows the terminal shows them, and block characters everywhere else. Herdr reports a terminal Claude Code cannot tell, so pictures fall back to blocks. The README says to set CLAUDE_CODE_FORCE_TERMINAL_IMAGES for graphics in new panes. Converters, 10 seconds each, are sips, ffmpeg, magick, and convert. Only sips has been tried. It also runs id, sh, ps, stat, mkdir, chmod, find, head, base64, and mv. Copies go under the Claude Code temp dir, in cc-preview, named by session id. Nothing is deleted. The README does not say how to remove those copies. It reads ~/.claude/settings.json, or the file under CLAUDE_CONFIG_DIR, once, for the language. It does not say it writes that file. The pictures option is auto, graphics, or blocks. The language option is auto, English, or Traditional Chinese. auto follows Claude Code's language, then LC_ALL or LANG.
The marketplace name is andrew54068. The same marketplace lists other plugins. This page installs cc-preview. Keys in the pane copy a path, switch graphics and blocks, and turn pages. That is not a press that runs a shell command. It reads files the conversation names. It does not read this turn's edit diff. md-preview draws the before and after when Claude edits Markdown, the way GitHub does, and needs Chrome. This one draws hover cards, thumbnails, and a pane. It credits cc-mod-image-view and claude-image-view.
Demo

What it hooks into
session.startWhen a session startsprompt.submitWhen you send a promptcommand.runWhen you run its slash command/previewsession.appendWhen an entry is written to the transcriptturn.completeWhen a turn endsui.renderDraws into the sessionAssistantMessageUserMessageToolUseToolGroupAbovePromptPaneui.closeWhen its pane closes
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/previewBrowse the images and markdown files of this conversation in a side pane
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- andrew54068
- Category
- Review
- Marketplace
- andrew54068
- Folder
- cc-preview
- Version
- 0.4.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-14
- Language
- TypeScript
- Files
- 31