Hook development

From Kanevry/session-orchestrator · View interactive version

Hook development is an AI agent skill from the GitHub repository Kanevry/session-orchestrator. Use when creating, modifying, or debugging Claude Code hooks — PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification. Covers the plugin `hooks/hooks.json` wrapper format vs. the user `settings.json` direct format, matchers, security pattern

How to use this skill

Skill file

<!-- Generated by scripts/generate-codex-skills.mjs; do not edit. -->

hook-development

Read CODE0 in full before taking any action, then follow its complete workflow.

The linked document is authoritative, including its prechecks, argument rules, and stop conditions.

Resolve this link relative to this SKILL.md, not the project working directory. The plugin root is three directories above this file. Resolve package paths such as skills/ and scripts/ from that root; resolve relative links inside the canonical document from its own directory. Keep the user’s project as the target of project operations.

Regenerate with node scripts/generate-codex-skills.mjs.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.