by tomascupr
Claude orchestrates and reviews; Codex CLI implements. A Claude Code plugin for the two-model kitchen: /serve tasks end to end, /simmer goals until green. Your head chef doesn't chop onions.
# Add to your Claude Code skills
git clone https://github.com/tomascupr/sous-chefsous-chef is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by tomascupr. Claude orchestrates and reviews; Codex CLI implements. A Claude Code plugin for the two-model kitchen: /serve tasks end to end, /simmer goals until green. Your head chef doesn't chop onions. It has 50 GitHub stars.
sous-chef's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/tomascupr/sous-chef" and add it to your Claude Code skills directory (see the Installation section above).
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh sous-chef against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Fable 5 orchestrates and reviews; GPT-5.5 or GLM 5.2 implements. Your head chef doesn't chop onions.
A Claude Code plugin that splits coding between two frontier models the way a kitchen splits work. Fable plans, writes the ticket, reviews every diff line by line, and re-runs the checks itself. Codex or GLM do the implementation, with no say over what ships. The split is economic: Fable is the most expensive model on the line, so its tokens go to judgment and Codex or GLM tokens go to bulk. In the measured setup this pattern is built on, Codex did ~20x the implementation work per orchestration round trip, and two mid-tier subscriptions often beat one top-tier one.

