Open-source Codex skill for capturing and inspecting the exact provider requests that Codex sends through an OpenAI-compatible proxy.
It is useful when you need to debug:
- request size and payload shape
- injected
instructionsandsystem_prompt - exposed tools and provider overrides
- profile differences from
~/.codex/config.toml - TTFT, warm generation speed, and near-context behavior
SKILL.mdwith the operational workflowscripts/codex_proxy.pyfor request capture and forwardingscripts/inspect_proxy_log.pyfor log inspectionscripts/run_codex_benchmark.pyfor multi-phase throughput benchmarkingreferences/with field semantics and benchmark guidanceagents/openai.yamlfor UI metadata
Clone or copy this repository into your Codex skills directory so the folder name stays debug-codex-requests.
One simple layout is:
mkdir -p ~/.codex/skills
git clone git@github.com:ivanopcode/skill-debug-codex-requests.git ~/.codex/skills/debug-codex-requests- Capture a fresh Codex request through the bundled proxy.
- Inspect sanitized
system_prompt,instructions,input, tools, and request sizes. - Run the multi-phase benchmark for cold TTFT, warm raw speed, and near-context behavior.
MIT
Ivan Oparin