All shelves / Mods / Review
lightbox
By arihantbansal
lightbox is a Claude Code review mod by arihantbansal.
Shows each image you paste as a large preview above the prompt, with a caption, the size Claude reads it at, and a token estimate, then thumbnails as you type.
Draws
Install
The marketplace name is claude-lightbox.
/plugin marketplace add arihantbansal/claude-lightbox /plugin install lightbox@claude-lightbox
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
- 4
- Last change
- 2026-10-03
What it can reach
- Draws in the session
- Reaches the network or an outside service
- Calls another program on this machine
Claude Code 2.1.288 or later, then /reload-plugins. It reads pasted images from a cache folder that isn't a public API, so a Claude Code update can break it. A terminal with the kitty graphics protocol, such as Ghostty or kitty; previews don't render inside tmux. macOS or Linux. Captions run claude -p once per image, one small model call on your Claude Code account; set the caption model to off in /config to stop them.
The marketplace name is claude-lightbox, and it holds only this plugin. Looking at pasted images before they go is why this page files it under review. image-peek-karanb192 shows a pasted image while the cursor sits on its [Image #N] marker, on macOS in Ghostty. image-view draws thumbnails in the band instead of bare [Image #1] tags. This one opens a large preview the moment you paste, captions each image with claude -p so several are easy to tell apart, and shows the size Claude will scale it to and a token estimate for the session's model. In the source, the preview is an AbovePrompt render.
Demo
![The author's screenshot of lightbox in a terminal: above the prompt, a box reads Image #1 · Hyperliquid HYPE-USDC 5m chart, falling price, 1 of 3 · 1870×1190 · 186 KB · ~2.9k tokens, over a large preview of the chart; the prompt holds [Image #1] [Image #2] [Image #3].](/thumbs/lightbox-expanded-1600.f139986bb7.webp)
What it hooks into
session.startWhen a session startsprompt.editWhen you edit the promptui.renderDraws into the sessionAbovePrompt
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, 4 files. They load when you open them.
Facts
- Author
- arihantbansal
- Category
- Review
- Marketplace
- claude-lightbox
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-10-03
- Language
- TypeScript
- Files
- 30