orchestrate
Skill45 starsChanged 8 months agoMITView on GitHub
Orchestrate multi-step cleanup, migration, or refactor work across pika worktrees using one integration branch, bounded subagents, explicit write ownership, forge-native landing, and project-specific safety rules for staged Linux remote runs.
161 other projects use a version of this.
Adopted by
Most recently taken up by
- alexratmanpl/business-agent-skillstheir own version, first seen Nov 8, 2026
- gtonkov/claude-codetheir own version, first seen Nov 8, 2026
- edilsonvilarinho/usage-monitortheir own version, first seen Nov 8, 2026
- nathanonn/agent-skillstheir own version, first seen Nov 8, 2026
- peterpme/skillstheir own version, first seen Nov 8, 2026
- GDriem/agent-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use define-requirements, orchestrate-plan and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
sson0-erSkilldefine-requirements
Work with the user, one question at a time, to complete the requirements document (docs/claudex/<slug>/01-requirements.md). Run by the orchestrator (parent). Stays out of design and implementation.
Also in 3 projects that use this
EternallLightSkillorchestrate-plan
Use when executing a locked, reviewed PLAN.md by delegating the implementation to visible worker agents in Orca, herdr, or cmux ONE PHASE at a time — splitting the plan into context-window-sized phases, giving every phase a pristine worker context, and (when the plan touches INDEPENDENT repos) running one worker per repo IN PARALLEL. Triggers on "run the plan with a worker", "execute the plan in the other pane", "split the plan into phases and build it with workers", "build the backend and frontend in parallel panes". Not for edits you can finish inline; outside Orca, herdr, or cmux use tgc-skills:orchestrate.
Also in 3 projects that use this
sson0-erSkillrecord-evidence
How to record external facts (docs, command output, codebase findings) as evidence and design choices as decisions. Used by the researcher, designer and reviewer agents.
Also in 3 projects that use this
PinkneyJiangSkillimprove-architecture
扫描代码库中的架构摩擦点,识别浅模块并挖掘深模块演进机会。生成可视化交互式 HTML 诊断报告,并在用户确认后闭环实施深度重构。
Also in 4 projects that use this
kjnezSkillticket
Work on a JIRA/Linear ticket end-to-end: read ticket details, explore codebase, create a branch, implement with TDD, run quality checks, update ticket status, and create a PR. Use when the user provides a ticket ID to implement. Triggers on requests like "/ticket PROJ-123", "work on this ticket", "implement PROJ-123".
Also in 4 projects that use this
xfstudioSkillreverse-engineer
Expert reverse engineer specializing in binary analysis,
Also in 3 projects that use this
Other versions161 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 161
- Significant-Gravitas/AutoGPT★ 188ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- apmantza/pi-lens★ 521same name
- boshu2/agentops★ 453same name
- quantumaikr/quant.cpp★ 403same name
- Noizefield/audio-plugin-coder★ 334same name
- kagenti/kagenti★ 303same name
- varun29ankuS/shodh-memory★ 294same name
- provencher/codex-skills★ 271same name
- first-fluke/fullstack-starter★ 226same name
151 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- jetpack-compose-material3-expert-skillSkill
- landSkill
- swiftui-expert-skillSkill
- e2e-videoSkill
- pr-shepherdSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
34 rules. 0 are common, 25 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 144 edited versions we read keep these.
25
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when running a multi-chunk implementation program in pika where you need to sequence work, delegate bounded subtasks, and …
- Distinctive: line 12
Keep one integration worktree/branch for the active program.
- Distinctive: line 13
Use one implementation worker on the critical path.
- Distinctive: line 14
Use one explorer/reviewer in parallel to audit assumptions, stale usage, and regressions.
- Distinctive: line 15
Add a second implementation worker only when the write sets are clearly disjoint.
- Very specific: line 19
Run ./scripts/agent-brief once per new worktree session before substantial work.
- Distinctive: line 20
Do not keep doing large cleanup work on a shared scratch branch.
- Distinctive: line 21
If two chunks may conflict, put them in separate worktrees immediately instead of hoping the merge will be easy.
- Very specific: line 22
Keep a local untracked JOURNAL.md in the worktree for simplification opportunities, abstraction ideas, and cleanup candidates noticed in …
- Distinctive: line 25
Do not widen the active chunk just because the journal grew.
- Distinctive: line 27
Before declaring the broader project done, review the journal and explicitly decide what to land now vs leave for later.
- Distinctive: line 32
Prefer deleting migration scaffolding over layering more compatibility code on top.
- Distinctive: line 33
Keep prompts aggressive, but scoped to one architectural seam at a time.
- Distinctive: line 37
do targeted live validation when the change affects hosted or remote CI paths
- Distinctive: line 42
Do not run multiple staged Linux remote lanes concurrently from the same worktree if they share the default remote prepared-output root.
- Distinctive: line 44
If parallel staged Linux remote validation is required, isolate it first:
- Distinctive: line 63
should avoid editing files unless explicitly asked
- Distinctive: line 67
Prefer forge-native flow for real checkpoints.
- Distinctive: line 70
ensure the branch is dedicated, not a shared scratch branch
- Very specific: line 72
After a chunk is locally green, push a dedicated branch immediately and use forge/ph status as the canonical checkpoint before starting the …
- Distinctive: line 74
If a remote scratch branch has moved independently, do not fight it.
- Distinctive: line 80
Treat migration-only env knobs and selector logic as debt.
- Distinctive: line 81
When a review finds “the real runtime works, but CI reconstructs it differently,” make aligning CI to the real runtime the next chunk.
- Very specific: line 82
When a hosted/forge flow runs tooling from a temporary worktree, check whether the tool’s state root is implicitly anchored to cwd before …
- Distinctive: line 83
If the worktree is ephemeral, persist the tool state outside it first.
- Very specific: line 84
When a producer already emits structured events and has loadable run metadata, inspect the consumer seam before inventing a new protocol.
- Very specific: line 88
If a tool already emits stable run IDs, make run_id plus that shared state root enough to reload run records, logs, and artifacts after …
- Distinctive: line 89
When parity is green, remove stale exclusions immediately and prove the normal default path.
- Distinctive: line 91
When guest/runtime behavior moves into an Incus image, refresh/import the remote image before live validation.
- Very specific: line 93
When replacing writeShellScript/store-backed wrappers with guest-local scripts, inspect the realized store object on pika-build:
- Distinctive: line 95
verify the shebang is at byte 0
- Distinctive: line 96
verify the mode is still executable
- Distinctive: line 97
do not assume a script generated inside a Nix build stayed runnable just because the source text looked right
- Very specific: line 98
After deleting a host-store seam, validate a low-risk control lane first (pre-merge-rmp is a good default) before burning time on heavier …
“Common” is measured: kept by at least 6 in 10 of the 144 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Orchestrate
Use this skill when running a multi-chunk implementation program in pika where you need to sequence work, delegate bounded subtasks, and keep checkpoints landable.
Default Shape
- Keep one integration worktree/branch for the active program.
- Use one implementation worker on the critical path.
- Use one explorer/reviewer in parallel to audit assumptions, stale usage, and regressions.
- Add a second implementation worker only when the write sets are clearly disjoint.
Worktree Rules
- Run
./scripts/agent-briefonce per new worktree session before substantial work. - Do not keep doing large cleanup work on a shared scratch branch. Create a dedicated branch per chunk or per program.
- If two chunks may conflict, put them in separate worktrees immediately instead of hoping the merge will be easy.
- Keep a local untracked
JOURNAL.mdin the worktree for simplification opportunities, abstraction ideas, and cleanup candidates noticed in the weeds.- Capture the note quickly and keep moving.
- Capture abstraction opportunities too, especially when you deliberately choose a smaller tactical seam over a larger redesign.
- Do not widen the active chunk just because the journal grew.
- Triage the journal at the end of the broader project or migration once the primary seams are landed.
- Before declaring the broader project done, review the journal and explicitly decide what to land now vs leave for later.
Chunking Rules
- Make each chunk end in a truthful, landable state.
- Prefer deleting migration scaffolding over layering more compatibility code on top.
- Keep prompts aggressive, but scoped to one architectural seam at a time.
- After each chunk:
- review the result
- validate locally
- do targeted live validation when the change affects hosted or remote CI paths
- upstream or checkpoint before starting the next risky chunk
Staged Linux Remote Safety
- Do not run multiple staged Linux remote lanes concurrently from the same worktree if they share the default remote prepared-output root.
- The default remote work dir (
/var/tmp/pikaci-prepared-output) is collision-prone for parallel runs from one worktree. - If parallel staged Linux remote validation is required, isolate it first:
- separate worktrees
- separate remote work dir roots
- or separate snapshot/request ids with guaranteed non-overlap
Delegation Pattern
For each chunk:
- Local orchestrator:
- identify the architectural seam
- inspect the current code enough to write a concrete prompt
- decide what should stay local vs delegated
- Worker:
- owns the implementation write set
- runs required checks
- reports exact live validation, not just local tests
- Explorer/reviewer:
- searches for stale usages, hidden consumers, rollout regressions, and misleading docs/comments
- should avoid editing files unless explicitly asked
Landing Pattern
- Prefer forge-native flow for real checkpoints.
- Land or checkpoint before opening the next risky branch.
- Before pushing:
- ensure the branch is dedicated, not a shared scratch branch
- inspect divergence from
origin/masterand the tracked remote branch
- After a chunk is locally green, push a dedicated branch immediately and use forge/
ph statusas the canonical checkpoint before starting the next risky chunk in a new worktree or branch. - If a remote scratch branch has moved independently, do not fight it. Push a dedicated branch instead.
- Land early; otherwise collapse to one integration branch.
Project-Specific Heuristics
- In CI/runtime work, prefer Nix-declared runtime contracts over imperative bash assembly in Rust.
- Treat migration-only env knobs and selector logic as debt. Hard-cut them once the default path is real.
- When a review finds “the real runtime works, but CI reconstructs it differently,” make aligning CI to the real runtime the next chunk.
- When a hosted/forge flow runs tooling from a temporary worktree, check whether the tool’s state root is implicitly anchored to
cwdbefore you design API/log/artifact integrations around it. If the worktree is ephemeral, persist the tool state outside it first; otherwise every “structured” run contract will collapse back into flattened subprocess output. - When a producer already emits structured events and has loadable run metadata, inspect the consumer
seam before inventing a new protocol. In this repo,
pikacialready had JSONL lifecycle events and log metadata; the real gap was thatpika-gitflattened and discarded the durable state. - For temp-worktree CI in particular, prefer a single service-owned persistent state root over per-worktree
.statetrees. If a tool already emits stable run IDs, makerun_idplus that shared state root enough to reload run records, logs, and artifacts after worktree cleanup. - When parity is green, remove stale exclusions immediately and prove the normal default path.
- Validate remote-authoritative paths.
- When guest/runtime behavior moves into an Incus image, refresh/import the remote image before live validation. Otherwise image drift can masquerade as a runtime regression.
- When replacing
writeShellScript/store-backed wrappers with guest-local scripts, inspect the realized store object onpika-build:- verify the shebang is at byte 0
- verify the mode is still executable
- do not assume a script generated inside a Nix build stayed runnable just because the source text looked right
- After deleting a host-store seam, validate a low-risk control lane first (
pre-merge-rmpis a good default) before burning time on heavier desktop/OpenClaw lanes. - For hosted
pika-gitCI, prefer one deterministic sharedpikacistate root near the forge state directory over per-run scratch dirs. Ifrun_idis the durable key, make the state root stable enough that web/API code can load run records and logs later without requiring a DB migration.
Minimal Output Contract
At the end of each chunk, be able to state:
- what architectural seam changed
- what migration/scaffolding was deleted
- what exact validations passed
- what remains, if anything
- what the next chunk should attack
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

