Claude Code Dynamic Workflows: Ultracode, Subagents, and Admin Kill Switches
Coffee Summary
- FACT: Dynamic Workflows are generally available in Claude Code for Pro, Max, Team, and Enterprise, plus API, Bedrock, Vertex AI, and Foundry.
- FACT: A workflow is a JavaScript orchestration script that fans work across parallel subagents, verifies results, and can resume runs.
- FACT:
ultracodesets xhigh effort and can auto-start workflows; Pro enables them in/config; admins can disable them. - FACT: Workflows consume substantially more tokens than a typical Claude Code session.
- OPINION: Treat Dynamic Workflows as an ops feature with cost and admin controls first.
- Workflows burn quota quickly; ultracode can stack multiple workflows per request.
- Confirmation varies by permission mode (Auto, Manual, Bypass,
-p/SDK). - The script environment is constrained: agents do I/O; the script coordinates.
- Agent SDK cookbook URL was not fully fetched; Claude Code docs and product blog are primary.
- Bun rewrite numbers are Anthropic’s reported narrative and remain a CLAIM for third-party validation.
- Confirm entitlement: Max/Team/Enterprise default on; Pro →
/config→ Dynamic workflows. - Pilot a small slice and watch
/workflowstoken totals. - Prefer auto mode for approvals; avoid Bypass until allow-rules cover agent tools.
- Try
/effort ultracodeonce, then drop to/effort highfor routine work. - Admins: document managed
disableWorkflows/ admin kill switch. - Save good scripts via
/workflows→sinto.claude/workflows/or~/.claude/workflows/.
Why it matters
Multi-agent coding now has a first-party orchestration layer that is readable, savable, and resumable. It changes codebase audits, migrations, and adversarial review loops.
It also changes spend and governance. Anthropic states workflows use meaningfully more usage than a normal session. Org admins can disable workflows through managed settings or the Claude Code admin page.
What changed
Dynamic orchestration
Claude breaks a task into phases, fans agents out in parallel, verifies findings, and returns one coordinated answer. Progress is saved so an interrupted job can resume; docs note runs can extend for hours or days.
Ultracode and how to start
Ask Claude to create/run a workflow or use /deep-research; alternatively enable ultracode via the effort menu. It means xhigh effort plus automatic workflow decisions. Per-prompt ultracode applies to human-origin interactive prompts, not -p, scheduled tasks, or unstamped SDK/webho
Who should care
Claude Code power users on Max/Team/Enterprise; Pro users needing /config enablement; platform admins setting disable policies; migration and security-audit leads; Agent SDK, Bedrock, Vertex, and Foundry teams wiring Workflow permissions.
Limitations
What to do next
AIImpish Take
Dynamic Workflows are the difference between spawning a few subagents and shipping a rerunnable orchestration script. Enable deliberately, pilot on a thin slice, watch tokens in /workflows, and give admins a documented kill switch. Ultracode is power — not a default for every chat.
ok relays. Auto mode is recommended; the first launch shows a plan and asks for confirmation unless permission mode skips it.
Cost, caps, and admin disable
Start on a scoped task. Runtime caps include concurrent-agent limits and a 1,000 agents per run ceiling, plus Large workflow warnings. Size guidelines steer agent count. Disable via /config, "disableWorkflows": true, CLAUDE_CODE_DISABLE_WORKFLOWS=1, or org managed settings.
Example scale (CLAIM)
Anthropic cites Jarred Sumner using Dynamic Workflows to port Bun Zig→Rust (~750k lines, ~99.8% suite passing, ~eleven days). Treat it as a vendor case study, not an independent benchmark.
What happened
Anthropic shipped Dynamic Workflows for Claude Code: Claude plans a task, writes an orchestration script, and a background runtime runs many parallel subagents while your session stays responsive.
Official docs define a JavaScript script calling agent(), pipeline(), and parallel(), holding intermediate results in script variables. Bundled entry points include /deep-research; you can also ask Claude to create a workflow or use /effort ultracode.
AIImpish