/sous-chef:refirefrom sous-chef
Applies confirmed code review findings as fixes and re-verifies each at its cited location. Useful after a taste review when the user wants to apply the fixes.
Ships in sous-chef. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A refire is a fix run whose spec already exists on disk: the findings.md a taste
wrote after validating every finding. That is what makes the ticket unusually
precise - file, line, failure scenario, prescribed fix, all confirmed against the
code. Your job is to carry that precision through and then prove each finding is
actually gone.
findings.md the most recent /sous-chef:taste wrote - its report
names the path; inside /sous-chef:serve it is the findings: line in the run's
state.md. (Lost the path? It's the newest findings.md under $SCRATCHPAD.)Same as fire, and for the same reasons:
git rev-parse HEAD).--with <worker> or, inside a serve, state.md's worker: line; default Codex),
then run that route's preflight from fire's --with table. Default route:
test -f ~/.codex/sous-chef.config.toml; missing means stop and offer
/sous-chef:mise (Codex silently ignores a missing profile).JOB=$(mktemp -d "$SCRATCHPAD/refire-XXXXXX")
($SCRATCHPAD is your session scratchpad directory; substitute its absolute path).git diff and git status --short into $JOB as the
baseline. The tree is usually dirty here (it holds the diff that was just tasted);
that is expected; the baseline is what separates the tasted diff from the refire's
changes. Then fire's step 5 verbatim - .sous-chef/ into
$(git rev-parse --git-path info/exclude) plus the notebook's run marker - the
refire ticket carries the same <progress> block, so the worker will write
.sous-chef/progress.md here too.$(git rev-parse --short HEAD)+$(idx=$(mktemp -u); GIT_INDEX_FILE=$idx git add -A && GIT_INDEX_FILE=$idx git write-tree | cut -c1-12)
and compare it to the tree: line in the findings' header. On mismatch - or no
tree: line at all - the tree has moved since the taste and the cited line numbers
may have drifted: say so, then treat the file as an unvalidated review (the Inputs
rule above) - revalidate each finding at its cited location before writing the
ticket, dropping any that no longer hold.Write $JOB/ticket.md with the fire template's XML blocks, specialized:
<task>: "Fix the review findings below. Each is confirmed against the code."
Then one block per finding: file:line, the defect in one sentence, the evidence
(quoted code), and the prescribed fix. Taste's findings.md is already in this
shape - carry its CONFIRMED blocks over near-verbatim; its refuted audit-trail
section is not refire input.<done_when>: every listed finding resolved at its cited location, plus the repo's
verification commands passing.<files>: touch only files named in the findings. Everything else is off limits.<constraints>: fix ONLY the findings; no drive-by improvements, no refactors of
surrounding code, no reformatting.<verification>: the repo's check commands.<output_contract>: CHANGED / VERIFIED / OPEN, with a per-finding line under
CHANGED stating how each was resolved.Identical to fire: backgrounded run from the repo root using the resolved worker's
invocation, announce it in one line (what, which model, expected minutes, log path,
cancel offer), no polling. Same backgrounding rule as fire - never &, nohup, or
disown inside the command, or the harness reports false completion while the
worker keeps running. Fire's ledger line applies too, with "skill":"refire".
At plating, in addition to fire's outcome checks (exit code, result file present, sandbox banner):
<files> Touch list, using fire's concurrent-edit rule. Name outside-list
files, warn concurrent edit detected - these changes are NOT part of this run's review, exclude them from the refire-attributed delta, and revert or flag worker
out-of-scope changes./sous-chef:taste; two clean models in a row
is the strongest ship signal this kitchen produces.One refire per taste. If a finding survives its refire, do not loop: fix it yourself or bring it back to the user with what was tried. (Same diminishing-returns rule as fire's two-delta cap.)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tomascupr/sous-chef --plugin sous-chef7 skills in this plugin
/fireDelegates a well-specified implementation task to Codex CLI (or Sonnet 5, GLM-5.2, or Grok 4.5 via --with). Use when the user asks to hand work to Codex, or for substantial spec-able work - features, refactors, migrations, boilerplate; offer first unless the routing policy is autonomous. Not for small fixes or ambiguous design; never fire silently./miseMise en place - setup and health check. Verifies Codex CLI and auth, installs the delegation profile, scaffolds AGENTS.md, and offers the routing policy. Re-run anytime, and after plugin updates to refresh the profile. Use when the user asks to set up sous-chef, or when another sous-chef skill fails because Codex or the profile is missing./receiptsPrints the check - reads .sous-chef/receipts/ and renders the last 10 run receipts as a table with a savings total, and can reprint any receipt's shareable summary. Use when the user asks for receipts, costs, or savings, or invokes /sous-chef:receipts. Receipts are written automatically at the end of every serve and simmer./serveRuns the whole line autonomously - implement via Codex, cross-review, fix confirmed findings, verify, report once at the end. Use when the user wants a task done end to end ("serve this", "just get it done"), or as the default for spec-able implementation when the routing policy is autonomous. Announces once; stops only for hard blockers./simmerRuns a goal loop - Codex implements fresh laps while Claude verifies each against a machine-checkable goal, until it passes or the budget runs out. Use only when the user explicitly asks for a loop ("simmer this", "loop until tests pass", "iterate until green") - it creates a branch and checkpoint commits, so confirm the contract first./tasteCross-model code review - Codex reviews the diff read-only, then Claude validates every finding against the code before presenting it. Use when the user asks for a review, a second opinion, or a cross-model check. Offer it for large or risky diffs; invoke it directly only when the routing policy is autonomous.Other plugins' skills for the same job