NeVibeCode · 15 items
Hooks for Agent setup: memory, context, orchestration
Hooks for Agent setup: memory, context, orchestration: what each one does, an install command and example prompts.
update-search-year hook This hook appends the current year to WebSearch queries that lack one. Useful when you want fresh results instead of last year's pages.
3,412installs
lint-on-save hook The hook fires a linter right after the agent changes a file. ESLint, Pylint or RuboCop runs on its own, no manual call needed.
3,235installs
dependency-checker hook A PostToolUse hook that runs a package audit after you touch a dependency file, so outdated or vulnerable packages surface right away.
2,314installs
security-scanner hook This hook runs a security pass whenever Claude edits or writes a file. It looks for vulnerabilities and hardcoded secrets.
2,256installs
format-python-files hook This hook runs black on every .py file Claude edits. Formatting stops being a separate step you remember to do.
1,405installs
secrets-scanner
official hook Scans the files a Copilot coding agent touched during a session for leaked keys and credentials before they get committed. Useful when the agent edits code fast.
★ 40,418repo stars
backup-before-edit hook A Claude hook that copies a file with a timestamp before every edit. Useful when the agent rewrites code and you want a way back.
1,328installs
test-runner hook This hook fires a test command right after Claude edits a file. Handy when you keep forgetting to re-run checks by hand.
1,027installs
performance-budget-guard hook A Claude hook that measures your Next.js JS bundle after a build and blocks the deploy when it goes over the performance budget.
393installs
env-file-protection hook This hook stops Write calls aimed at .env* files, so an agent cannot overwrite your secrets by accident. One command adds it to Claude settings.
279installs
slack-notifications hook Posts a Slack message when Claude finishes working or a subagent completes its task. Useful when you step away from the terminal and want to know the run is done.
279installs
discord-notifications hook Posts a Discord message when Claude stops working or a subagent finishes. Useful when you step away from the terminal and want a ping on completion.
217installs
tdd-gate hook The hook blocks edits to production files until a matching test exists. Useful if you want the agent to keep the TDD order.
192installs
debug-window hook Opens a live-tailing debug log window when Claude starts with --debug or -d, then closes it when the session ends.
189installs
change-logger hook This hook writes each file mutation to a CSV: timestamp, tool, path, action and details. Handy when you are prepping a demo and need to show what the agent touched.
163installs