ClaudeCodeMod

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.

In your shell
claude plugin marketplace add andrew54068/claude-plugins
claude plugin install cc-preview@andrew54068 --scope user
Open the repo

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

The cc-preview section on the author's GitHub page
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • prompt.submitWhen you send a prompt
  • command.runWhen you run its slash command/preview
  • session.appendWhen an entry is written to the transcript
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionAssistantMessageUserMessageToolUseToolGroupAbovePromptPane
  • ui.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
Repo
andrew54068/claude-plugins
Folder
cc-preview
Version
0.4.0
License
MIT
Repo stars
10
Last change
2026-10-14
Language
TypeScript
Files
31

Other mods in Review

paf-tasksfreibergergarciaDraws phone-a-friend reviews, where Claude asks another model for a second opinion, in the conversation and a panel: the question, progress, and findings.prompt-polishVedantAndhaleRewrites the draft in the prompt box when you press Improve, with one model call, and does not send the rewrite.sermo-translatejhao0413By default rewrites each prompt into English before sending it, and draws the reply's translation under the English text.fanyiJrCx7scCBy default translates a prompt that is not already English into English before Claude reads it, and draws a translation under each reply.serpiffserpiffFor serpiff, a local code-review app, draws how far this worktree's review has come and opens that review in the app.coa-deskdavebreamFor Claude of Alexandria, biblical study skills, draws a grounding line under each answer. Passage text comes from coa.davebream.com.receipthoobnnDraws a one-line receipt of the files, lines, and commands from the turn that just ended.figuresnatsukiumDraws diagrams and LaTeX math from Claude's replies, and images from tool results, as pictures in the transcript, in kitty or Ghostty.screen-guarddanyuchnDraws black bars over names, organisations, secrets, and contact details in the transcript while you share your screen.md-renderdeepskyblue86Redraws each finished assistant message as colored markdown: headings, bold, italic, code, lists, and quotes.readable-layoutGarvitNangruDraws your messages and Claude's answers in labeled boxes, short notes as quiet lines, and a rule after every turn.asd-ste100JAICHANGPARKAfter each answer, draws that answer as a Simplified Technical English page in a side pane. The same install includes the STE skill.
All 145 in Review