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.

package-guard

baselane-sh/mods

Asks before a new dependency is installed (npm, pnpm, yarn, bun, pip, uv, poetry, cargo, go, gem) and names the packages.

★ 3GuardsAutomation

path-jail

baselane-sh/mods

Asks before Write, Edit or NotebookEdit changes a file outside the working directory, by real path.

★ 3GuardsAutomation

personal-bests

baselane-sh/mods

Tracks your records across sessions (longest session, most tool calls in a session, most files edited in a day, cheapest session over 30 minutes), toasts a new one, and lists them with /bests.

★ 3ToastsGuardsCommands

port-watch

baselane-sh/mods

A live side pane of the local TCP ports that listen, with the process name and pid, refreshed every 10 seconds while open. Reads lsof (macOS, most Linux). Open it with /ports.

★ 3PanesGuardsCommands

pr-description

baselane-sh/mods

Adds /pr-description: title, summary, diff totals and a test plan stub for the current branch against main or master, read with git. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

priority-bar

baselane-sh/mods

A band above the prompt with your open beads by priority (P0 2 · P1 14 · P2 60 · P3 50), red while a P0 is open, read with bd count every 2 minutes. Hidden without bd.

★ 3BandsGuards

process-pane

baselane-sh/mods

A live side pane of the processes the session's Bash calls started that still run, with pid, age and command. Read-only: one ps every 5 seconds. Open it with /procs.

★ 3PanesGuardsCommands

prod-db-guard

baselane-sh/mods

Asks before destructive SQL runs in a command: TRUNCATE, DELETE or UPDATE with no WHERE.

★ 3GuardsAutomation

protect-main

baselane-sh/mods

Asks before a commit, push or merge while you are on main or master. Reads the branch with git.

★ 3GuardsAutomation

publish-guard

baselane-sh/mods

Asks before a package is published: npm, pnpm, yarn or bun publish, cargo publish, twine upload, gem push, poetry or uv publish. Dry runs pass.

★ 3GuardsAutomation

quality-pack

baselane-sh/mods

Three quiet nudges in one mod: type check after TypeScript edits, lockfile after dependency edits, and a split suggestion past 500 changed lines.

★ 3ToastsGuards

readme-check

baselane-sh/mods

Adds /readme-check: missing README sections (install, usage, licence, contributing) and broken relative links, at the git repo root. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

ready

baselane-sh/mods

Adds /ready: the 20 top ready beads, one line each, and the total. Read with bd, the beads tracker. Read-only. Prints only, copies nothing.

★ 3ReskinsGuardsCommands

receipt

baselane-sh/mods

Adds /receipt: a shareable receipt of the session (tools, files, commands, blocks, context, cost), printed and copied.

★ 3ReskinsGuardsCommands

recent

baselane-sh/mods

Adds /recent: your last 15 commits across all local branches (author is git user.name), with branch and date. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

registry-push-guard

baselane-sh/mods

Asks before an image or chart is pushed to a registry: docker push, docker buildx --push, podman push, helm push, gcloud artifacts docker push. Local registries pass.

★ 3GuardsAutomation

release-pack

baselane-sh/mods

Asks before a release leaves your machine: package publish, tag push, production deploy and registry push guards in one mod. The tag guard reads tags with git.

★ 3GuardsAutomation

repo-pack

baselane-sh/mods

Five read-only repo commands in one mod: /todos, /loc, /hotspots, /commit-msg and /branches. They read git. They copy results to the clipboard.

★ 3ReskinsGuardsCommands

scripts

baselane-sh/mods

Adds /scripts: runnable tasks from package.json scripts, Makefile targets, justfile recipes and pyproject scripts at the git repo root. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

secret-commit-guard

baselane-sh/mods

Asks before a git commit that would record a credential or a secret-named file. Reads the staged diff with git.

★ 3GuardsAutomation

secret-filename-guard

baselane-sh/mods

Asks before a Bash command touches a secret-looking file (.env, private keys, credentials).

★ 3GuardsAutomation

secret-guard

baselane-sh/mods

Asks before a live API key, token or private key is written, edited or run.

★ 3GuardsPromptAutomation

secret-output-guard

baselane-sh/mods

Tells Claude not to repeat a credential that showed up in command or file output, and names the source to rotate.

★ 3GuardsAutomation

secret-scan

baselane-sh/mods

Adds /secret-scan: tracked files and line numbers that hold secret-shaped text, found with git grep. Never prints a matched value. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands