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-pane

baselane-sh/mods

A live side pane of how full the context window is: the percent as a bar, the tokens used, and a short tip past 75 percent. Open it with /context-pane.

★ 3PanesGuardsCommands

cost-pane

baselane-sh/mods

A live side pane with the session cost, the cost of each of the last 10 turns as a bar, and the average per turn. Open it with /cost-pane.

★ 3PanesGuardsCommands

creator-band

baselane-sh/mods

The creator band in one row above the prompt: turn timer, count of TODO, FIXME and HACK lines (read with git), and the daily streak flame.

★ 3BandsGuards

cron-guard

baselane-sh/mods

Asks before scheduled jobs or services are wiped or stopped: crontab -r, crontab replaced from stdin or a file, launchctl unload or bootout, systemctl stop, disable or mask.

★ 3GuardsAutomation

curl-pipe-guard

baselane-sh/mods

Asks before a download is piped into a shell or interpreter (curl | sh, wget -O- | bash, bash <(curl ...)).

★ 3GuardsAutomation

db-reset-guard

baselane-sh/mods

Asks before a framework wipes a database: prisma migrate reset, rails or rake db:drop and db:reset, alembic downgrade, django flush, supabase db reset, knex rollback --all.

★ 3GuardsAutomation

debug-print-nudge

baselane-sh/mods

At turn end, one toast naming the count of console.log, print(, debugger and dbg! lines your edits added this turn. Only code files count.

★ 3ToastsGuards

deploy-guard

baselane-sh/mods

Asks before a production deploy: vercel --prod, netlify deploy --prod, firebase deploy, fly deploy, gcloud app deploy, eb deploy, heroku rollback, serverless deploy to prod.

★ 3GuardsAutomation

deps

baselane-sh/mods

Adds /deps: direct dependencies with versions from package.json, pyproject.toml, requirements.txt, go.mod and Cargo.toml at the repo root. No network. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

dev-band

baselane-sh/mods

The developer band in one row above the prompt: git branch and changed files (read with git status), wall clock and session age, tool counts, and failed tool calls.

★ 3BandsGuards

docker-guard

baselane-sh/mods

Asks before Docker commands that delete data: system, volume or image prune, rm -f, volume rm and compose down -v.

★ 3GuardsAutomation

docs-nudge

baselane-sh/mods

At turn end, one toast when edits added exported code (an export statement in .ts or .js, or a public function signature) and no README or docs file was edited this session.

★ 3ToastsGuards

env-check

baselane-sh/mods

Adds /env-check: variable names in .env.example against .env at the git repo root, listing missing and extra names. Reads names only, never a value. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

env-example-nudge

baselane-sh/mods

At turn end, one toast when edits add a reference to an environment variable (process.env, os.environ, os.getenv, Deno.env) that .env.example does not list. Reads only .env.example names, never .env.

★ 3ToastsGuards

env-exfil-guard

baselane-sh/mods

Asks before a command prints your environment, echoes a secret variable or sends local data to a remote host.

★ 3GuardsAutomation

envinfo

baselane-sh/mods

Adds /envinfo: versions of git, node, npm, python3, go, rustc and docker if installed, by running each (2 s limit), and the OS. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

epic-bar

baselane-sh/mods

A band above the prompt with the progress of the epic you work on, or of the open epic nearest to done (bm-ooq ███████░ 7/8), read with bd. Hidden without epics or bd.

★ 3BandsGuards

epics-pane

baselane-sh/mods

A live side pane of each open beads epic: a bar of closed and total children, and a mark when it is ready to close. Read with bd, read-only. Open it with /epics.

★ 3PanesGuardsCommands

error-meter

baselane-sh/mods

A band above the prompt with how many tool calls failed this session (an error or a deny) and which tool failed last. Red from the first failure.

★ 3BandsGuards

explore-pack

baselane-sh/mods

Five read-only repo exploration commands in one mod: /tree, /deps, /authors, /scripts and /env-check. They read git and project files. They copy results to the clipboard.

★ 3ReskinsGuardsCommands

file-owners

baselane-sh/mods

Adds /owners : the top 5 authors of a file or folder by lines, from git blame. Names only, never addresses. Read-only. Copies the result to your clipboard.

★ 3ReskinsGuardsCommands

files-pane

baselane-sh/mods

A live side pane of the files Claude read, edited or wrote this session, grouped by action with a count per file, newest first. Open it with /files.

★ 3PanesGuardsCommands

focus-pack

baselane-sh/mods

Three quiet nudges in one mod: commit after 8 edits, TODO/FIXME/HACK lines added, and debug prints added.

★ 3ToastsGuards

git-history-guard

baselane-sh/mods

Asks before git commands that throw away work or rewrite history: reset --hard, clean, rebase, filter-branch, filter-repo, push --delete, branch -D and stash clear.

★ 3GuardsAutomation