Skip to content
ccmods.app

lightbox

v0.1.0

Shows images you paste into the prompt as large previews above it, with caption, size and a token estimate for each.

by @arihantbansal4Updated Broad accessGitHub

Installation

  1. Install from your shell (answer y to add the marketplace)

    $ claude plugin install lightbox --marketplace arihantbansal/claude-lightbox

Already in a session? Type this at the Claude Code prompt:

$ /plugin install lightbox --marketplace arihantbansal/claude-lightbox

Pick a scope and the mod is active right away. Needs Claude Code 2.1.287 or later, in a terminal. Full install guide

lightbox running in Claude Code
Image from the project README

What does lightbox do?

  • Pasting an image opens a large preview above the prompt; typing collapses it to thumbnails
  • Moving the cursor onto an [Image #n] tag reopens that image
  • Header shows dimensions, file size, the downscaled 'sent as' size and an estimated token count for the session's model
  • Writes a short caption per image with claude -p in the background (sonnet, haiku or off in /config)

What do you need?

  • Claude Code 2.1.287 or later (terminal)
  • Terminal with the kitty graphics protocol, such as Ghostty or kitty (not inside tmux)
  • macOS or Linux

What can this mod access?

Read from the mod's code with claude plugin validate on Claude Code 2.1.296, synced Oct 12, 2026. This is a capability list, not a security audit. Mods run with your permissions, so install only from authors you trust.

Broad access
  • Runs programs on your machine
  • Reads files
  • Reads environment variables or settings
  • Reads your conversation
Hooks and engine calls (3 + 13)

hooks

  • prompt.edit
  • session.start
  • ui.render{component=AbovePrompt}

calls

  • $.clock.every
  • $.env.get
  • $.fs.exists
  • $.fs.list
  • $.fs.stat
  • $.process.run
  • $.prompt.read
  • $.session.id
  • $.session.model
  • $.state.get
  • $.state.set
  • $.ui.log
  • $.ui.resolve

How do you uninstall lightbox?

$ claude plugin uninstall lightbox

To switch it off without removing it, use claude plugin disable with the same name.

Do you maintain lightbox?

Add this badge to your README so users can jump to this page for the install command and access report.

Listed on ccmods.app
[![Listed on ccmods.app](https://ccmods.app/badge.svg)](https://ccmods.app/mods/lightbox)

cache-refresher

olddonkey/cache-refresher

3

Shows when the prompt cache expires and what a rebuild would cost, with an opt-in auto-refresh while you are away.

UICommandsWorkflowModerate access
$ claude plugin install cache-refresher --marketplace olddonkey/cache-refresher

sidebar

FayequeP/sidebar

3

Docks a live stats sidebar beside the session: context use, tokens, cache hit rate and expiry, output speed, tasks and git state.

UIToolsCommandsBroad access
$ claude plugin install sidebar --marketplace FayequeP/sidebar

context-view

kongyo2/context-view

1

Shows context window usage as a meter above the prompt, with tokens used and tokens left before auto-compact.

UIPromptToolsModerate access
$ claude plugin install context-view --marketplace kongyo2/context-view