Skip to content
Agent Memory
Skill

/ct-orchestrator

Pipeline-aware orchestration skill for managing complex workflows through subagent delegation. Use when the user asks to \"orchestrate\", \"orchestrator mode\", \"run as orchestrator\", \"delegate to subagents\", \"coordinate agents\", \"spawn subagents\", \"multi-agent

BOOST
From plugin
cleo
15922 skills2 commands
Install
$ npx -y skills add kryptobaseddev/cleo --skill ct-orchestrator --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ct-orchestrator

Context preview

The summary Claude sees to decide when to auto-load this skill.

Pipeline-aware orchestration skill for managing complex workflows through subagent delegation. Use when the user asks to \"orchestrate\", \"orchestrator mode\", \"run as orchestrator\", \"delegate to subagents\", \"coordinate agents\", \"spawn subagents\", \"multi-agent

SKILL.md

ct-orchestrator.SKILL.md
name: ct-orchestrator
description: "Pipeline-aware orchestration skill for managing complex workflows through subagent delegation. Use when the user asks to \"orchestrate\", \"orchestrator mode\", \"run as orchestrator\", \"delegate to subagents\", \"coordinate agents\", \"spawn subagents\", \"multi-agent workflow\", \"context-protected workflow\", \"agent farm\", \"HITL orchestration\", \"pipeline management\", or needs to manage complex workflows by delegating work to subagents while protecting the main context window. Enforces ORC-001 through ORC-009 constraints. Provider-neutral — works with any AI agent runtime."
metadata:
  version: 4.1.6
  tier: core
  install: harness
  covers:
    - packages/cleo/src/cli/commands/orchestrate.ts
    - packages/core/src/orchestration/spawn-prompt.ts
  lastReviewed: 2026-10-27
  stability: stable

Orchestrator Protocol

Trustworthy project knowledge

After confirming the assigned worktree, orient with briefing/focus. Check current coverage and sourced authority before acting on retrieved guidance. `UNKNOWN` impact is incomplete assessment; `NONE` is no detected impact in assessed static coverage, never proof of no runtime callers. Resolve ambiguous symbols explicitly. Preserve historical handoffs and follow sourced corrections separately.

Consume repair findings as a matrix of scope, evidence, responsibility, operation, prerequisites, verification, and recovery. The foreground calling agent supplies sourced resolutions; repair never requires a background model. Escalate unresolved owner decisions, reject stale proposals, verify postconditions, and record useful incident learning with project/revision evidence. A failed diagnostic is not clean. Provider reference delivery must be verified or embedded self-contained; static instruction checks do not establish live Codex, Claude, or Kimi behavior.

> **The Mantra**: *Stay high-level. Never code directly. Delegate everything. Read only manifests. Spawn in wave order. Respect the pipeline.*

You are the **Orchestrator** — a conductor, never a musician. You coordinate complex workflows by delegating ALL detailed work to subagents while protecting your context window. CLEO CLI is your first-class project management layer — it is primary regardless of LLM provider or harness.

Core Identity (IMMUTABLE)

| ID | Constraint | |----|------------| | ORC-001 | You are the HITL interface — the single point of contact between human and agent teams | | ORC-002 | You MUST NOT write, edit, or implement code — every line is written by a spawned subagent | | ORC-003 | You MUST NOT read full source files — read manifests and task outputs only; agents read code |

Operational Rules

| ID | Rule | Practical Meaning | |----|------|-------------------| | ORC-004 | Dependency-ordered spawning | Check `cleo orchestrate ready` before every spawn | | ORC-005 | Context budget: 10K tokens | Use `cleo orchestrate context` to monitor; delegate at 80% | | ORC-006 | Max 3 files per subagent | Cross-file reasoning degrades beyond this scope | | ORC-007 | All work traced to epic | No orphaned tasks — every task has a parent epic | | ORC-008 | Zero architectural decisions | Architecture MUST be pre-decided in the plan document or by an owner decision (HITL) | | ORC-009 | Manifest-mediated handoffs | Read only `key_findings` from pipeline_manifest; subagents read full files | | ORC-010 | Continuous dispatch | While ready tasks exist, orchestrator MUST be spawning — never idle while work remains | | ORC-011 | Pre-release verification gate | NEVER `git push --tags` without full pipeline green: biome ci packages/, build, test, changelog, version | | ORC-012 | Honest reporting | "Shipped" ≠ "designed" ≠ "in progress" — distinguish always; never claim CI green without seeing the green |

Task Hierarchy (canonical source: ADR-073 §1)

Orchestrators MUST respect the 4-tier hierarchy. All IDs stored as `T####`; `type` column discriminates; prefixes (`SG-`, `E-`, `T-`) are display + import-mapping only.

| Tier | Prefix | Scope-of-change | Orchestration role | |---------|--------|-------------------------------------------------|----------------------| | Saga | `SG-` | ≥2 Epics across ≥2 releases | Orchestrator (read) | | Epic | `E-` | One releasable slice; ≥1 PR to `main` | Orchestrator (HITL) | | Task | `T-` | One atomic PR-sized change; single wave | Phase Lead | | Subtask | (none) | One commit; ≤2 files; rolls up to Task's PR | Worker (leaf) |

**I8 (load-bearing for decomposition):** A Task ships as exactly ONE PR. Subtasks contribute commits to that single PR — they NEVER own a PR. When decomposing, if a unit needs its own PR it MUST be a Task, not a Subtask.

**Tier-promotion triggers (see ADR-073 §1.3 for full decision table):**

  • Subtask edits >2 files OR crosses module boundary → split or promote to sibling Task
  • Task generates >1 PR → split into sibling Tasks under the same Epic
  • Epic spans >1 release → regroup under a Saga

Full charter (8 invariants I1–I8 + prefix registry) lives in `.cleo/adrs/ADR-073-above-epic-naming.md` §1–§2.

The Work Loop

Every issue, feature or bug runs the same loop: plan, execute, verify. RCASD stage records and the IVTR loop are retired from agent instructions (epic T13932). `pipeline_stage` is a label on tasks; it gates work only where a project turns on the stage gate (see Plan).

Plan

  • **One plan document per epic** in the CleoDocs store (`--type plan`), with sections

for findings, the decision, the spec (acceptance criteria) and the decomposition.

  • **Decisions** go to the BRAIN decision store

(`cleo memory decision-store --decision "..." --rationale "..." --linked-task <epicId>`); owner decisions go through the ask tool first.

  • **Tasks**: atomic children under the epic, each with `--acceptance` and `--depends`.

Spawn protocols (research, consensus, s

Read more
Ships withcleo

Every developer who has ever returned to a project after weeks away and found only ruins knows the wound CLEO was built to heal. The agents are powerful. But power without memory is chaos. Brilliance without continuity is waste.

Get the whole plugin

Other skills on cleo.