Guards

5,126 mods

Guards sit in front of the tools Claude uses. They can allow, deny or rewrite a tool call before it runs, for example to block risky shell commands or keep secrets out of tool output, using the tool.call and tool.check hooks.

tool-oneline

ekinertac/claude-code-mods

Folds tool calls in the scrollback into one line per call, or one line per run of calls, with no result block

★ 01 postsReskinsGuards

collision-guard

joaosavi/cockpit

Warns when two Claude Code sessions on this machine edit the same file, and holds a git command once when it would stage, commit, stash or discard another session's uncommitted edits.

★ 0ToastsGuards

hud

joaosavi/cockpit

A heads-up display under or above the prompt: model, branch, context and plan limits, and memory headroom. /hud opens the full view

★ 0PanesBandsGuards

loop-breaker

joaosavi/cockpit

Notices when the agent goes in circles (repeated fix attempts on one file, the same error coming back, the same call repeated) and tells it to stop and change approach; refuses nothing.

★ 0GuardsAutomation

memory-guard

joaosavi/cockpit

Keeps typecheck, build, test and Playwright runs under the memory limit, the tightest cgroup limit on Linux or the machine's memory on Linux, macOS and Windows: runs them with one process, waits for memory or refuses, and reruns a command killed with exit 137.

★ 0PanesStatus lineGuards

pipefail

joaosavi/cockpit

Adds set -o pipefail to a command that pipes a test, typecheck or lint run into tail, head or grep, so a failing run cannot exit 0 and read as a pass.

★ 0GuardsAutomation

secret-guard

joaosavi/cockpit

Hides every secret value in tool output as before the agent reads it, MCP and subagent output included, and writes the real value back when the agent puts the placeholder into a .env or secrets file.

★ 0GuardsAutomation

skill-loader

joaosavi/cockpit

Loads the right skill at the right moment, so CLAUDE.md needs no load-this-skill rules: typescript-best-practices for .ts, writing-for-agents for SKILL.md, AGENTS.md and CLAUDE.md, domain-modeling for CONTEXT.md and ADRs, technical-writing for READMEs, commits and PRs, and a diagnosing-bugs reminder when you paste an error.

★ 0GuardsPromptAutomation

todo

joaosavi/cockpit

Keeps the native task list in front of the agent: the open tasks at session start and right after each compaction, a reminder that a new request becomes a task before any other work, completed tasks logged to an archive, and the app's task panel kept in line with the task files.

★ 0GuardsPromptAutomation

usage-limit

joaosavi/cockpit

Keeps the account usage limit from running out mid-task, with separate limits for the 5-hour and the 7-day windows: one subagent at a time (90% and 97%), a commit of the work in progress (97% and 98%), a pause that keeps the rest for you (98% and 99%), each one switchable, and an automatic resume when the window resets.

★ 0BandsStatus lineGuards

session-relaunch

lperezmo/session-relaunch

/relaunch restarts this Claude Code session in a new terminal tab with --resume , so MCP servers added since it started are loaded.

★ 0ToastsGuardsCommands

forge

gonzalonicolasr/claude-code-forge

SDD estilo zero-pi dentro de Claude Code, con un modelo del CPAM por fase

★ 0PanesGuardsCommands

tool-status

asemptote/claude-mods

Names the running tool call on the spinner, with what it is doing under it and its time, and the time since the last call while none runs. Each tool row gets a line naming the call, with +added/-removed lines, its input and output size in characters, its time and any failure, numbered from the prompt in the ctrl+o transcript; /tool-detail sets how much of every row shows (none, compact, input...

★ 0ReskinsGuardsCommands

status-band

nnemirovsky/cc-status-band

Opinionated framed status band for Claude Code with git, model, context, and the branch's PR review state

★ 0BandsReskinsGuards

monitor-rearm

nnemirovsky/cc-monitor-rearm

Keeps Claude Code's long Monitor watches running past the 30-minute cap, so their expiry no longer wakes Claude or spends a turn

★ 0GuardsPromptAutomation

turbo-mod

michaelblaess/turbo-mod

A side pane for Claude Code with collapsible widgets: files Claude wrote, terminal splits, the state of your git repos and a TODO list, in retro colors.

★ 0PanesGuardsCommands

narrator

betoescobar46/narrator-replay

Midudev's Narrator, plus a ▶︎ narrate button: after each turn Claude tells you out loud what it did, or only when you ask, for the last turn. The best free voice your system has: Siri's on macOS, Narrator's on Windows, speech-dispatcher's on Linux.

★ 0ReskinsGuardsCommands

deferred-answers

0langa/claude-code-mods

Keeps 'later', 'not yet' and 'after X' answers to Claude's questions open: the question and your answer are attached to every later message until the item is done or dropped, so you never have to remind Claude.

★ 0GuardsCommandsPrompt

no-ai-trailers

0langa/claude-code-mods

Keeps the Claude co-author trailer and the Generated-with footer out of your commits and pull requests: the model is told not to write them, and any that slip into a git commit or gh pr command are removed.

★ 0GuardsCommandsPrompt

studio-state

0langa/claude-code-mods

Gives Claude a studio_state tool for a studio-layout video repository: one compact answer on where a video project stands, instead of a dozen file reads. Silent in every other folder.

★ 0GuardsTools & agentsAutomation

tool-output-diet

0langa/claude-code-mods

Trims shell output before Claude reads it: colour codes, overwritten progress-bar frames and long runs of identical lines. Nothing else is touched.

★ 0GuardsCommandsAutomation

cache-buster

dblanken-yale/cache-buster

Band above the prompt showing prompt-cache age, hit rate, and a Compact button before the cache expires.

★ 0BandsGuards

savvy-progress

joaopasbento/claude-mods

Progress bar above the prompt for any work in several parts, /savvy-flow included, plus an agents panel (/agents-info): running, finished and planned subagents with model, task progress, context, tokens and time.

★ 0PanesBandsGuards

dashboard

salaesp/claude-dashboard-mod

macOS-style dashboard above the prompt: the context window as a segmented capsule, the session's goals with progress bars, the main loop and its subagents with a Clawd pose for each state, and what needs your attention; /dashboard opens the full panel

★ 0PanesBandsGuards