Skip to content

Codex Does the Searching: A Claude Code Research Skill

Published:
3 min read

My motivation for building this skill was Claude Code’s built-in deep research plugin. It burned through my 5-hour usage limit and ignored my usage credit limit, leaving my credit balance at -$13.82.

I’d already been exploring Claude orchestrating Codex — sparked by Theo’s video on Fable 5, where he walks through using a stronger model to dispatch cheaper subagents instead of burning premium tokens on everything. After deep research torched my balance, I turned that pattern into a skill.

So I built claude-codex-research-skill — a Claude Code skill where Claude orchestrates and Codex searches. Claude decomposes the question, fans out parallel research agents, cross-checks the results, and writes the final report. The actual live web search runs through the Codex CLI (codex exec -m gpt-5.5 with web search enabled). Claude never searches the web itself.

How it works

There are two modes, both sharing the same engine and one adversarial verification round:

ModeWho orchestratesBest for
Multi-agentClaude (Opus) decomposes, dispatches Sonnet subagents, verifies, synthesizesNuanced or high-stakes questions where you want Claude’s judgement in the loop
One-shotCodex decomposes and synthesizes; bash fans out parallel jobsOne command, cited report, no babysitting

The engine is a shell script — codex-research.sh — that runs a single Codex task with live web search, read-only, outside any git repo. Every claim comes back with a source URL. A separate skeptic script (codex-verify.sh) is prompted to refute low-confidence claims, not confirm them. If two research agents disagree, the orchestrator sends a skeptic after the disputed claim and treats refuted or unclear verdicts as uncertain in the final report.

In multi-agent mode, the role split is deliberate:

That keeps Codex usage focused on what it’s good at (searching and citing) while Claude handles the parts that benefit from stronger reasoning.

What I learned building it

A few things cost real failed runs before the pipeline was reliable:

The repo is MIT-licensed and meant to be forked. If you’ve had a similar run-in with built-in deep research, it might be worth a look.

Repo: github.com/shawk08033/claude-codex-research-skill


Edit on GitHub