Codex saying "tests pass" is a sentence; pnpm test output is a fact - Claude
re-runs everything itself.
/sous-chef:serve is for task-shaped work, done end to end: implement,
cross-review, fix the findings, verify. One announcement up front, one report at the
end, a hard budget of five Codex runs in between. This is the daily driver.
/sous-chef:simmer is for goal-shaped work, looped until a command passes:
"make the suite green", "get the benchmark under 200ms". A fresh Codex run each lap,
Claude judging every lap with real command output, on a dedicated branch, with lap
caps and no-progress detection. The worker never grades its own homework.
Rule of thumb: serve a task, simmer a goal. If a serve runs out of budget and what remains is goal-shaped, it offers to continue as a simmer.
ร la carte, when you want to drive the stations yourself:
| Command | What it does |
|---|---|
/sous-chef:fire |
Write the ticket, delegate one implementation run, review the diff against a pre-fire baseline, verify. |
/sous-chef:taste |
Cross-model review, read-only. Claude validates every finding against the code and filters false positives before you see them. |
/sous-chef:refire |
Turn the confirmed findings from a taste into one scoped fix run, then re-verify each finding at its cited location. |
/sous-chef:mise |
Setup: Codex CLI + auth checks, delegation profile, AGENTS.md scaffold, routing policy (manual or autonomous). Once per machine, once per repo. |
Requirements: Codex CLI โฅ 0.134,
authenticated (codex login - a ChatGPT subscription is enough; no API key needed).
/plugin marketplace add tomascupr/sous-chef
/plugin install sous-chef@sous-chef
(sous-chef@sous-chef is plugin@marketplace - same name for both here.) Then,
inside a repo:
/sous-chef:mise
/mise is idempotent - re-run it anytime as a health check, and after a plugin
update to refresh the installed profile.
you โโ "/sous-chef:serve migrate auth" โโโถ CLAUDE (head chef)
โ ticket: files ยฑ, done-when,
โ verification commands
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ codex exec --profile sous-chef โ background;
โ workspace-write sandbox ยท approvals off โ no session memory;
โ reads AGENTS.md ยท implements the ticket โ hard boundary
โโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโ
โผ diff
CLAUDE reviews + re-runs verification itself
โผ
CODEX cross-reviews read-only โโโถ CLAUDE validates findings
โผ
confirmed findings refired once โโโถ verified โโโถ served
Soft routing, not hard blocks. A routing policy in CLAUDE.md plus skills that
make delegation the path of least resistance. Claude still edits directly for small
surgical fixes - hard-blocking Edit/Write provably makes agents route around the
block instead. Manual routing is the default - you trigger the skills, and Claude
offers them when they fit. Autonomous routing lets Claude invoke serve, fire, taste,
and refire itself by task shape, announcing in one line before every delegation;
simmer stays explicit-ask; choose the mode in /mise, and switch by re-running it.
The boundary that IS hard: delegated Codex runs execute in a
workspace-write sandbox with approvals off, and Codex reviews run read-only. (The
optional GLM Claude-worker route has no OS sandbox underneath; its docs say to treat
it accordingly - trusted repos or a branch/worktree only.)
One source of truth for standards. Repo conventions live in AGENTS.md, which
Codex re-reads on every run - including non-interactive codex exec. Claude reads
the same file via an @AGENTS.md import in CLAUDE.md. Per-task instructions travel
on the ticket; standing orders stay in the file.
Background always, polling never. Delegated runs execute via run_in_background
so the Bash timeout ceiling can't kill them mid-job, and completion re-invokes Claude.
Claims are not evidence. After every delegated run, Claude reviews the diff line by line and re-runs the verification commands itself.
Every load-bearing decision traces to a documented incident, an official doc, or a measured comparison - not vibes. A sample:
Full sources for these and every other decision: docs/design.md.
How is this different from OpenAI's official codex plugin? Three deliberate
divergences, each with receipts in docs/design.md: (1) no stop-time
review gate - OpenAI's own README warns it "can create a long-running Claude/Codex
loop and may drain usage limits quickly"; here, review runs inside a pass you
explicitly ordered, under a hard run budget, not on every stop. (2) findings get
validated against the actual code before you see them - raw cross-model reviews
over-flag, and validation filters the false positives. (3) /simmer fills a gap
neither the official plugin nor ralph-loop covers: a delegated implementer inside the
loop with an independent judge outside it.
What does this cost me? Two subscriptions: any Claude plan for Claude Code, and a
ChatGPT plan for Codex - codex login, no API key needed. Subscription auth is the
first-class path for headless runs: codex exec reuses the saved login, tokens
auto-refresh even mid-run, and fire unsets the two env vars (CODEX_API_KEY,
CODEX_ACCESS_TOKEN) that could silently switch a run to per-token billing.
Delegation overhead is ~5-7k Claude tokens per round trip, which is why small tasks
stay with Claude.
How do I see what I'm saving? Every delegated run ends with a receipt - the
worker's token count from the job log - and appends one JSON line to
~/.sous-chef/ledger.jsonl. /mise prints the running tab (jobs to date, tokens
kept off Claude), or sum it yourself:
jq -s '{jobs: length, tokens: (map(.tokens) | add)}' ~/.sous-chef/ledger.jsonl.
What does delegation actually save? Measured 2026-07-04: three seeded tasks
(mechanical refactor, mid-size feature, parser-class feature), each run both ways
from a clean clone against identical checkable done-criteria - direct in a fresh
Claude Code session (Fable 5) vs a sous-chef-profile codex exec (GPT-5.5, xhigh).
All six runs green. Per task, Claude-side spend fell from 0.78-4.3M tokens
(~$3.8-12.7 at cache-aware API list prices) to the 5-7k-token orchestration
overhead, with the worker burning 140-361k GPT-5.5 tokens ($0.27-0.53) - roughly
10-20x cheaper per task in effective API-price terms. Full method, per-task table,
and caveats: issue #2.
What do I see while it cooks? An announcement first: what was delegated, the expected duration (typically 5-20+ minutes per Codex run at high reasoning effort), and the log path. You keep working; Claude is re-invoked when the job exits. Cancel anytime - Claude kills the job and shows you any partial changes to keep or revert.
Does Claude stop writing code? No. Small fixes, prototypes, and anything design-ambiguous stay with Claude - the routing rules themselves say so. Delegation is announced, never silent - in both routing modes.
Which models? Whatever your ~/.codex/config.toml says - the shipped profile
pins only sandbox and approval policy. Recommended: gpt-5.5 with
model_reasoning_effort = "xhigh". GLM-5.2 ships as an opt-in second implementer
("fire with GLM"): it slightly out-benchmarks GPT-5.5 on SWE-bench Pro at a fraction
of the per-token price, though ~3.3x more token-hungry. Two routes as templates
(GLM Coding Plan via a headless Claude worker, or OpenRouter through Codex); /mise
sets up whichever key you have. On the Claude