From diagrams
Pins the diagrams Claude draws to a chip above the prompt: expand it in place, open it full screen or in the browser, and see it as a rendered picture
8 events · 14 calls
Ships in diagrams. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.writefs.readenv.getprompt.composeEach event it registers a hook on, with the matcher when it sets one
session.startprompt.composeturn.startturn.completetool.call{tool=mcp__diagrams__show_diagram}ui.close{id=diagram}command.run{command=diagrams}ui.render{component=AbovePrompt}ui.render{component=Pane, requestId=diagram}Every mods API method its source calls, by namespace
aftereveryregistergetreadwriterungetsetclosecopyopenresolvetoastHERDR_BIN_PATHHERDR_PANE_IDTMPDIRTMUX_PANEWhere 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.
claude-code-diagrams@awesome-claude-code-mods is listed by testy-cool/awesome-claude-code-mods — review the source before installing
npx claudepluginhub testy-cool/awesome-claude-code-mods --plugin claude-code-diagrams