From Tamir's Superpowers Guard
In-process guard for tamirs-superpowers: holds a destructive shell command (force push, rm -rf, git reset --hard, ...) until you answer Proceed or Cancel, and refuses a file write in the main checkout while an orchestration objective is active. Companion to the core plugin; Claude Code and Claude Desktop only.
3 events · 14 calls
Ships in Tamir's Superpowers 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.callfs.existsfs.listfs.readfs.statenv.getEach event it registers a hook on, with the matcher when it sets one
session.starttool.call{tool=Bash}tool.call{tool=/"^(Edit|Write|MultiEdit|NotebookEdit)$"/}command.run{command=guard}Every mods API method its source calls, by namespace
nowregistergetexistslistreadstatreporootsurfacesgetsetasklogCLAUDE_CONFIG_DIRHOMESUPERPOWERS_AGENT_WORKTREE_DIRNAMESUPERPOWERS_AGENT_WORKTREE_ROOTSUPERPOWERS_OBJECTIVE_IDSUPERPOWERS_OBJECTIVE_STATE_DIRNAMEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)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 tamircohen28/tamirs-superpowers --plugin tamirs-superpowers-guard