Support "Edit|Write" matcher in PostToolUse and PreToolUse

Resolved 💬 3 comments Opened Apr 17, 2026 by 3Spiders Closed Apr 22, 2026

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

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