Step 1. Start Codex CLI with the hooks engine enabled:
codex -c features.codex_hooks=trueStep 2. Send a prompt (e.g., Hi) — you'll hear a sound on session start, tool use, prompt submit, and session stop.
new hook addition changelogs only
| Date | Hooks | Changes | Codex CLI Version | Demo |
|---|---|---|---|---|
| Mar 26, 2026 | 5 | Added PreToolUse and PostToolUse |
v0.117.0 | |
| Mar 20, 2026 | 3 | Added UserPromptSubmit |
v0.116.0 | |
| Mar 11, 2026 | 2 | Added SessionStart and Stop |
v0.115.0 |
claude-code-hooks ·
codex-cli-best-practice ·
claude-code-best-practice