From inline-images
See the images that commands print with the iTerm2 inline images protocol (imgcat and friends), the images Claude sends you, and the Mermaid diagrams Claude draws (Wardley maps too), in the Claude Code transcript. Real pixels in iTerm2, kitty and Ghostty; coloured blocks everywhere else.
5 events · 9 calls
Ships in inline-images. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runprocess.spawnenv.getprompt.composeEach event it registers a hook on, with the matcher when it sets one
prompt.composeui.render{component=AssistantMessage}session.startsession.append{door=tool-result}ui.messageui.render{component=ToolResult}ui.render{component=ToolUse}ui.render{component=ToolGroup}Every mods API method its source calls, by namespace
afternowgetrunspawninvalidatelogresolvetoastITERM_SESSION_IDKITTY_WINDOW_IDTERMTERM_PROGRAMWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub chrisns/claude-image-cli-mod --plugin inline-images