ct-adr-recorder
Records Architecture Decision Records from accepted consensus verdicts. Use when promoting a consensus outcome to a formal ADR:…
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
$ npx -y skills add kryptobaseddev/cleo --skill ct-orchestrator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ct-orchestratorContext 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
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: stableAfter 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.
| 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 |
| 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 |
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):**
Full charter (8 invariants I1–I8 + prefix registry) lives in `.cleo/adrs/ADR-073-above-epic-naming.md` §1–§2.
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).
for findings, the decision, the spec (acceptance criteria) and the decomposition.
(`cleo memory decision-store --decision "..." --rationale "..." --linked-task <epicId>`); owner decisions go through the ask tool first.
Spawn protocols (research, consensus, s
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.
Records Architecture Decision Records from accepted consensus verdicts. Use when promoting a consensus outcome to a formal ADR:…
Builds and publishes artifacts to registries (npm, PyPI, cargo, docker, GitHub releases, generic tarballs) following the…
CLEO task management protocol - session, task, and workflow guidance. Use when managing tasks, sessions, or multi-agent workflows…
Orient in an unfamiliar or large codebase with CLEO's code-intelligence graph (cleo nexus) and project map (cleo map). Use before…
Runs structured multi-agent voting for decision tasks with confidence scores, conflict detection, and HITL escalation when the…
Guided workflow for multi-agent consensus contributions. Use when user says "/contribution", "contribution protocol", "submit…