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.

otto-hud

manuacl/claude-mods

Otto, a blue octopus, forecasts your context window on one line above the prompt, in the Claude Code desktop app, and in text in the terminal: weather scaled to auto-compact with what fills the context on hover, the tokens each recent prompt added, and your 5-hour and 7-day limits with a pace projection. Labels in English or French. Fork of Anthropic's Token Weather (Apache-2.0).

★ 2BandsGuardsCommands

swarm-autopsy

agryu-in/swarm-autopsy-claude-mod

A live forensic pane for multi-agent Claude Code sessions: what every subagent was asked, did and cost, how their work connects, where they collided, over a still, animated Spooky or Cozy scene with lofi music and liquid glass.

★ 2PanesGuardsCommands

file-tree

Aristere/termichy

A project file tree pane inside Claude Code, the same in every terminal.

★ 2PanesStatus lineGuards

agent-swarm

rahimi/claude-code-swarm

Agent-team swarm: message log, roster, /swarm pane, lead wake modes, and the swarm protocol skill

★ 2PanesBandsStatus line

agent-bots

gabriel9004/claude-code-mods

Panel lateral de agentes y tareas: qué está haciendo ahora, presupuesto (5 h, semana, contexto y caché), agentes desplegables con historial y acciones, el plan y los cambios en git

★ 2PanesGuardsCommands

activity-status

MatheusChiodi/cockpit

Live status line with the tool Claude is running right now

★ 2Status lineGuards

agent-cap

MatheusChiodi/cockpit

/agentcap caps how many subagents run at once and asks before each one past the cap

★ 2GuardsCommandsAutomation

alias-import-guard

MatheusChiodi/cockpit

Refuses deep ../../ imports when tsconfig paths has an alias for the folder, and names the alias to use

★ 2Guards

amend-guard

MatheusChiodi/cockpit

Asks before git commit --amend or git rebase rewrites commits that are already on a remote branch

★ 2GuardsAutomation

any-guard

MatheusChiodi/cockpit

Asks before an edit adds any to TypeScript: ": any", "as any", " " or any[]

★ 2Guards

archive-add-guard

MatheusChiodi/cockpit

Asks before git add stages an archive, installer or database file, or any file over 5 MB

★ 2Guards

big-output-toast

MatheusChiodi/cockpit

A toast when one tool result is larger than 20,000 characters, since that much output eats the context

★ 2ToastsGuards

big-read-guard

MatheusChiodi/cockpit

Refuses reading a file over 512 KB whole and asks for a slice

★ 2Guards

branch-drift

MatheusChiodi/cockpit

Toast once when the branch name says one thing and the files being edited say another

★ 2ToastsGuards

build-result-status

MatheusChiodi/cockpit

Keeps the last mvn or gradle run in the status line: pass or fail, time, tests run and failures

★ 2Status lineGuards

build-size-status

MatheusChiodi/cockpit

Status line with the size of the build output and how much it grew in this session

★ 2Status lineGuards

cat-guard

MatheusChiodi/cockpit

Refuses cat, type and Get-Content on a file over 100 KB and points to a slice or Grep

★ 2Guards

catch-swallow-guard

MatheusChiodi/cockpit

Refuses edits that add an empty catch block or an except that only passes

★ 2Guards

chmod-guard

MatheusChiodi/cockpit

Blocks world-writable permissions, recursive chown on root or home, and icacls grants to Everyone

★ 2Guards

ci-config-guard

MatheusChiodi/cockpit

Asks before an edit to pipeline and deploy configuration: GitHub workflows, GitLab CI, Jenkinsfile, vercel.json, eas.json

★ 2Guards

ci-status

MatheusChiodi/cockpit

Status line with the state of the last GitHub Actions workflow (via gh)

★ 2Status lineGuards

classname-build-note

MatheusChiodi/cockpit

Tells Claude when an edit builds a Tailwind className by concatenation, or assembles a class like bg-${color} that Tailwind never generates

★ 2ToastsGuards

client-env-guard

MatheusChiodi/cockpit

Refuses browser code in Vite and Next.js that reads an env variable the bundler never exposes

★ 2Guards

cmd-log

MatheusChiodi/cockpit

/cmdlog opens a pane with the shell commands, status and duration

★ 2PanesGuardsCommands