From scope-guard
Counts the distinct files a turn edits and stops at a threshold to make the goal get restated, so a small ask cannot quietly become a refactor.
6 events · 13 calls
Ships in scope-guard. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.checkenv.getmodel.completeprompt.submitprompt.contextEach event it registers a hook on, with the matcher when it sets one
session.startprompt.submitcommand.run{command=scope}prompt.contextturn.starttool.check{tool=?}tool.check{tool=Bash}Every mods API method its source calls, by namespace
afterregistergetcompletecwdmessagesgetsetabortaskinvalidatelogstatusCLAUDE_MODS_DISABLEWhere 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 yash-gadodia/claude-mods --plugin scope-guard