You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prioritize please 🙏 - hooks in the lifecycle will allow for advanced steering/context-engineering, and enterprise guardrailing. Plus cool community whatever.
Reacted by Will 保哥, Aidan Cunniffe, Toshiki Higa, John O'Shea, Aaron Leventhal, Alex Ehlke, Yongkyun Lee, Michael Ramos, Jamison Dance, zgramstad and 41 more
Reacted by Aaron Leventhal, Gordon Sun, Yongkyun Lee, Toshiki Higa, Michael Ramos, Jamison Dance, John McDowall, Kidd Tang, zgramstad, GitMurf and 59 more
Reacted by JP Caparas, Mitesh Ashar, Karan Gauswami, Davi Busanello, Felipe Castilla, daejoon, Can Rau, IPFR33LY, Mariano Lopez Giberti, Zhang Yida and 1 more
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.
Reacted by Raine Virta, Lance Herron, Will 保哥 and Leynos
I'm going to lock this thread since it's now closed. If you'd like to report bugs or request additional extensions to the Event Hooks feature, please open new issues.
Activity
backnotprop commentedon Sep 2, 2025
Prioritize please 🙏 - hooks in the lifecycle will allow for advanced steering/context-engineering, and enterprise guardrailing. Plus cool community whatever.
andrewschreiber commentedon Sep 16, 2025
Would encourage the Codex team to follow Claude Code's schema!
https://docs.claude.com/en/docs/claude-code/hooks
nikhil-pandey commentedon Oct 9, 2025
+1
fullofcaffeine commentedon Oct 13, 2025
+1000, I'm really missing this from CC.
backnotprop commentedon Oct 17, 2025
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.
[-]Request: Event Hooks[/-][+]Event Hooks[/+]InakiBes commentedon Nov 15, 2025
Please prioritize 🙏 - hooks are very necessary
Thevetat commentedon Nov 23, 2025
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.
doggy8088 commentedon Nov 23, 2025
Indeed, hooks unlock so much potential.
vilnitsky commentedon Nov 28, 2025
Missing this too!
ZeldOcarina commentedon Nov 30, 2025
We are badly missing approval requests hooks!!
raine commentedon Dec 5, 2025
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
UserPromptSubmithook.a112121788 commentedon Dec 9, 2025
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.
67 remaining items
eternal-openai commentedon Mar 20, 2026
Coming up soon @ksdf7235 ! It's all still experimental, but shaping up fast
etraut-openai commentedon Mar 27, 2026
Event hooks are now available as an experimental feature. Refer to this documentation for details.
ofek commentedon Mar 27, 2026
@etraut-openai Why is Windows support temporarily disabled?
add Codex status tracking support
3Spiders commentedon Mar 27, 2026
do you have a plan to support "Edit|Write" matcher in PostToolUse、PreToolUse ? i think plenty of feature relies on this
@etraut-openai
♻️ Remove legacy Codex rollout plumbing (#215)
YSAA1 commentedon Apr 2, 2026
补充一条建议:在现有 Hooks 体系中新增
PreCompact生命周期事件(或BeforeCompact),触发于手动/自动 compaction 前。建议包含reason(manual/auto)、total_usage_tokens_before_compaction、auto_compact_limit、session_id/thread_id/turn_id、cwd、可选recent_rollup_summary,并支持失败策略on_error: continue|abort与可选decision返回(continue/abort)。这个可以直接承接之前 #12208 的诉求。add Codex status tracking support
3Spiders commentedon Apr 16, 2026
@etraut-openai May I ask about the progress of this?
am-will commentedon Apr 16, 2026
please and thank you. i have many hooks i can't even use because of this
etraut-openai commentedon Apr 16, 2026
I'm going to lock this thread since it's now closed. If you'd like to report bugs or request additional extensions to the Event Hooks feature, please open new issues.