Skip to content

Claude Code

Subagent coordination in Claude Code costs zero tokens

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →
Image: x.com

Developer 0xCodez posted a 14-step guide on X on July 20 for restructuring Claude Code’s dynamic workflows as a graph instead of a linear chain.

Dynamic workflows landed in research preview in late May 2026. Claude writes a JavaScript orchestration script, the runtime executes it in the background and spawns subagents from there. Intermediate results live in the script rather than the model’s context, so the coordination itself doesn’t consume tokens.

The core heuristic: at every ‘and then’ in your workflow, check whether the next step actually reads the previous step’s output. If it doesn’t, run those steps in parallel.

The guide is not a substitute for the official docs, and some details, including parallelism limits, conflict with other write-ups. The feature needs Claude Code v2.1.154 or newer and is toggled on Pro under Dynamic workflows in /config.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.