From guard-pack
Mod pack (function hooks, no daemon needed): keeps file tools inside this project's roots, redacts secret-shaped values in tool results before Claude sees them (the raw output may still be kept in the local transcript; see README Limits), routes production-deploy shell commands to the native ask dialog, and can hide agents of packs this project has not enabled. Reads policy from .claude/project.json at runtime; additive to core's shell hooks.
10 events · 8 calls
Ships in guard-pack. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.checktool.callfs.readenv.getsettings.readtool.describeEach event it registers a hook on, with the matcher when it sets one
session.starttool.callsession.appendclassic.SessionStartclassic.UserPromptSubmitclassic.PostToolUseclassic.PostToolUseFailuretool.checkagent.offertool.describeEvery mods API method its source calls, by namespace
getreadcwdrootreadlognoticestatusAGENT_PROJECTAGENT_WORKSPACE_ROOTHOMETMPDIRWhere 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 atretyak1985/swarmery --plugin guard-pack