What problem does it solve? Teams need a consistent way to enforce policies and automate behaviors around AI agent sessions, such as blocking risky commands or injecting context at the right moment, without manually writing hook configuration files from scratch. ## Core Features & Use Cases - Policy Enforcement: Create hooks that block or gate specific tool actions, such as preventing certain commands from running. - Lifecycle Automation: Configure hooks for agent events like PreToolUse, SessionStart, or Stop to inject context or trigger scripts. - Conversation-Driven Extraction: Generalizes concerns expressed during a conversation (e.g., "always check before doing X") into a concrete hook definition saved in .github/hooks/. - Use Case: A user repeatedly tells the agent not to run destructive git commands. This Skill drafts a PreToolUse hook JSON that blocks those commands, saves it to .github/hooks/, and suggests how to test it. ## Quick Start Ask the agent to create a hook that blocks a specific command or injects context at session start, and it will draft and save the hook JSON in .github/hooks/.