From cc-image-view
See the images you paste into Claude Code: thumbnails above the prompt instead of bare [Image #1] tags
3 events · 17 calls
Ships in cc-image-view. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runfs.existsfs.listfs.readfs.statenv.getprompt.submitEach event it registers a hook on, with the matcher when it sets one
prompt.submitsession.startui.render{component=AbovePrompt}ui.render{component=UserMessage}ui.render{component=Pane, requestId=cc-image-view}Every mods API method its source calls, by namespace
aftereverygetexistslistreadstatrunreadcwdidrootgetsetinvalidateopenresolveCLAUDE_CODE_TMPDIRCLAUDE_CONFIG_DIRHOMELANGLC_ALLWhere 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 gggodlin/cc-mod-image-view --plugin cc-image-view