# Clash hooks for OpenAI Codex CLI
# Add this to your ~/.codex/config.toml or project codex.toml
[]
= "clash hook --agent codex pre-tool-use"
= 10
= "*"
[]
= "clash hook --agent codex post-tool-use"
= 10
= "*"
[]
= "clash hook --agent codex session-start"
= 10
[]
= "clash hook --agent codex stop"
= 5