command = [
"codex", "exec", "--json", "--skip-git-repo-check",
["-s", "workspace-write"],
["-m", "{model}"],
["-c", "model_reasoning_effort={effort}"],
["-C", "{cwd}"],
["--output-schema", "{schema_file}"],
"--", "{prompt}",
]
output = "jsonl"
message_path = "item.text"
search_paths = [
"/Applications/ChatGPT.app/Contents/Resources",
"~/.codex/bin",
"/opt/homebrew/bin",
"/usr/local/bin",
"~/.local/bin",
]
models = ["gpt-5.6-sol"]
efforts = ["ultra"]
options_note = "Codex does not list these in its help. Your ~/.codex/config.toml is the source of truth, and effort is passed through as -c model_reasoning_effort=..."
[message_match]
type = "item.completed"
"item.type" = "agent_message"