I might consider switching to codex from claude pro 20x but I need the post tool use, pre file write and post user message hooks. Waiting on codex to deliver.
- pre file write -> block editing code files without a task and plan of work
- post tool use -> show next open checkbox in the task to the agent, like an instruction pointer
- post user message -> log all user messages for periodic review of intent alignment
These 3 hooks + plain md files make my claude harness.
Why couldn’t you use Claude code harness with codex? The requests can be proxied to OpenAI.
I am cooking up an abstraction that enables these hooks on codex. Would love to have you kick the tires.
I use codex through the pi agent. It’s wonderful and easy to create whatever extension or hook you want!
I’d use it with Claude too if they hadn’t banned it…