From crit-tui
Early: crit inside Claude Code. Comment on the conversation, your diff or a file in a pane, send the review to Claude, and read Claude's replies in threads.
8 events · 16 calls
Ships in crit-tui. 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.readenv.getprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=crit-tui}ui.close{id=crit}tool.call{tool=mcp__crit-tui__reply}tool.call{tool=mcp__crit-tui__comment}tool.call{tool=mcp__crit-tui__threads}tool.call{tool=Edit|Write|NotebookEdit}turn.completeui.message{requestId=crit}ui.scroll{requestId=crit}ui.render{component=Pane, requestId=crit}ui.render{component=AbovePrompt}ui.render{component=AssistantMessage}Every mods API method its source calls, by namespace
afterregistergetreadrunsubmitidmessagesgetsetregistercloseopenresolvestatustoastHOMEWhere 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 tomasz-tomczyk/crit --plugin crit-tui