From Genshin Mods
Seven Claude Code mods, each switched by its own command: waypoints (the next steps, one press each), resin (cache, context, limits and cost, with warm, compact and a one-click handoff), veil (recording mode), commission (a goal's task list and clock), sins (each prompt's seven sins scored with TypeSafe, drawn as bars in a pane), ward (a question before editing a file another session just changed, and a refusal of a git command over the whole index while another session shares the checkout), and pulse (the machine watcher). Waypoints, resin, veil, commission and sins draw in one band above the prompt. The delegation guard and the disk-scan guard run in every session without a command: the first nudges a run of lookups toward a haiku agent, and the second refuses a Bash scan from a root or home folder.
10 events · 26 calls
Ships in Genshin Mods. 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.runprocess.spawnfs.writefs.existsfs.readenv.getcommand.runmodel.forkprompt.submitprompt.submitprompt.composeEach event it registers a hook on, with the matcher when it sets one
ui.render{component=AbovePrompt}tool.call{tool=?}tool.call{tool=?|?|?}tool.call{tool=Workflow}tool.call{tool=Bash}command.run{command=?}session.startsession.endprompt.submitprompt.composeturn.startturn.stepturn.completeui.render{component=Pane, requestId=?}ui.render{component=AssistantMessage}ui.render{component=UserMessage}ui.render{component=ToolResult}tool.call{tool=Edit}tool.call{tool=Write}tool.call{tool=NotebookEdit}Every mods API method its source calls, by namespace
afternowregisterrunlistgetexistsreadwriteforkrunspawnsubmitcompactcwdidsurfacesusagegetsetgetsetaskopenresolvetoastHOMETYPESAFE_API_KEYUSERPROFILEWhere Claude Code finds the mod
hooks/hooks.jsonsrc/register.ts (written ../src/register.ts)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 esposter/esposter --plugin genshin-mods