hooks-management
OfficialAutomate agent hooks with guardrails
Software Engineering#Claude Code#tool interception#permission control#Codex CLI#configuration validation#agent hooks#OpenCode plugins
AuthorCodeAlive-AI
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates the friction of configuring and maintaining automation hooks across AI coding agents, while helping you avoid risky or incorrect hook behavior.
Core Features & Use Cases
- Unified hook management across agents: Manage hooks and automation for Claude Code, Codex CLI, and OpenCode using consistent natural-language instructions and platform-specific mappings.
- Event and matcher guidance: Covers hook events, handler types, and matcher patterns so hooks trigger reliably on the intended actions (e.g., PreToolUse, PostToolUse, SessionStart).
- Safety-focused decision control: Provides the canonical PreToolUse permission model (allow/deny/ask/defer) to ensure correct confirmation UX instead of brittle custom schemes.
- Validation and troubleshooting: Uses a validation workflow (e.g.,
scripts/validate_hooks.py) and includes targeted troubleshooting for common failure modes like non-triggering hooks or invalid configs.
Quick Start
Ask your agent to add a PreToolUse hook that asks you for confirmation before running any destructive shell command, and to validate the resulting settings before saving.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hooks-management Download link: https://github.com/CodeAlive-AI/ai-driven-development/archive/main.zip#hooks-management Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.