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.
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.
baselane-sh/mods
Asks before a new dependency is installed (npm, pnpm, yarn, bun, pip, uv, poetry, cargo, go, gem) and names the packages.
baselane-sh/mods
Asks before Write, Edit or NotebookEdit changes a file outside the working directory, by real path.
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.
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.
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.
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.
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.
baselane-sh/mods
Asks before destructive SQL runs in a command: TRUNCATE, DELETE or UPDATE with no WHERE.
baselane-sh/mods
Asks before a commit, push or merge while you are on main or master. Reads the branch with git.
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.
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.
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.
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.
baselane-sh/mods
Adds /receipt: a shareable receipt of the session (tools, files, commands, blocks, context, cost), printed and copied.
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.
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.
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.
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.
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.
baselane-sh/mods
Asks before a git commit that would record a credential or a secret-named file. Reads the staged diff with git.
baselane-sh/mods
Asks before a Bash command touches a secret-looking file (.env, private keys, credentials).
baselane-sh/mods
Asks before a live API key, token or private key is written, edited or run.
baselane-sh/mods
Tells Claude not to repeat a credential that showed up in command or file output, and names the source to rotate.
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.
No tracking cookies, no third-party scripts. How we handle data