Guards

17 mods

jr-context

jrlprost/claude-code-mods

The context window in one quiet row above the prompt: a mini bar coloured by category, the fill and the window, turning into an alert when compaction is near. /jr-context hides or shows it, /jr-context details opens the full bar with its legend.

★ 4PanesBandsGuards

jr-deploy-guard

jrlprost/claude-code-mods

Production deploys and pushes to main always come to you for confirmation, even when your rules allow them. Optional: no deploys on Friday.

★ 4GuardsPromptAutomation

jr-deslop

jrlprost/claude-code-mods

Flags AI-writing tells (em dashes, "delve", "not X, but Y", stock openers...) in the prose files Claude writes. A toast after each file, /jr-deslop for the list. Never rewrites anything.

★ 4PanesBandsGuards

jr-done-check

jrlprost/claude-code-mods

Flags replies that claim something was tested or verified when nothing was run in the turn to check it: a warning under the message and a toast.

★ 4ReskinsGuards

jr-explain

jrlprost/claude-code-mods

Every shell command Claude asks permission for comes with a plain-English explanation and a risk level: low, medium or high.

★ 4ToastsGuards

jr-heatmap

jrlprost/claude-code-mods

/jr-heatmap: your last 26 weeks with Claude Code as a GitHub-style heatmap, with current and longest streak and your peak hours.

★ 4PanesGuardsCommands

jr-image-guard

jrlprost/claude-code-mods

Keeps oversized images out of the conversation: an image over 7800 px is read through a resized copy, and browser viewports over the limit are refused.

★ 4ToastsGuards

jr-no-ai-trailer

jrlprost/claude-code-mods

Stops commits and pull requests that carry an AI co-author line or a 'Generated with' footer, so your history stays yours.

★ 4Guards

jr-no-promise

jrlprost/claude-code-mods

When a reply ends by announcing work ("I'll…", "Let me…", "je vais…") and no tool ran in the turn, Claude is sent back once to actually do it.

★ 4ToastsGuards

jr-nudges

jrlprost/claude-code-mods

At the end of a turn, one toast when the code Claude wrote added debug statements (console.log, print, debugger) or TODO/FIXME/HACK lines.

★ 4ToastsGuards

jr-outputs

jrlprost/claude-code-mods

/jr-outputs: every file this session created or changed, newest first, with + and - line counts from git.

★ 4PanesGuardsCommands

jr-pkg-guard

jrlprost/claude-code-mods

Checks every package install against its registry first: names that do not exist (hallucinated or typosquatted) are refused, very new packages are held back or flagged, install scripts are flagged.

★ 4ToastsGuards

jr-read-cap

jrlprost/claude-code-mods

Stops Claude from reading a long file whole: a Read of a file over 1,000 lines without a range is refused with a hint to grep first and read only the lines it needs. Saves context and tokens.

★ 4Guards

jr-redact

jrlprost/claude-code-mods

Replaces API keys, tokens, private keys and database passwords in tool results with placeholders before Claude reads them. Emails and IPs too, if you ask.

★ 4ToastsGuards

jr-scope

jrlprost/claude-code-mods

Warns when a turn writes sensitive files nobody asked for (lockfiles, manifests, CI, .env, migrations, infra) or too many files at once.

★ 4BandsGuardsCommands

jr-week

jrlprost/claude-code-mods

/jr-week: your week with Claude Code, per day and per project: time Claude worked, prompts and cost, with gradient bars and a Markdown export.

★ 4PanesGuardsCommands

jr-wrapped

jrlprost/claude-code-mods

/jr-wrapped: your month with Claude Code, Wrapped-style: prompts, hours, streak, busiest hour, top tools and projects, a persona, and a share card saved as SVG and PNG.