Hooks Management
Turns plain-English requests into validated Claude Code / Codex / OpenCode hook configs.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 13, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Jul 18, 2026 · 05e704d
Asked it to block edits to .env files: the baseline and skill converged on the same exit-2 grep pattern, but the skill added two things the baseline missed — the mandatory 'restart the agent for changes to take effect' warning and a call to the bundled scripts/validate_hooks.py before saving, both genuine gotchas a naive answer skips.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 8/10
- Docs & honesty 4/5
What Hooks Management does
Translates natural-language requests such as 'block edits to .env' or 'ask before destructive Bash' into working hook JSON/TOML for Claude Code, Codex CLI, and OpenCode, backed by a bundled Python validator and per-platform event/schema references. Triggers on 'add a hook', 'list my hooks', 'remove the hook', 'validate hooks', or any request to automate agent behavior with shell commands or plugins. Steers users toward the built-in permissionDecision confirm UI instead of brittle exit-code or osascript confirmation hacks.
How to install Hooks Management
git clone https://github.com/CodeAlive-AI/ai-driven-development
cd ai-driven-development
mkdir -p ~/.claude/skills
cp -r skills/hooks-management ~/.claude/skills/hooks-management
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Hooks Management
-
/hooks-managementTurns plain-English requests into validated Claude Code / Codex / OpenCode hook configs.
It also activates on plain-language prompts like these:
-
Add a hook that blocks edits to .env files in this project -
I want Claude to ask before running any destructive bash command -
List my current hooks and validate that the config JSON is correct
Frequently asked questions
- Is the Hooks Management skill free?
- Yes. The skill itself is free from CodeAlive-AI/ai-driven-development. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Hooks Management work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 13, 2026. Verdict: Tested · Works. Asked it to block edits to .env files: the baseline and skill converged on the same exit-2 grep pattern, but the skill added two things the baseline missed — the mandatory 'restart the agent for changes to take effect' warning and a call to the bundled scripts/validate_hooks.py before saving, both genuine gotchas a naive answer skips.
- What is the Hooks Management SkillProof Score?
- 8.8/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 4/5.
- How do I install Hooks Management?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Hooks Management with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.