workflow

Solid

Orchestrate a MULTI-PHASE, dependent, or resumable run over many provider subagents from a JS script, off the main context (`cc-fleet workflow`). Use for fan-out→barrier→synthesis, per-item pipelines, loop-until-dry, or a run that must survive a kill and `--resume` from its journal. NOT a flat fan-out of independent tasks (that is /cc-fleet:subagent — cheaper, no script); NOT interactive collaboration (that is /cc-fleet:team); NOT trivial single-shot work for the main session.

AI & Automation 140 stars 9 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 87/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# workflow — multi-phase JS orchestration over provider subagents **Wrong lane?** A flat one-shot fan-out of independent tasks → /cc-fleet:subagent; interactive collaboration you message back and forth → /cc-fleet:team; arbitration in cc-fleet-shared/routing.md. When this skill cites `cc-fleet-shared/<file>.md`, OPEN it with the Read tool at `../cc-fleet-shared/<file>.md` relative to this SKILL.md — the cited content is load-bearing, not optional background. A **workflow** is a JavaScript script that fans out provider `cc-fleet subagent` leaves and runs in a **cc-fleet process, OFF the main session's context**. You write the script; `cc-fleet workflow run` executes it. The orchestration plan lives in script variables (CPU, ~0 of your tokens) — you are invoked only when *authoring* the script, not on every scheduling decision. The API mirrors the native Claude Code Workflow tool — write the script exactly as you would a native workflow; the only addition is the `provider` option on `agent()`. ## When to use it - **Multi-phase or dynamic** orchestration over many provider subagents: fan-out + barrier, per-item pipeline, loop-until-dry, branch-on-result, with a board run-tree. - A single flat batch of independent one-shots is **not** a workflow — that's /cc-fleet:subagent. Don't write a script for it. ## The provider ask ladder (ask at most once per task) 1. The user named a provider or model → use it. 2. Else run `cc-fleet default --json`: if it returns a provider (source ...

Details

Author
ethanhq
Repository
ethanhq/cc-fleet
Created
1 weeks ago
Last Updated
today
Language
Go
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

workflow-composer

Write and debug workflow scripts for Claude Code's Workflow tool: single .js files in which deterministic JavaScript drives fleets of fresh-context subagents through agent(), parallel(), pipeline(), and phase(). Invoke for any request to build, generate, draft, repair, or restructure such a workflow ("I want a workflow that…", "turn this process into a workflow", "set up a multi-agent pipeline for X", editing files under .claude/workflows/), for questions about the script format — the meta literal, the orchestration primitives, structured-output schemas, the no-nondeterminism rules — and for diagnosing a workflow that launched with an error or produced wrong output. Fire it too when a request merely DESCRIBES a repeatable multi-stage or fan-out job that deserves packaging as a workflow, with or without the word. Teaches the bundled @workflow-toolbox TypeScript pattern toolkit as the standard library for workflows that will be kept and maintained. Out of scope: simply launching an already-written workflow, and

0 Updated today
home-dev-lab
AI & Automation Listed

polyflow

Author runnable workflow scripts for multi-agent orchestration across Claude Code, Codex, Copilot, and Gemini — deterministic JavaScript files that fan out fresh-context subagents under plain control flow. Use when the user wants to create, scaffold, or fix a workflow, or author/edit a .js file under .claude/workflows/: "make a workflow", "create a workflow for X", "turn this into a workflow", "scaffold a multi-agent pipeline". NOT for merely running an existing workflow, or a one-off single-subagent task.

0 Updated 1 weeks ago
hiranp
AI & Automation Listed

dynamic-workflows

Orchestrate multi-agent workflows using the `workflow` tool with fan-out/fan-in, adversarial verification, tournaments, and loops. Use when the user asks for workflows, multi-agent orchestration, fan-out, parallel subagents, dynamic workflows, or needs to decompose large tasks into coordinated subagent runs.

10 Updated today
shekohex