J. RABATIN // CLAUDE OPSFIELD MANUAL · GUIDE
Claude Code · Educational Series

Dynamic Workflows: run hundreds of agents in one session

Claude Opus 4.8 introduced Dynamic Workflows — Claude Code's orchestration layer for jobs too big for a single pass. It writes its own plan, runs subagents in parallel, and verifies the output.

Reference Guidewith a downloadable resource for your Claude Code sandbox

What's inside

  1. What Dynamic Workflows are
  2. When to reach for it
  3. How to start one
  4. Verify at the summary level
Section 01

What Dynamic Workflows are

A Dynamic Workflow is Claude Code planning and running its own multi-agent job. Instead of you hand-building a chain of steps, Claude writes an orchestration script, spins up subagents to do pieces of the work in parallel, and checks the results before calling it done.

Think of it as a manager that hires its own team for the task in front of it, then disbands them when the job is finished.

The shiftYou stop describing steps and start describing outcomes. Claude figures out the team and the order.
Section 02

When to reach for it

This is for work that doesn't fit in a single context window: large refactors across hundreds of files, repo-wide test generation, multi-file security audits, big migrations. If you've ever watched a normal session run out of room, that's the signal.

For small, single-file tasks, a regular session is still faster. Dynamic Workflows shine on breadth.

Rule of thumbOne file: normal chat. Hundreds of files: a workflow.
Section 03

How to start one

State the big goal in plain language and let Claude plan. You don't write the orchestration — Claude does. It decides how to split the work, how many subagents to run, and how to recombine the results.

Your job is a clear objective and good guardrails (what done looks like, what not to touch).

> Migrate the codebase to the new API.
  Keep public behavior identical.
  Add tests for anything you change.
Section 04

Verify at the summary level

The workflow verifies its own outputs and hands you a summary: what passed, what needs a look, what failed. You review at that level instead of reading every file, then re-run only the parts that need it.

That's the whole point — the work scales without your attention having to scale with it.

In your sandboxStart with a contained goal (one module) to learn the pattern before pointing it at the whole repo.
Free Download

The Dynamic Workflow starter prompt

A fill-in-the-blank brief that gives Claude a big goal plus the guardrails it needs to plan a safe workflow.

Goal statement
Scope + guardrails
Definition of done
Do-not-touch list
Verification ask
Parallelism hint
Rollback note
Example refactor
Example audit
Checklist
✓ Downloaded. Drop it in your skills/ folder and try it in your Claude Code sandbox.