⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
subagent
Fan out a one-shot or flat parallel batch of cc-fleet PROVIDER subagents (headless `cc-fleet subagent`) that return a result — DeepSeek / GLM / Kimi / Qwen / MiniMax, or a Codex/Claude subscription. Trigger ONLY to delegate a task to a cc-fleet provider worker (parallel research, bulk per-file work, a specialized model). Do NOT trigger for a multi-phase pipeline (that is /cc-fleet:workflow), for ordinary local shell/coding, or for editing or researching cc-fleet's own code.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README

English · 简体中文
Claude Code's multi-agent orchestration — Dynamic Workflows, Agent Teams, Subagents — only runs Anthropic's own models. cc-fleet lets any model with an Anthropic- or OpenAI-compatible API, even your Codex subscription, join as a workflow leaf, a long-lived teammate, or a one-shot subagent — scheduled by your main session, with the same identity and capabilities as a native Claude agent.
Every third-party worker is a real claude process with its LLM backend swapped to the provider, so Claude Code drives it exactly like a native agent. Your main session's own auth (OAuth subscription or API key) is untouched, and provider keys never enter env, argv, or shell history — zero leak risk.
Two steps to get going: one-line install, register a provider. Then state your intent in Claude Code with /workflow, /team, or /subagent — or just describe the task in plain language, and Claude figures out the rest.
No Claude subscription? ccf run <provider> starts an interactive session driven by that provider — the same claude you know, just running on the provider's model.
cc-fleet can be driven from Codex too: a Codex plugin gives a Codex session the same fan-out — cc-fleet subagent and cc-fleet workflow, with the claude engine as the worker. (Teammates stay Claude-Code-only.)
Install
0. Install Claude Code first — cc-fleet drives the official claude CLI, so install it if you don't have it yet (skip if claude is already on your PATH):
macOS / Linux:
curl -fsSL https://claude.ai/install.sh | bash
Windows (PowerShell):
irm https://claude.ai/install.ps1 | iex
1. Install cc-fleet with the one-line script (recommended) — one command does it all: downloads and verifies the CLI, puts it on your PATH (with a ccf alias, so ccf launches it from then on), and installs the Claude Code plugin (skill + session hook) via the marketplace. Ready to use right after:
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/ethanhq/cc-fleet/main/install.sh | sh
Windows (PowerShell):
irm https://raw.githubusercontent.com/ethanhq/cc-fleet/main/install.ps1 | iex
Codex plugin — to drive cc-fleet from a Codex session, after the install above run codex plugin marketplace add ethanhq/cc-fleet then codex plugin add cc-fleet.
Other channels (npm / go install / Releases / source) and adding the Claude Code plugin, installer overrides, and requirements & maintenance live in Install & maintenance.
Common commands:
ccf # open the interactive TUI
ccf doctor # health check: dependencies, providers, plugin status
ccf update # self-update by install channel + refresh the plugin
ccf uninstall --all # remove the binary and plugin too
Once installed, run ccf to register a provider and start delegating.
Quickstart
🔌 Provider management — one API key, connected
ccfopens the TUI; choose Add provider- Pick any Anthropic / OpenAI-compatible vendor
- Enter the API key and default model; optionally an effort level and a Claude permission mode
- Save and go; add more models and toggle them in the list,
ssets the default,ddeletes - (Optional) Add Codex: reuse an existing OAuth, or log in fresh
🖥️ ccf run — run Claude Code on any provider
ccf runlaunches an interactiveclaudeon your default provider;ccf run <provider>picks one- All tools, the full REPL; no Anthropic subscription, your main session's login untouched
- Switch anytime mid-session:
/modelfor the model,/effortfor thinking effort,Shift+Tabfor permission mode
⚙️ Dynamic Workflows — the same orchestration API as native workflows
/workflowto kick it off, or just tell Claude: "map each module with deepseek, glm drafts an audit checklist per module, gpt synthesizes"- Claude writes the JS script and runs it in the background — no tokens off your main session
workflow waitblocks until it finishes — event-driven, no polling- The TUI board shows every leaf and phase live —
xto hold /rto rerun a single leaf or a whole phase
👥 Agent Teams — native multi-agent collaboration in tmux panes
/teamto kick it off, or just tell Claude: "start a glm and a deepseek teammate, then compare their strengths"- Each teammate is a real
claudeprocess working live in a side tmux pane — mix providers in one team, hand follow-ups across turns - The TUI board shows each teammate's full inbox and status;
hhides /sshows a pane — split in the foreground or run in the background
⚡ Subagents — the lightest one-shot delegation
/subagentto kick it off, or just tell Claude: "fan out kimi, qwen, and glm over these three files in parallel"- Claude runs the models and collects results synchronously — dispatch as many in parallel as you like
slim-roread-only mode: let a provider analyze your repo safely, without touching code- The TUI board shows each job's prompt, answer, and spend
📊 The TUI board — your whole fleet on one screen
- After
ccflaunches, pressTabfor the Agents Board — every Workflow / Team / Subagent laid out by project → session - Open any one for detail: a Workflow's run → phase → leaf progress tree, a Team's teammate inbox, each drilling into prompt, answer, and spend
- Act inside the board:
x/rto stop or rerun,pto pin against cleanup,cto clear finished,dto delete,h/sto hide or show a pane - Finished teams stay on record; the UI follows your system light / dark theme
Deep dive
cc-fleet's capabilities fall into two groups:
- Three delegation lanes (Workflow / Agent Team / Subagent) — scheduled automatically by Claude: say what you
// HOW IT'S BUILT
// FILES
2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
codex-plugin/skills/subagent/SKILL.md7.9 KBupstream ↗
--- name: subagent description: Fan out a one-shot or flat parallel batch of cc-fleet PROVIDER subagents (headless `cc-fleet subagent`) that return a result — DeepSeek / GLM / Kimi / Qwen / MiniMax, or a Codex/Claude subscription. Trigger ONLY to delegate a task to a cc-fleet provider worker (parallel research, bulk per-file work, a specialized model). Do NOT trigger for a multi-phase pipeline (that is /cc-fleet:workflow), for ordinary local shell/coding, or for editing or researching cc-fleet's own code. --- # subagent — one-shot / batch / background provider subagent **Wrong lane?** A multi-phase pipeline with dependencies or resume → /cc-fleet:workflow. When this skill cites `cc-fleet-shared/<file>.md`, read `../cc-fleet-shared/<file>.md` relative to this SKILL.md (load-bearing, not optional background). > **Execution environment — check before running anything.** Confirm this shell runs on the machine where cc-fleet is installed. In a remote or split-host agent session the shell can run on a separate machine with its own filesystem and PATH, so `cc-fleet: command not found` or a wrong working directory can indicate that the shell is running on the wrong machine, not that cc-fleet is broken — route commands through a host-executing bridge and pass host paths for the files you reference, and stop cleanly if no such bridge exists. (Different-machine case only; for the same-machine codex sandbox — a clean `doctor` but network-blocked leaves — see Approval & sandbox below.) `cc-fleet subagent` runs a provider model headless and returns the result directly on your shell's stdout — no tmux pane, no team, no locks. A one-shot provider agent whose model can be a provider id. It reuses the same provider selection and fingerprint gate as the rest of cc-fleet. It's the lightweight synchronous branch. **Preflight (first fan-out per session).** Run `cc-fleet doctor --json` once and read the per-check results. The ONLY hard stops are the **claude binary** check and the **fingerprint** check (the worker engine) — if either fails, tell the user to install or fix Claude Code, and stop. Do **not** stop on the "all configured providers' keys reachable" check: it aggregates every enabled provider, so one unrelated provider — especially a daemon-backed `codex` / `openai-*`, whose loopback proxy is only up during a spawn — flips `ok:false` / exit 1 while your target provider is fine. Provider API keys are configured separately in cc-fleet, so a provider model needs the claude **binary** but not a Claude subscription. To check the provider you'll actually use, run `cc-fleet models <provider> --json` (`PROVIDER_UNKNOWN` ⇒ not configured); that confirms it's configured + enabled, not that it's reachable — the run itself proves reachability. ## Approval & sandbox (non-bypass codex) `cc-fleet` spawns a **network-using child** (`claude -p` → the provider API) and writes a job record (plus a file when you use `--prompt-file` or redirect `--json` to one). On a codex that is **not** in full-bypass mode, expect two things — neither is a cc-fleet bug, so set the user's expectation rather than reporting a failure: - **Approval prompts are normal.** A non-bypass approval policy asks the user to approve each `cc-fleet …` shell call; a fan-out or chunked wait re-prompts. Say so up front — approving is expected; to reduce the prompts the user can lower the approval friction (`--ask-for-approval`, a less-restrictive mode) or run codex bypassed. - **A sandbox can block the provider call.** A workspace-write sandbox disables network by default, so the `claude -p` child cannot reach the provider and the leaf fails looking like `PROVIDER_UNREACHABLE` / a timeout — the real cause is the sandbox, not the provider. Heuristic: **`cc-fleet doctor` is locally clean but every provider leaf is "unreachable" → the sandbox is blocking egress.** Fix it by letting that command reach the network — approve the escalation codex offers, have the user enable network for the workspace-write sandbox, or run codex bypassed if they accept that. ## When to use it - **One-shot research / analysis / judgement** — you want an answer, not a long-lived colleague. - **Batch fan-out** — N independent tasks in parallel. subagent is **lock-free**, so N calls don't serialize behind a server lock the way N spawns do — true parallelism. - **Cost-bounded probes** — `--timeout` caps wall-clock; the return value carries `usage` / `total_cost_usd`; it stops when done (nothing to forget to tear down). ## 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 "configured" or "auto"), use it and STATE it in your kickoff line (e.g. "using glm (default)"). 3. Else (several providers, none default) ask the user ONCE which to use — list the enabled providers from `cc-fleet list --json` (name + default_model + the one-line note in cc-fleet-shared/providers.md). After they pick, run `cc-fleet default <chosen>` so you never ask again. (`cc-fleet default <p>` is user-layer; only run it to FILL a blank default, never with --force.) 4. A mid-task provider failure (insufficient balance / rate limit / auth) → STOP, tell the user what happened, propose the next provider, and WAIT for their confirmation. Never switch providers silently. Model tier within a provider: fan-out / leaf work → omit `--model` (or `--model fast`); judge / synthesis / sustained work → `--model strong`. The provider's roster decides the actual model — see cc-fleet-shared/providers.md. **The reserved native leaf — `claude`.** `cc-fleet subagent claude …` runs the official `claude` CLI on the user's OWN Claude Code login (their subscription OAuth or whatever they're logged in as) — no providers.toml row, no profile, no key material. A NAMED deliberate choice, never the auto-default (`cc-fleet default claude` errors; it never auto-resolves). `--model` takes a literal id (`fable` / `opus` / `sonnet` / a full id) — the slot keywords `default`/`strong`/`fast` are rejected (no roster); omitted = claude's login default, which is typically the most expensive tier, so naming a model is usually wise. Profiles apply unchanged. The leaf spends the **lead session's own subscription window** — use it for one or two synthesis / judgement nodes, never a wide fan-out. ```bash cc-fleet subagent claude --model opus --prompt "<synthesis over the gathered notes>" --json ``` ## Calling it (run with your shell tool, always with `--json`) ```bash cc-fleet subagent --prompt "<task>" --label "codex/<cwd-basename>/<short>" --json # no provider arg → default provider cc-fleet subagent deepseek --model strong \ --prompt "Analyze the worst-case complexity of quicksort in src/sort.go; give a triggering input" \ --label "codex/cc-fleet/quicksort" --json ``` **Label every job.** A codex-launched job is grouped on the Agents Board under your Codex launcher (a `codex <thread>` header, not `(no session)`); a `--label "codex/<cwd-basename>/<short>"` still helps you tell your jobs apart within that group. **Expected-large output** → redirect `--json` to a file and read the file, sidestepping any shell-output cap: `cc-fleet subagent … --json > out.json`, then read `out.json`. The provider arg is **optional** — with no provider, cc-fleet uses the default. `NO_DEFAULT_PROVIDER` / `DEFAULT_PROVIDER_DISABLED` / `DEFAULT_PROVIDER_UNKNOWN` in the failure envelope mean there is no usable default — apply the provider ask ladder above. Useful flags (full list: `cc-fleet subagent --help`): - **Name it** → `--label "<short-alias>"` (e.g. `--label sort-complexity`). The Agents Board shows the label instead of the opaque job id — pass one on every launch, like a teammate name. Display-only metadata; capped at 256 bytes. - **Large / sensitive prompt** → `--prompt-file <path>` (read from file, piped via stdin, kept out of argv / `ps`). Use it once a single prompt approaches **~128 KiBREADME.mdupstream ↗
Contents are not inlined in the catalog. Open the upstream file.
Plain-text copy, no login: /skill-bundles/ethanhq-cc-fleet-codex-plugin-skills-subagent.md