guard 0.1.0
A seatbelt for Claude's shell commands: stops force-pushes and pushes to protected branches, rm -rf outside the project, and strips Claude co-author lines from commits and PRs.
Install
/plugin marketplace add kg-ng/claude-mods /plugin install guard@claude-mods
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Toasts
- Slash commands
Also in kg-ng/claude-mods
- diff-cards 0.1.0 Folds each edit's diff in the transcript to one line, +12 −18 · 2 hunks, with a button to unfold it. Small diffs stay as they are. 0
- turn-meter 0.1.0 Puts each turn's tokens and cost on its closing line: Baked for 42s · 180k in · 3.1k out · $0.41, with expensive turns in amber. 0
- chimes 0.1.0 Soft sounds for when Claude finishes, needs you, or a mod reports CI passed or failed. Quiet while you type. macOS. 0
- focus 0.1.0 A focus timer in the status line. /focus-timer 25 holds other mods' notifications and sounds until the break, then gives you what you missed in one summary. 0
- operator-board 0.13.2 Session board (recent asks, needs reply, pending), live PR status and searchable recall of past questions and answers. 0
- persona 0.7.1 Personas for the Claude Code terminal: replies, tool rows, spinner words and terminal colours in an editor theme or one you make. /persona to pick. 0
More guardrails mods
- blast-radius 0.1.0 See what a risky command would change before it runs. 286.2k
- agents-md 0.1.0 AGENTS.md as project instructions, by one option. Under claude-md-or-agents-md a project with no instruction files of its own gets its AGENTS.md files instead: a prompt.context hook asks $.fs.ancestors for every AGENTS.md and .claude/AGENTS.md from the filesystem root down to the working director... 156.8k
- claude-mem 15.12.1 mod + skill Persistent memory for AI coding agents: the next session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and more. 114.9k
- ruflo-rvf 0.3.7 mod + skill RVF format for portable agent memory, session persistence, and cross-platform transfer. As a mod (ADR-445): a write guard that keeps secrets out of memory, sessions and transfers, /rvf-mod, and a status file the console shows 82.3k
- openviking-memory 0.7.27 mod + skill Long-term semantic memory for Claude Code, powered by OpenViking. Auto-recall relevant memories at session start and capture important information during conversations. 42.7k