Apps / Hooks Pack for Claude Code
Hooks Pack for Claude Code
LCTR · 7 bash hooks, one-command installer
Claude Code can run shell commands and edit files for you. These hooks add guard rails around that, so a bad command is stopped before it runs.
Not affiliated with or endorsed by Anthropic. “Claude Code” is named only to say what these files work with.
14-day money-back guarantee.
Price in US dollars. Taxes for your country may be added at checkout.

What you get
- block-dangerous-bash: stops rm -rf on / or home, force push to main, git reset --hard, curl piped into a shell, chmod 777, SQL DROP
- protect-secrets: stops reading or editing .env, SSH keys, .pem files and cloud credentials
- format-on-edit: runs prettier, ruff or black, gofmt, rustfmt or shfmt after each edit, only if installed
- test-before-stop: keeps Claude working while your test command fails
- command-log: a local log of every shell command Claude ran
- notify-done: a desktop notification when Claude finishes or needs you
- no-edit-on-main: optional, refuses edits while you are on main or master
- install.sh and uninstall.sh (merge into your settings.json with a backup, safe to re-run) and test.sh with 47 self-checks
How to use it
Unzip, run bash install.sh and start a new Claude Code session. Needs bash and jq (Linux, macOS, WSL or Git Bash).
Plain bash that runs on your machine only: no network and no telemetry. It is a safety net, not a security boundary, and you can edit every rule. Original work by LCTR. For personal and team use inside your own company; please do not resell the files.
Questions
Is it a subscription?
No. You pay once, 9.99 USD.
How do I install it?
Unzip, run bash install.sh and open a new session.
Does it send anything over the network?
No. The hooks run locally with no network access and no telemetry.
Can I change the rules?
Yes. Every rule is in a plain script you can edit.