AbysmalBiscuit

Claude Mod Images — Development skill for Claude Code

Development community

A Claude Mod that draws pictures in the Claude Code terminal: Read results, MCP tool images and pasted images, over the kitty graphics protocol.

How to install Claude Mod Images

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AbysmalBiscuit/claude-mod-images and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Mod Images does

A Claude Mod that draws pictures in the Claude Code terminal: Read results, MCP tool images and pasted images, over the kitty graphics protocol.

Alternatives in Development

  • Waggle — Attributed, resolvable artifact references for agent handoffs — a ~30-byte token instead of pasted context 637 ★
  • MCP Server OpenAI — Query OpenAI models directly from Claude using MCP protocol 84 ★
  • Long Context Retrieval — Read large files and broad search results progressively instead of blowing up the live context window 58 ★

README

images

A Claude Mod that draws pictures right in the terminal transcript:

  • Reads. When Claude runs Read on a PNG, JPEG, or GIF, the picture shows under the row.
  • MCP tools. Image blocks in an MCP tool's result (browser screenshots, charts) show under its row.
  • Pastes. Images you paste or drag into a prompt show under that prompt.

In a collapsed group (`Read 3 files`, `Called shots`), the pictures sit side by side under the line.

![Claude reads a latency chart and a fractal, which draw under the Read line; a click hides the fractal and its caption shows it again; a pasted sunset draws under its prompt; /images off and on.](docs/demo.gif)

It draws through Claude Code's own terminal `Image` element, which speaks the kitty graphics protocol. That works in kitty and Ghostty, and in alacritree with one more variable (see [alacritree](#alacritree)). Other terminals get the `alt` text (`photo.png · 800×800`), unless that variable forces images on.

Click a picture's caption (`▾ photo.png · 800×800`) to hide it. The caption stays (`▸ photo.png · 800×800`); click it again to show the picture. A drag over a picture selects transcript text as it does anywhere else. A picture hidden under a group's line stays hidden on its own row in the ctrl+o transcript. The mouse wheel still scrolls over a picture.

Requirements

  • Claude Code with function hooks. Built and tested on 2.1.282. Switch them on in `~/.claude/settings.json`:

    { "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } }
  • A terminal that speaks the kitty graphics protocol (tested in kitty 0.48.2)

  • For clicks: Claude Code's fullscreen layout, which is where the terminal reports them. `/images` works in either layout.

Install

In Claude Code:

/plugin marketplace add AbysmalBiscuit/claude-mod-images
/plugin install images@claude-mod-images

Or load a clone for one session only:

claude --plugin-dir /path/to/claude-mod-images

alacritree

alac