ClaudeCodeMod

All shelves / Mods / Review

image-peek

By karanb192

image-peek is a Claude Code review mod by karanb192.

Shows a pasted image while the text cursor sits on its [Image #N] marker, in a large pane on a wide window or above the prompt, on macOS in Ghostty.

Draws

Install

The marketplace name is claude-code-mods.

In your shell
claude plugin marketplace add karanb192/claude-code-mods
claude plugin install image-peek@claude-code-mods
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.1.0
License
MIT
Repo stars
43
Last change
2026-10-03

What it can reach

  • Draws in the session
  • Calls another program on this machine

Needs macOS, Ghostty, and Claude Code 2.1.287 or later. Start a new Claude session in Ghostty after installing. If you already added the marketplace, run claude plugin marketplace update claude-code-mods first. iTerm2 3.7.3 or later and Herdr 0.9.1 or later work when Claude starts with CLAUDE_CODE_FORCE_TERMINAL_IMAGES=1, and the author says their pixels still need a visual check. The preview follows the text cursor, not the pointer, and keyboard focus stays in the prompt. Claude Code gives a mod the marker but not the image, so it reads the Mac clipboard when a new marker appears, checking the draft every 120 ms. Paste one image at a time and wait for its preview, because a clipboard change before the capture shows the newer image. PNG and TIFF clipboard images work. File paths and drag-and-drop do not. It keeps the latest 24 captures per session as temporary files, and removes them at clear, resume, compaction, and exit. /image-peek off and /image-peek on stop and resume capture. The author says it sends nothing, and runs only uname and osascript with its bundled clipboard helper. A checkout starts with claude --plugin-dir ./plugins/image-peek.

The install name is image-peek. This page adds the author's name. The marketplace is karanb192/claude-code-mods, and its name, claude-code-mods, is the same string hamzafer, arasovic, and ray-amjad use. The marketplace also holds mod-builder, fable-pin, and cache-tax. This one installs on its own. The image preview is why this page files it under review. image-peek, by arasovic, draws thumbnails of the images you paste above the prompt, and larger pictures under the sent message. image-preview opens a pasted image by the pointer on hover, in a small window or in the terminal. This one shows the one image whose marker the text cursor is on, as large as the window allows.

Demo

The opening of the Image Peek README: move the text cursor onto a pasted [Image #1] marker to see its image, in a large pane on wide windows or above the prompt on narrow ones, on macOS and Ghostty.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • prompt.editWhen you edit the prompt
  • prompt.fillA Claude Code event
  • command.runWhen you run its slash command
  • session.endWhen a session ends
  • session.compactWhen the context is compacted
  • ui.renderDraws into the sessionAbovePromptPane
  • 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.

Files

The author's README and source, 5 files. They load when you open them.

Facts

Author
karanb192
Category
Review
Marketplace
claude-code-mods
Repo
karanb192/claude-code-mods
Folder
plugins/image-peek
Version
0.1.0
License
MIT
Repo stars
43
Last change
2026-10-03
Language
JavaScript
Files
10

Other mods in Review

quiz-afterDannyMac180When Claude finishes a task that changed something, draws a quiz of two or three questions about the change above the prompt, each with a button for the answer.tool-cardsbradtraversyReplaces each tool-use row with a card: the tool's icon, an action title, its state, and the time, with the output folded behind Details until a call fails.decoratedthomas-whitaker1Teaches Claude a small tag language and draws it in the reply: colored badges, callouts, bar and braille charts, heat maps, flow and sequence diagrams, and SVG.cc-intelligent-uirazorback16Draws each answer from Claude as a typeset picture made with Typst: rendered Markdown, LaTeX math, charts, and diagrams, in kitty, Ghostty, or iTerm2.image-peekchicioDraws a tile above the prompt for each image you paste, real pixels in kitty and Ghostty and block characters in Warp, and opens one full size in Quick Look.windbg-paneglslangDraws a WinDbg-style pane from windbg-mcp tool calls as they happen: disassembly with the stop marked, registers, stack, memory, breakpoints, and commands.slint-previewtilladamOpens a live preview of a Slint UI file in a pane beside the conversation, reloads it when you save, and lists build errors under the last good UI.prompt-polishjheroorehjRewrites your prompt with the prompting guide for the session's model before it is sent, and shows the polish beside the original to apply, retry, or keep.latexzaahiralTypesets TeX math, TikZ diagrams, and LaTeX blocks in Claude's replies in the desktop app's Code tab, with MathJax or one of 10 LaTeX fonts.quick-peekmidudevTurns file paths in Claude's replies into links: hover one for a preview of the file, or its lines, by the pointer, and click to show it in Finder.review-pingarasovicShows a toast when Claude commits 30 or more lines with no review since the last commit, and adds a note to that commit asking the model to review it.vellumbengousHolds a commandHolds a planning mode: Claude writes the plan, you review it in a browser page, a band shows above the prompt, and other writes are refused while it plans.
All 145 in Review