Ultracode in Claude Code: one word, a team of agents
The short version
Put the word ultracode in a Claude Code prompt and Claude stops working through the task on its own. It writes a short plan for the job as a script (a dynamic workflow), and a runtime runs that script in the background: up to 16 agents at once by default, with agents that can check each other's findings before they reach you. Your session stays free while it runs.
Think of a kitchen. Normally Claude works like one cook, dish by dish. With ultracode it's the head chef: it writes the plan, a line of cooks works at once, and a taster checks each plate.
The catch: more cooks eat more groceries. Every agent counts toward your plan's usage and rate limits, and Claude Code warns you once a run schedules more than 25 agents. Try it on one folder first.
| In the kitchen | In Claude Code |
|---|---|
| One cook, each dish in turn | Claude on its own, turn by turn |
| The head chef's plan | The workflow script Claude writes for the task |
| The cooks | Subagents: up to 16 at once by default (fewer on a machine with fewer CPUs), up to 1,000 in one run |
| The taster | Agents that review other agents' findings before they're reported |
| The grocery bill | Tokens. Every agent counts toward your plan's usage and rate limits |
Sources: Orchestrate subagents at scale with dynamic workflows · Adjust effort level: ultracode (both read 15 Oct 2026)
Two ways to switch it on
| For one task | For the whole session | |
|---|---|---|
| How | Put ultracode in your prompt (or ask for "a workflow" in your own words) |
Run /effort ultracode |
| What Claude does | Writes one workflow for that task | Decides by itself when a task deserves a workflow; one request can become several in a row |
| Your effort level | Unchanged | claude --effort ultracode also sets xhigh |
| Turn it off | Press Option+W (Mac) or Alt+W to dismiss the highlight |
/effort ultracode off |
| Large workflow warning | Shown past 25 agents or 1.5 million projected tokens | Not shown, so watch usage yourself |
Copy these prompts
Paste them into Claude Code. Each one already carries the keyword.
1. A first run on one folder
ultracode: check every route handler in src/routes/ for a missing login check. Give each file its own agent, have a second agent confirm each finding, and report only confirmed problems with the file and line.
2. One bug pattern across the codebase
ultracode: find every place in this repo where an error from a network or database call is caught and then ignored. Split the work by top-level folder, and have a reviewer agent drop anything that is actually handled.
3. A plan from several angles
ultracode: draft three different plans for moving this app's background jobs to a queue, each from a different angle (simplest, cheapest to run, safest to roll back). Then have a separate agent compare them and recommend one.
Before you run it
- Plan: dynamic workflows are on all paid plans. On Pro, turn on the "Dynamic workflows" row in
/configfirst. - Start small: run it on one folder or one narrow question, then look at each agent's token use in
/workflows. - Watch the warning: the
Large workflowwarning is advice only. The run keeps going until you stop it in/workflows. - Typed by mistake?
Option+W/Alt+Wdismisses it for that prompt. To stop the word triggering at all, turn off "Ultracode keyword trigger" in/config. - Scripts and
-p: the keyword only counts in a prompt you type yourself. A prompt sent withclaude -por by a scheduled task doesn't start a workflow.
Good jobs for it
- A sweep of the whole codebase for one kind of bug (missing login checks, unhandled errors).
- A migration across hundreds of files.
- Research where sources should be checked against each other.
- A hard plan you want drafted from several angles before you pick one.
- Fixing until it passes: "use a workflow to run the type check and keep fixing until it passes or two rounds make no progress".
Skip it for a one-file fix or a question a normal chat answers. That just spends your limit.
If you are building something you'll run again
When a run does what you wanted, ask Claude to save it as a command. Project workflows live in .claude/workflows/ (shared with your repo); personal ones in ~/.claude/workflows/. Next time it runs the same plan without writing it again.
Run this on your codebase
Look at my project and suggest the three jobs where an ultracode run would save me the most time (a codebase-wide check, a migration, or a review). For each one, give me the exact ultracode prompt, the one folder to try it on first, and roughly how many agents it would start.