tamirs-superpowers-guard
by Tamir Cohen · ★ 2 · updated today
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.
Install
/plugin marketplace add Tamircohen28/tamirs-superpowers/plugin install tamirs-superpowers-guard@tamirs-superpowersThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.starttool.callcommand.run- API calls
$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.session.repo$.session.root$.session.surfaces$.state.get$.state.set$.ui.ask$.ui.log- Can see
Bash calls/"^(Edit|Write|MultiEdit|NotebookEdit)$"/ calls- Reach
- level 1 of 3 other: $.state.getother: $.state.setreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Tamircohen28/tamirs-superpowers
- Path in repo
plugins/guard- Source commit
8351637the exact code the scan read- Author
- Tamir Cohen @Tamircohen28
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.