CLAUDE LABJP
PRICING — September 1 was the scheduled date for the Sonnet 5 price increase, and it did not happen. The introductory $2/$10 per MTok now stands as the regular pricePARTNER — Salesforce and Anthropic announced Claudeforce, an expanded partnership. The Salesforce in Claude plugin ships with 37 prebuilt sales skills, from meeting prep to pipeline managementTRUST — Claudeforce serves Claude through Amazon Bedrock inside the Salesforce Trust Boundary, so data and inference never leave the security perimeter — an answer aimed squarely at regulated industriesBETA — Salesforce in Claude is with select pilot customers for now, with an open beta expected during SeptemberLIMITS — The 50% weekly-limit boost runs through September 13. From September 14 the permanent level is 25% above the pre-promotion baseline, roughly a 17% cut from todayRELEASE — Claude Code has shipped nothing since v2.1.251 on August 28. Against a pace of one release every 0.8 days, a four-day gap is among the longest yetPRICING — September 1 was the scheduled date for the Sonnet 5 price increase, and it did not happen. The introductory $2/$10 per MTok now stands as the regular pricePARTNER — Salesforce and Anthropic announced Claudeforce, an expanded partnership. The Salesforce in Claude plugin ships with 37 prebuilt sales skills, from meeting prep to pipeline managementTRUST — Claudeforce serves Claude through Amazon Bedrock inside the Salesforce Trust Boundary, so data and inference never leave the security perimeter — an answer aimed squarely at regulated industriesBETA — Salesforce in Claude is with select pilot customers for now, with an open beta expected during SeptemberLIMITS — The 50% weekly-limit boost runs through September 13. From September 14 the permanent level is 25% above the pre-promotion baseline, roughly a 17% cut from todayRELEASE — Claude Code has shipped nothing since v2.1.251 on August 28. Against a pace of one release every 0.8 days, a four-day gap is among the longest yet
Articles/Claude Code
Claude Code/2026-05-30Advanced

Authoring Dynamic Workflows: Building Reusable Research Pipelines with phase / agent / pipeline

A hands-on guide to writing your own Claude Code Dynamic Workflows: the phase / agent / pipeline / parallel primitives, locking outputs with JSON Schema, porting the adversarial-verification pattern, and designing for token cost.

Claude Code241Dynamic Workflow2subagents9orchestration7

Premium Article

Run the built-in /deep-research once and the next question is obvious: can I write the same structure for my own task? In my case, I had been hand-routing two things to subagents every time, background research for four technical blogs and the quality check on the articles I generate. Freezing that into a script is what pushed me into authoring my own.

This guide takes the script you can read via View raw script on /deep-research, breaks down the orchestration primitives one by one, and lands on porting them into a real fact-checking pipeline. I covered how to run and save workflows in what I learned about orchestrating subagents, so here I focus on the writing side.

Why moving the plan into code raises reliability

When you spawn subagents turn by turn, Claude decides the next move on the spot. That's flexible, but it offers no guarantee that running the same task twice takes the same steps. A workflow holds the loop, branching, and intermediate results in the script, so the orchestration itself becomes reproducible.

More importantly, you can have independent agents adversarially review each other's results, or weigh plans drafted from several angles. A more trustworthy result comes not from the number of agents but from having this "cross-check" structure. That verification structure is exactly what I wanted when I decided to turn fact-checking into a workflow.

The five primitives a workflow is built from

The key to reading a script is these five.

  • meta: an export declaring the workflow's name, description, and phase list
  • phase("name"): a marker that segments the progress view, one per /workflows row
  • agent(prompt, options): launches one subagent; pass label, schema, and phase in options
  • pipeline(items, stage1, stage2, ...): staged processing that feeds each stage's output into the next
  • parallel([fn, fn, ...]): runs an array of functions concurrently

The minimal shape looks like this. Script arguments arrive in args, and log() records progress.

export const meta = {
  name: "article-fact-check",
  description: "Extract claims from an article and keep the ones that survive",
  phases: [
    { title: "Extract", detail: "Pull checkable claims from the body" },
    { title: "Verify", detail: "Verify each claim with a 3-vote scheme" },
    { title: "Report", detail: "Synthesize the surviving claims" },
  ],
};
 
phase("Extract");
const ARTICLE = (typeof args === "string" && args.trim()) || "";
if (!ARTICLE) {
  return { error: "Pass the article path via args" };
}

Whatever you list in meta.phases shows up in the pre-launch approval dialog as "how this will run." It's an explanation to the reader (you, approving it), so it's worth writing carefully.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
Anyone who was calling subagents by hand can now write a reproducible script with phase / agent / pipeline
You'll be able to lock each phase's output with JSON Schema so downstream stages don't break
You can port the 3-vote adversarial verification pattern into your own fact-checking or research tasks
You'll gain a model-routing rule of thumb that keeps token cost in check even at hundreds of agents
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $15 for lifetime access
View Membership →

Related Articles

Claude Code2026-05-30
Running Claude Code's Dynamic Workflows: What I Learned About Orchestrating Subagents
A hands-on walk through Claude Code's Dynamic Workflows (v2.1.154): running /deep-research, enabling the feature, watching progress with /workflows, and saving a workflow for reuse, from an indie developer's angle.
Claude Code2026-08-17
Now that forking is the default, review agents are the ones I still call by name
Subagent forking became the default, so delegated work now inherits the parent conversation. Work can inherit context. Judgment cannot. Here is how I declare that boundary in the repository and catch it drifting.
Claude Code2026-08-16
Tracking Multi-Step Work in Claude Code Now That the Todo Tools Are Off by Default
Since Claude Code v2.1.233, TodoWrite and the Task tools are left out on the newer models. Here are the three branches to check before you set the opt-in variable, the PostToolUse ledger I put in their place, and the measured point where that ledger quietly corrupts under parallel agents.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →