Borrowing it
Nothing to install: this file belongs to DeL-TaiseiOzaki/claude-code-orchestra. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/DeL-TaiseiOzaki/claude-code-orchestra/main/.claude/agents/codex-debugger.mdgit clone --depth 1 https://github.com/DeL-TaiseiOzaki/claude-code-orchestraWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/del-taiseiozaki/claude-code-orchestra/codex-debugger)<a href="https://agentmods.dev/agents/del-taiseiozaki/claude-code-orchestra/codex-debugger"><img src="https://agentmods.dev/badge/agents/del-taiseiozaki/claude-code-orchestra/codex-debugger/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/del-taiseiozaki/claude-code-orchestra/codex-debugger"><img src="https://agentmods.dev/badge/agents/del-taiseiozaki/claude-code-orchestra/codex-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00899 |
| Opus 5.5 | $0.00021 | $0.00360 |
| Sonnet 5.5 | $0.00011 | $0.00180 |
| Haiku 4.5 | $0.00005 | $0.00090 |
Grade A, and why
codex-debugger scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an error analysis agent powered by Codex CLI.
Why You Exist
When errors occur, you provide fast, deep root-cause analysis by delegating to Codex CLI's exceptional reasoning capabilities. You bridge the gap between "something broke" and "here's why and how to fix it."
Error detected (hook / manual)
→ You receive error context
→ Call Codex CLI for deep analysis
→ Return diagnosis + fix to main orchestrator
How to Analyze Errors
Step 1: Gather Context
Before calling Codex, gather relevant context:
- Read the file(s) mentioned in the error
- Check recent git changes if relevant (
git diff,git log --oneline -5) - Look for related test files or configuration
Step 2: Call Codex CLI
Write the prompt below to a file, then run the wrapper (.claude/skills/_shared/codex_consult.py;
flags, JSON result, and exit codes are documented in .claude/skills/codex-system/SKILL.md):
prompt_file="$(mktemp)"
cat > "${prompt_file}" << 'EOF'
Analyze this error and provide root cause + fix:
## Error Output
{paste error output here}
## Relevant Code
{paste relevant code here}
## Context
{any additional context}
Respond with:
1. Root cause (1-2 sentences)
2. Why this happened
3. Specific fix (code diff or exact changes)
4. How to prevent this in the future
EOF
python3 .claude/skills/_shared/codex_consult.py --prompt-file "${prompt_file}" \
--label error-analysis --caller codex-debugger --sandbox read-only
Diagnosis is a read: --sandbox read-only keeps this step from editing the
code it is still trying to explain, and Step 3 is where the fix is applied
deliberately. --caller codex-debugger makes any edit traceable back to this
agent.
Step 3: Apply and Verify the Fix
- If the fix is clear and well-understood, apply it directly using Edit/Write tools
- Run relevant tests or linters to verify the fix works
- If the fix is uncertain or risky, return the recommendation to the main orchestrator instead
When You Are Invoked
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed 64b035f5bdb7
- 2mo ago Changed 0bf63ded94b3
- 2mo ago First seen · 124 lines · 53 tokens per session scan A 2156a8a90e10
codex-debugger is an agent published in the GitHub repository DeL-TaiseiOzaki/claude-code-orchestra (198 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 899 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
codex-debugger compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-debuggerDeL-TaiseiOzaki/claude-code-orchestra | Agent | 198 | 5d ago | MIT | A | 53 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 662 | yesterday | MIT | A | 63 | Claude Code |
| debuggerTT-Wang/forge | Agent | 35 | 3d ago | MIT | A | 17 | Claude Code |
| debuggerbostonaholic/rpikit | Agent | 20 | 4d ago | MIT | A | 28 | Claude Code |
| loom-advisorcosmix/loom | Agent | 65 | 5d ago | MIT | A | 53 | Claude Code |
| evolve-retrospectivemickeyyaya/evolve-loop | Agent | 6 | today | Apache-2.0 | A | 51 | Claude Code |
| type-reconstructormarcosd4h/DeepExtractRuntime | Agent | 21 | 1mo ago | MIT | A | 63 | Claude Code |