write-agent-hooks
Installation
SKILL.md
Write Agent Hooks
A hook is a command the host runs on an event, with a JSON payload on stdin. Models guess event
names, exit codes, and output shapes from one host and apply them to another. Read the host's
reference first: [Claude Code][cc-ref], [Codex][codex-ref]. Both have a /hooks browser.