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…