Pre-commit Secret Hook
One command installs a git pre-commit hook that blocks commits containing AWS/GitHub/Slack/Stripe keys — prints file:line, never the secret.
$9
Works with the AI Agents you already use
About this skill
Run node install.js in any repo and it writes .git/hooks/pre-commit + secret-scan.js. On every commit, staged files are checked for AWS keys, GitHub tokens (classic + fine-grained), Slack tokens, Stripe keys, Google API keys, private-key blocks, and generic api_key/password assignments. Findings print as file:line [pattern] only — secret values are never shown. Appends safely to an existing hook with backup; uninstalls cleanly. Zero dependencies.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 1 day ago
- Passed all security checks, Safe to install
Requires