What problem does it solve? Building event-driven automation for Codex plugins requires understanding hook events, JSON configuration formats, matchers, and security practices, which is error-prone without structured guidance. ## Core Features & Use Cases - Hook Event Guidance: Covers all hook events including PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, and Notification with configuration examples. - Prompt-Based and Command Hooks: Explains when to use LLM-driven prompt hooks versus deterministic bash command hooks, including output formats and exit codes. - Security and Debugging Practices: Provides input validation patterns, path safety checks, ${CLAUDE_PLUGIN_ROOT} portability, and debugging workflows with Codex --debug. - Use Case: When building a plugin that must block dangerous file writes, use this Skill to configure a PreToolUse hook with a Write|Edit matcher that validates paths and denies sensitive file access. ## Quick Start Ask the AI to create a PreToolUse hook that validates file writes and blocks access to sensitive files in your Codex plugin.