From mem-guard
Bash memory rules: Node commands run in claude-cmd.slice, and runs that would starve the machine are refused
2 events · 6 calls
Ships in mem-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.callprocess.runfs.readenv.getsettings.readEach event it registers a hook on, with the matcher when it sets one
session.starttool.call{tool=Bash}Every mods API method its source calls, by namespace
listgetreadruncwdreadHOMEWhere 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 schreibse/claude-code-mods --plugin mem-guard