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.

context-forecast

mako-code/gobworks

Forecasts how many turns remain until auto-compaction from smoothed per-turn context growth (tool output vs conversation), and at natural breaks offers Compact now with a focus Haiku drafts.

★ 2PanesBandsStatus line

delta-reads

mako-code/gobworks

When Claude re-reads a file that changed since it last read it, it gets only the changed hunks (current line numbers, a few context lines) instead of the whole file.

★ 2GuardsCommandsAutomation

output-trimmer

mako-code/gobworks

Huge Bash/PowerShell outputs without the context bill: Claude gets the head and tail, the full text goes to a file it can open.

★ 2GuardsCommandsAutomation

read-cache

mako-code/gobworks

Stops Claude from re-reading a file it already read in full and that has not changed since; counts the tokens saved.

★ 2GuardsCommandsAutomation

commit-coach

ShriD5/claude-mods

Rewrites lazy commit subjects into conventional commits from the staged diff, and strips AI attribution trailers

★ 2ToastsGuardsPrompt

main-guard

ShriD5/claude-mods

A red band when you are on main or in prod, and no force-push, reset --hard or unconfirmed push to a protected branch

★ 2BandsGuards

night-mode

ShriD5/claude-mods

Late at night Claude gets more careful and asks before deploys, force pushes and rm -rf

★ 2Status lineGuardsCommands

phone-approve

ShriD5/claude-mods

Approve or deny Claude Code's permission prompts from Telegram, with the terminal prompt as the fallback.

★ 2Status lineGuards

rubber-duck

ShriD5/claude-mods

A fast second opinion on every edit: a small model flags removed error handling, deleted tests, secrets and more

★ 2PanesGuardsCommands

secret-guard

ShriD5/claude-mods

Stops Claude from writing API keys, tokens, private keys and database passwords into files.

★ 2ToastsGuardsCommands

whoopgate

ShriD5/claude-mods

Live WHOOP heart rate in the status line; risky Bash commands are blocked while it is over your limit

★ 2Status lineGuardsCommands

session-hud

lurenxing628/claude-code-mod-statusline

把上下文、token、缓存命中、TPS、费用、增删行数、耗时写给原生 statusLine 显示

★ 2GuardsAutomation

task-list

reecelikesramen/claude-task-list

Opt-in persistent task checklist: the agent asks to use it, the user approves, checks items off and alone can clear or disable it.

★ 2PanesBandsReskins

leftovers

homieyangg/claude-code-mods

Keeps a ledger of what Claude left running or lying around on your machine and servers

★ 21 postsBandsReskinsGuards

plan-bar

homieyangg/claude-code-mods

Live progress bars above the prompt for multi-step work: one row per plan, with stages, percent, waiting and failed colors, and sounds

★ 21 postsBandsGuardsCommands

secret-mask

homieyangg/claude-code-mods

Mask token-like strings in tool output before they reach the conversation

★ 21 postsToastsGuardsCommands

kedi-modu

cmyanar-max/claude-code-kedi-modu

Cat mode: an ASCII cat above the prompt that reacts to what Claude is doing, plus status line and toasts.

★ 2BandsStatus lineGuards

plushie

xyc/plushie

A plush Clawd above the prompt that reacts to what Claude is doing: works, celebrates, wobbles, blushes, naps, and can be patted and dragged.

★ 2BandsGuardsCommands

pixel-office

itsArnavPrasad/pixel-office

Every Claude Code session as a pixel character in a shared office you can click and talk to

★ 2PanesBandsStatus line

session-mailbox

ParsingMAINFRAME/Dots-Claude-Code-Bridge

Wakes an idle Claude Code session when its local file mailbox receives an addressed instruction, and records the session's replies to files the sender can read. Independent and experimental.

★ 21 postsStatus lineGuardsCommands

context-meter

cjavdev/mods

A tiny meter in the bar under the prompt showing how full the context window is: five cells, the percent and the token counts.

★ 21 postsReskinsGuards

autoscience

minuteman3/claude-autoresearch

Autonomous optimize-measure-keep/discard loop: skill, run/log/stats tools, and a live experiment dashboard

★ 21 postsPanesStatus lineGuards

agent-radar

StartupBros-com/hov-stack

One live line above the prompt per running subagent: time, tool count and what it's doing. /radar shows every agent and its messages.

★ 1PanesBandsGuards

loop-breaker

StartupBros-com/hov-stack

Stops Claude repeating the same failing tool call. Counts identical calls that error or are refused, hints after the second, refuses the next after the threshold with a reason Claude can act on, and shows a worsening face above the prompt with a one-key Stop and rethink.

★ 1BandsGuards