Event Hooks
Let us define event hooks with pattern matching, to trigger scripts/commands before/after codex behaviors.
Prioritize please 🙏 - hooks in the lifecycle will allow for advanced steering/context-engineering, and enterprise guardrailing. Plus cool community whatever.
Would encourage the Codex team to follow Claude Code's schema!
https://docs.claude.com/en/docs/claude-code/hooks
+1
+1000, I'm really missing this from CC.
Claude Code and Cursor both support blocking + feedback providing hooks.
This will prove to be an integral feature for harnesses... looking forward to Codex's implementation.
Please prioritize 🙏 - hooks are very necessary
This is the final feature that will make me throw anthropic in the trash and never look back. You would get so many power users if you add hooks in.
Indeed, hooks unlock so much potential.
Missing this too!
We are badly missing approval requests hooks!!
My use case is that I need to run a script when user submits their prompt, so that I can show in a tmux status bar that an agent is active in that window. Claude can handle this with the UserPromptSubmit hook.
My solution: clone this repository and implement the corresponding functionality using Claude; I really can't wait for the official team to add this feature.
Unfortunately, we are releasing https://github.com/eqtylab/cupcake without codex native support.
Optimistic in this getting implemented... working with large enterprises on cupcake and we want to get codex out there where stakeholders (cyber assurance, dev directors) feel confident and have an opportunity to own their own alignment.