Codex CLI Hooks
Collection of hooks to automate actions in Codex CLI, the equivalent of Claude Code Hooks but for the OpenAI runtime. Maintained by Shan Raisshan. Includes validation, format and guardrail hooks configurable via Codex settings.
Strengths
- Ready-to-use hooks, no from-scratch configuration for basic checks
- Identical pattern to Claude Code Hooks, immediate learning if you already know the system
Limitations
- Scope limited to Codex CLI, useless if you don't use that runtime
- Less active repo than its Claude Code counterpart, less frequent updates
Best for
- Cross-model workflows: Codex as an independent reviewer with automatic guardrails
- Devs wanting to replicate their Claude Code hooks setup in Codex CLI without starting from scratch