skills/orchestrate/SKILL.md
Execution hub — pick an orchestration pattern, load a plan, and build. Persistent, parallel, or coordinated execution.
npx skillsauth add Thomashighbaugh/opencode orchestrateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Unified entry point for all execution and orchestration patterns. Each subcommand invokes a specific execution methodology with shared lifecycle behavior: plan review, progress caching, status reporting, and resource creation.
/ideation or elsewhere) and need to execute itWhen invoked without arguments (/orchestrate), list the subcommands as plain text and ask the user to choose. Do NOT call hubMenu or any other tool — just output the list directly. Available patterns: ralph, team, deep, ccg, ultrawork, autopilot, sciomc, swarm, state-machine, consensus, evolutionary, spec-driven, plan-execute, gsd, self-assess, remediate, devin, maestro, metaswarm, cc10x, gastown, ruflo, harden, brownfield, vibe-code.
Directly invoke the matching subcommand. Print the reminder, then delegate to the corresponding skill.
/orchestrate ralph — Persistent LoopMethod: ralph
Keeps working in a loop until the task is verified complete. Each iteration checks progress, identifies remaining work, and continues. Won't stop until done.
Reminder:
Ralph: Persistent loop. I'll keep working until the task is verified complete. Each iteration checks progress and continues.
Delegates to: ralph skill
/orchestrate team — Coordinated AgentsMethod: team
N coordinated agents working on a shared task list with real-time messaging. Specify agent count and types.
Reminder:
Team: N coordinated agents with shared task list. Specify count and agent types for parallel execution.
Delegates to: team skill
/orchestrate deep — Deep DiveMethod: deep-dive
Two-stage pipeline: first trace the causal chain, then deep-interview to crystallize requirements. Good for debugging and complex investigation.
Reminder:
Deep: 2-stage trace-to-interview. First I'll trace the causal chain, then interview to crystallize the real requirements.
Delegates to: deep-dive skill
/orchestrate ccg — Multi-Model SynthesisMethod: ccg
Query multiple models for diverse perspectives, then synthesize into a coherent answer. Good for decisions with tradeoffs.
Reminder:
CCG: Multi-model synthesis. I'll query diverse perspectives and merge them into a coherent answer.
Delegates to: ccg skill
/orchestrate ultrawork — Maximum ParallelismMethod: ultrawork
Parallel execution engine — distributes tasks across workers for maximum throughput. Good for bulk independent work.
Reminder:
Ultrawork: Maximum parallel execution. I'll distribute independent tasks across workers for highest throughput.
Delegates to: ultrawork skill
/orchestrate autopilot — Full AutonomousMethod: autopilot
Full autonomous execution from idea to working code. Minimal user input required — plans, executes, verifies, and iterates.
Reminder:
Autopilot: Full autonomous execution. I'll plan, execute, verify, and iterate with minimal intervention.
Delegates to: autopilot skill
/orchestrate sciomc — Parallel Scientist AnalysisMethod: sciomc
Parallel scientist agents for comprehensive analysis. Each agent investigates a different aspect or hypothesis.
Reminder:
Sciomc: Parallel scientist analysis. Multiple agents investigate different aspects simultaneously for comprehensive coverage.
Delegates to: sciomc skill
Every subcommand follows this lifecycle:
mkdir -p .opencode/state/orchestration/progress
mkdir -p .opencode/state/orchestration/checkpoints
Check for a plan in this order:
.opencode/state/ideation/ for most recent approved plan:ls -t .opencode/state/ideation/*_final.md 2>/dev/null | head -1
.opencode/state/orchestration/ for prior work:ls -t .opencode/state/orchestration/checkpoints/*.json 2>/dev/null | head -1
Before starting execution, present the plan and confirm:
## Plan Review
**Method:** {method}
**Task:** {description}
### Plan Summary
{bullet list of key items from the plan}
### Scope
{what will be done}
### Out of Scope
{what won't be done}
Proceed? [yes / no / adjust]
If user says "adjust" — loop back to /ideation or adjust inline.
If user says "no" — stop.
If user says "yes" — proceed to Step 3.
Show the static 1-2 line description for the selected method. Do NOT generate dynamically.
Load and execute the appropriate skill:
| Subcommand | Skill to Load |
|------------|---------------|
| ralph | ralph |
| team | team |
| deep | deep-dive |
| ccg | ccg |
| ultrawork | ultrawork |
| autopilot | autopilot |
| sciomc | sciomc |
At each significant stage, write a checkpoint:
STAGE_ID="$(date +%Y%m%d_%H%M%S)_${METHOD}_stage${N}"
cat > ".opencode/state/orchestration/checkpoints/${STAGE_ID}.json" << 'EOF'
{
"method": "{method}",
"task": "{description}",
"stage": {n},
"stageName": "{name}",
"timestamp": "{ISO timestamp}",
"completed": ["{item1}", "{item2}"],
"remaining": ["{item3}", "{item4}"],
"context": "{key decisions and learnings so far}"
}
EOF
Write progress summaries for human readability:
cat > ".opencode/state/orchestration/progress/${STAGE_ID}.md" << 'EOF'
# Orchestration Progress
**Method:** {method}
**Stage:** {n} — {name}
**Timestamp:** {timestamp}
## Completed
- {item1}
- {item2}
## Remaining
- {item3}
- {item4}
## Key Decisions
- {decision1}
- {decision2}
## Context Notes
{learnings useful for continuation}
EOF
At each stage boundary, provide a status update:
## Orchestration Progress
**Method:** {method}
**Stage:** {n}/{total} — {name}
✓ {completed item}
✓ {completed item}
○ {remaining item}
○ {remaining item}
Continue? [yes / pause / stop]
During orchestration, if the need arises for a new rule, skill, or agent:
.opencode/rules/skill-creatoropencode-agent-creatorDo NOT block execution waiting for user approval on resource creation unless the change is destructive.
As orchestration progresses, actively harvest useful context:
.opencode/state/orchestration/progress/On task completion:
FINAL_ID="$(date +%Y%m%d_%H%M%S)_${METHOD}_complete"
cat > ".opencode/state/orchestration/${FINAL_ID}.md" << 'EOF'
# Orchestration Complete
**Method:** {method}
**Task:** {description}
**Started:** {start timestamp}
**Completed:** {end timestamp}
**Stages:** {total stages}
## Results
{what was accomplished}
## Artifacts Created
{files, rules, skills, agents created}
## Key Decisions
{decisions made}
## Lessons Learned
{what to remember for next time}
EOF
Offer: "Task complete. Would you like to harvest context from this session with /harvest-context?"
/orchestrate resume checks .opencode/state/orchestration/checkpoints/ for the most recent checkpoint and offers to continue from where it left off:
/orchestrate status shows:
.opencode/state/orchestration/checkpoints/.opencode/state/orchestration/progress/.opencode/state/orchestration/When a plan comes from /ideation (located in .opencode/state/ideation/), the orchestration skill:
If orchestration is interrupted:
/orchestrate resume picks up from the last checkpoint/ideation — Plan before you build/harvest-context — Extract and manage context artifactsremember skill — Promote durable knowledgewiki skill — Persistent knowledge basedocumentation
Agentic memory system for writers - track characters, relationships, scenes, and themes
documentation
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
tools
Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...'). Converts webpage URLs to clean Markdown by calling the local web2md CLI (Puppeteer + Readability), suitable for JS-rendered pages.
testing
Structured visual QA verdict for screenshot-to-reference comparisons