Support "Edit|Write" matcher in PostToolUse and PreToolUse
Resolved 💬 3 comments Opened Apr 17, 2026 by 3Spiders Closed Apr 22, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
analyze generated code and tools calling.
What feature would you like to see?
like claude code, support Edit|Write matcher in PostToolUse
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": ""
}
]
}
],
}
}
Additional information
the raw request from this issue, https://github.com/openai/codex/issues/2109#issuecomment-4263194142
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Added in https://github.com/openai/codex/pull/18391!
Indexed this hook ticket in the umbrella tracker: #21753
Goal: collect the scattered Codex hook requests and bugs into one parity matrix for Full Claude Code Hook Parity (29+), while preserving this issue as the detailed thread for its specific behavior.