mise-cook

mise-cook is a command for Claude Code from emadd/mise-en-claude. It costs 32 tokens per session (1,519 once invoked), scanned A, original, MIT.

A command for splitting a large coding task among separate worker sessions, each using its own copy of the project, then combining their changes on an integration branch.

In plain words
What is it for?
Use it for multi-part goals that can be worked on independently, such as separate features, fixes, or investigations.
Why use it?
It reduces conflicts between parallel pieces of work and provides a defined place to check the combined result before it reaches the main branch.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Good fit Use it for multi-part goals that can be worked on independently, such as separate features, fixes, or investigations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/emadd/mise-en-claude/mise-cook
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/emadd/mise-en-claude

Made for: Claude Code.

Wrote 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.

agentmods badge for mise-cook

README.md
[![agentmods](https://agentmods.dev/badge/commands/emadd/mise-en-claude/mise-cook/github.svg)](https://agentmods.dev/commands/emadd/mise-en-claude/mise-cook)
Your own site
<a href="https://agentmods.dev/commands/emadd/mise-en-claude/mise-cook"><img src="https://agentmods.dev/badge/commands/emadd/mise-en-claude/mise-cook/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.

agentmods 80×15 button for mise-cook

Your own site · 80×15
<a href="https://agentmods.dev/commands/emadd/mise-en-claude/mise-cook"><img src="https://agentmods.dev/badge/commands/emadd/mise-en-claude/mise-cook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01519
Opus 5 $0.00016 $0.00759
Sonnet 5 $0.00006 $0.00304
Haiku 4.5 $0.00003 $0.00152

Measured 11d ago against content hash 17f956db722e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mise-cook 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 11d 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.

commands/mise-cook.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Sous-Chef, running the line. The goal just fired: $ARGUMENTS

Announce the mode before doing anything else. In your first line of output, state plainly whether you're cutting the pass and firing stations, or working it solo — and why (e.g. "soloing this: it's one human decision, not separable work" vs. "cutting the pass, firing 3 stations for X/Y/Z"). Kitchen-brigade orchestration that never announces itself is indistinguishable from the skill not having run at all — don't make the human infer which mode you're in from the absence of worktree chatter.

See WORKFLOW-ORCHESTRATION.md for the full playbook — the roster, the mechanism (real tool calls), a worked example, and the ethos. Quick gloss: the pass = an integration branch in its own worktree; the walk-in = main; a station = one sub-agent working its own worktree/branch. Run service on these six moves:

  1. Work the pass. Cut and own ONE integration branch — the pass — in its own worktree, off your current working branch (never main, the walk-in). Every station agent gets its own worktree + branch off the pass; you merge each back --no-ff and re-verify the combined tree. main is touched only when the human says.
  2. Stations don't reach across each other. Fire a station only where the work is separable by file. Before firing, check the task's target files against what's already running — overlapping work is a handoff: give it to the agent already in that lane, or serialize it after that plate lands. Prep trivial single-file fixes yourself instead of briefing a station.
  3. Right-size the model to the task. Your workhorse model for routine work (most stations); your strongest model for genuinely hard or risky execution, including guardrail-sensitive work like security review; your cheapest for mechanical prep. Where the tool exposes a reasoning-effort override, right-size effort alongside model tier — a second dial, not a substitute. Reserve the most expensive or experimental tier for the human's explicit say-so — never spin it up unasked.
  4. Clean as you go — resource hygiene. Give each station its own isolated environment (worktree + any per-agent scratch/test resources), never shared. Cap concurrent build/test- heavy stations to what the host can bear (size to cores/memory/current load, not a fixed number); hold further fires until the line drains. A full test run that crawls with zero failures is a choked machine, not a hang — clean up stale environments/processes and re-run on one pristine setup before blaming the code. Every station cleans up its scratch resources on exit; sweep the line before each verify and at close.
  5. Fire → verify → integrate. Give each agent a self-contained order — paths, root-cause hints, constraints, the deliverable. Two hard rules that stop a delegation loop: (a) the order must say "do this yourself — do NOT spawn sub-agents; if it's too big to finish here, stop and hand it back, don't fan it out" (a cook cooks; only the Sous-Chef delegates); and (b) on call-back, verify ground truth before you trust it — the branch has new commits, the deliverable file exists, the build/tests actually ran. A green build is not proof it works — after a collision especially, verify the actual behavior (run it and look, or a test that exercises the feature), not just that it compiled. A call-back with no commits and no artifacts — especially "I launched it, will report back" — is a cook that re-delegated instead of cooking. 86 the whole lineage first — a "completed" parent can orphan a live descendant that won't show in your task list, and a looping agent runs no build, so check the actual running-agents list, not process signatures — confirm the worktree is quiescent, then re-fire with the no-sub-agents rule. Only then merge --no-ff to the pass and re-verify the combined tree.
  6. The human calls it; write it down. Decisions → docs/; hard-won gotchas → durable notes/memory, so the next run inherits them. Surface choices with a crisp recommendation — the human supplies the call, the brigade executes. The window (a merge to main) opens only when the human authorizes it.

Read the full file on GitHub · 87 lines

Changes

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.

  1. 11d ago First seen · 87 lines · 32 tokens per session scan A 17f956db722e

Subscribe to this mod's changes

mise-cook is a command published in the GitHub repository emadd/mise-en-claude (51 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 1,519 once invoked, about $0.0002 per session on Opus 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.