From seo-cockpit
Mods companion for claude-seo: a spend guard on paid SEO APIs, a live audit band with a receipt, an economy mode, a visual cockpit (Search Console, rankings, Core Web Vitals, audit, Maps, spend) and zero-token commands
10 events · 17 calls
Ships in seo-cockpit. 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.existsfs.listfs.readfs.statprompt.submitEach event it registers a hook on, with the matcher when it sets one
tool.call{tool=?}prompt.submitcommand.run{command=seo|claude-seo:seo}agent.spawntool.call{tool=Agent}tool.call{tool=Write|Edit}turn.completesession.compactui.render{component=AbovePrompt}ui.render{component=Pane}ui.closesession.startclassic.SessionStartcommand.run{command=seo-spend}command.run{command=seo-doctor}command.run{command=seo-cockpit}Every mods API method its source calls, by namespace
everyregisterexistslistreadstatwriteruncwdgetsetaskcloseinvalidateopenresolvestatusWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./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 agricidaniel/claude-seo --plugin seo-cockpit