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.

flaky-detector

vincentlauriat/ModsTools

Spots test commands that failed then passed with no code edit in between, toasts once per command and lists them in a pane

★ 1PanesGuardsCommands

haiku-commit

vincentlauriat/ModsTools

After each successful git commit, toasts a 5-7-5 haiku about it (written by a small model, or from templates when the model is unavailable); /haiku-commit re-shows the last one

★ 1ToastsGuardsCommands

lint-watch

vincentlauriat/ModsTools

Lints the files Claude just edited (SwiftLint, ESLint, Ruff, ShellCheck when available) in the background, with a status line count and a pane of issues

★ 1PanesStatus lineGuards

main-guard

vincentlauriat/ModsTools

Refuses git pushes to main/master, force pushes, tag creation and GitHub releases unless the person allows them

★ 1Status lineGuardsCommands

mood-band

vincentlauriat/ModsTools

A one-line mascot band above the prompt whose mood reflects the last turn (off by default: /mood on|off)

★ 1BandsGuardsCommands

network-log

vincentlauriat/ModsTools

A pane listing the network activity of the session: web fetches, searches, MCP calls and network Bash commands

★ 1PanesGuardsCommands

no-coauthor

vincentlauriat/ModsTools

Strips Co-Authored-By: Claude/Anthropic trailers from git commit messages before the commit runs

★ 1ToastsGuards

notary-watch

vincentlauriat/ModsTools

Follows Apple notarization submissions made with xcrun notarytool submit, directly or from a release script: status line while in progress, toast when accepted or invalid

★ 1Status lineGuardsCommands

path-fence

vincentlauriat/ModsTools

Asks the user before Edit, Write, NotebookEdit or simple Bash redirections/mv/cp/rm touch a path outside the session folder

★ 1Status lineGuardsCommands

pr-status

vincentlauriat/ModsTools

A status line for the current branch's pull request: checks, review decision and merge state, refreshed after pushes and PR commands

★ 1Status lineGuardsCommands

probe-check

vincentlauriat/ModsTools

Toasts when a Bash verification probe is misleading: $? read after a pipeline, grep used as proof of absence, git grep ignoring untracked files

★ 1ToastsGuardsCommands

release-checklist

vincentlauriat/ModsTools

A pane running pre-release checks for a macOS project and a post-release verification reminder

★ 1PanesGuardsCommands

rm-guard

vincentlauriat/ModsTools

Asks the user before destructive Bash commands run: rm -rf, git reset --hard, git clean -f, discarding all changes, SQL DROP/TRUNCATE, find -delete, mkfs, dd onto a device

★ 1Status lineGuardsCommands

secret-shield

vincentlauriat/ModsTools

Refuses Write, Edit and Bash calls that contain secret-looking values (API keys, tokens, private keys)

★ 1Status lineGuardsCommands

session-journal

vincentlauriat/ModsTools

A cross-session journal of turns per project, shown with /journal

★ 1GuardsCommandsPrompt

session-recap

vincentlauriat/ModsTools

/recap: a pane (or copyable Markdown) summarising the session: duration, cost, files changed, commits, PRs and test/build runs

★ 1PanesGuardsCommands

sparkle-guard

vincentlauriat/ModsTools

Protects the Sparkle EdDSA signing key: denies deleting it from the keychain, asks before generate_keys may create or import a key and before an edit changes an existing SUPublicEDKey

★ 1GuardsCommandsAutomation

todo-pane

vincentlauriat/ModsTools

A pane listing the checkboxes of the folder's TODOS.md, toggled with a press

★ 1PanesGuardsCommands

tool-heatmap

vincentlauriat/ModsTools

A pane counting tool calls and failures per tool, main conversation and subagents together

★ 1PanesGuardsCommands

turn-timer

vincentlauriat/ModsTools

A band above the prompt with the last turn's duration and tool calls; toasts on slow turns

★ 1BandsGuardsPrompt

verify-before-claim

vincentlauriat/ModsTools

Warns when a turn changed code and claimed success without running a build, test or lint

★ 1BandsGuardsCommands

xcode-build-watch

vincentlauriat/ModsTools

Builds the Xcode project or Swift package in the background after a turn edits Swift files, and shows the result in the status line

★ 1Status lineGuardsCommands

xcodegen-sync

vincentlauriat/ModsTools

A band reminding to run xcodegen generate after project.yml changes or Swift files are added, removed or moved, with a button that runs it

★ 1BandsGuardsCommands

xcstrings-check

vincentlauriat/ModsTools

Checks Xcode String Catalogs (.xcstrings) after Claude edits them or Swift files beside them: missing translations, new or needs-review states and stale entries per language

★ 1PanesStatus lineGuards