orchestration
Skill6 starsChanged 6 days agoMITView on GitHub
This skill delegates read-only investigation or plans and implements requested work within the current session. Task-handoff writes a decision-complete file for a fresh, separate session. Use it when work continues later or elsewhere. Use an in-session handoff skill to implement requested work now. If a slash or dollar invocation already supplied these instructions in the conversation, follow them directly. In that case, do not invoke this skill again through a skill tool. Follow the shared contract below. Select the worker…
47 other projects use a version of this.
Adopted by
Most recently taken up by
- MMACABRE/SKILLStheir own version, first seen Nov 8, 2026
- Hive-Academy/PtahCodetheir own version, first seen Nov 8, 2026
- delorenj/skillstheir own version, first seen Nov 7, 2026
- Hive-Academy/ptah-extensiontheir own version, first seen Nov 3, 2026
- webdevarif/claude-skillstheir own version, first seen Nov 1, 2026
- jgeofil/agent-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use orca-cli, orca-per-workspace-env and 6 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.
HK-hubSkillorca-cli
Use the public `orca` CLI to operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, worktree comments, and the browser embedded inside the Orca app. Use when the user says "$orca-cli", "use orca cli", "Orca worktree", "child worktree", "cardStatus", "spawn codex/claude in a worktree", "read/wait/send Orca terminal", "terminal send", "full handoff", "handover", "give this to another agent", "another worktree", "Orca browser", "orca artifacts", "share HTML/Markdown", "public artifact link", or "control the browser inside Orca". Prefer this over raw `git worktree`, ad hoc PTYs, Playwright, or Computer Use when the task touches Orca-managed state. Use Computer Use for browser windows, webviews, or desktop UI outside Orca's embedded browser.
Also in 5 projects that use this
stablyaiSkillorca-per-workspace-env
Set up, review, debug, or validate an Orca per-workspace environment recipe: the on-demand, disposable runtime (cloud sandbox, VM, SSH host, or local container) Orca creates fresh for each workspace. Use to stand up a new recipe end to end, fix an `environmentRecipes` entry in `orca.yaml`, scaffold provider lifecycle scripts, or resolve an `orca vm recipe doctor` failure. Use `orca-cli` for ordinary worktree and workspace creation with no recipe involved.
Also in 3 projects that use this
HK-hubSkillcomputer-use
Use Orca's computer-use CLI to inspect and operate local desktop app windows through accessibility trees, screenshots, and safe UI actions. Use for desktop app interaction: list apps/windows, get app state, read visible UI, click controls, type, press keys, scroll, drag, set values, or perform accessibility actions. Also use for browser windows, webviews, Orca app UI, or other desktop UI. Triggers include "computer use", "orca computer", "read Spotify", "read Slack", "control/click/read in a desktop app", and "get app state".
Also in 6 projects that use this
kongyo2Skillprompt-engineering
Comprehensive prompt engineering framework for designing, optimizing, and iterating LLM prompts. This skill should be used when users request prompt creation, optimization, or improvement for any LLM task, or when users need help translating vague requirements into effective prompts through collaborative dialogue and iterative refinement.
Also in 3 projects that use this
MicrosoftSkillpr-review
Verify the technical accuracy of a vscode-docs pull request against the VS Code source code in microsoft/vscode. Use when reviewing a docs PR for factual correctness: setting names, command IDs, default values, API shapes, keybindings, versioned availability, and described behavior.
Also in 3 projects that use this
GoogleSkillgrilling
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
Also in 3 projects that use this
Other versions47 projects use a version of this.
Word for word · 1
- PaulRBerg/agent-skills★ 104100% same
Edited · 0
None found.
Wrote their own version · 46
- stablyai/orca★ 119ksame name
- BankrBot/openclaw-skills★ 1.2ksame name
- BankrBot/skills★ 1.2ksame name
- AThevon/genjutsu★ 758same name
- moasq/production-saas-starter★ 532same name
- bam-bam-2/solo-skills★ 366same name
- austintgriffith/ethskills★ 303same name
- geekatron/jerry★ 37same name
- Hive-Academy/ptah-extension★ 34same name
- Hive-Academy/PtahCode★ 34same name
36 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 repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-brainSkill
- agents-docsSkill
- agents-introspectionSkill
- agents-systemSkill
- ai-pruneSkill
- apple-device-integrationSkill
- brainstorm-with-meSkill
- chromium-browserSkill
- cli-castSkill
- cli-coingeckoSkill
- cli-ghSkill
- cli-justSkill
- codebase-designSkill
- code-polishSkill
- commitSkill
- copy-transcript-pathSkill
- effect-tsSkill
- evm-atlasSkill
- fresh-eyes-sweepSkill
- frontend-designSkill
- grill-meSkill
- html-playgroundSkill
- interview-meSkill
- large-file-refactorSkill
- naming-refactorSkill
- node-deps-bumperSkill
- pdfSkill
- release-bumperSkill
- repo-fanoutSkill
- repo-harmonizationSkill
- repo-renameSkill
- retroSkill
- skill-harmonizationSkill
- social-mediaSkill
- spreadsheetsSkill
- tailwind-cssSkill
- task-handoffSkill
- todo-archiveSkill
- tool-finderSkill
- vitestSkill
- wrap-upSkill
- writing-editorSkill
- yeetSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
36 rules. 0 are common, 26 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 41 edited versions we read keep these.
26
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
If a slash or dollar invocation already supplied these instructions in the conversation, follow them directly.
- Distinctive: line 28
Follow the shared contract below.
- Distinctive: line 36
Default to Claude workers in Claude Code.
- Distinctive: line 56
Use one adapter per worker for launch, permissions, progress, results, and continuation.
- Distinctive: line 60
Before launching each new research or implementation brief, follow Jev configuration routing.
- Distinctive: line 67
If a requested agent or model cannot run through the available route, report the exact incompatibility.
- Distinctive: line 72
Run when the user requests delegation or a selected companion skill requires it.
- Distinctive: line 76
Treat the implementation request as authorization to plan, delegate, and complete that outcome.
- Distinctive: line 86
Use the smallest effective implementation team.
- Distinctive: line 88
Before finalizing the team, estimate each brief's wall-clock time.
- Very specific: line 91
Use at most three research agents, stable IDs R1-R3, counted separately from the eight implementation agents.
- Distinctive: line 92
Keep the parent's own implementation work to orchestration, integrity checks, failure handling, and conditional polish passes.
- Distinctive: line 94
Treat an explicit user model preference as an orchestration constraint on every research and implementation agent unless scoped narrower.
- Distinctive: line 97
Treat the requested outcome as the authorization boundary, rather than the initial manifest or its write scopes.
- Very specific: line 107
When present, use $ARGUMENTS as the task.
- Distinctive: line 122
When the companion's discovery is most of the work, the parent maps and divides the scope instead of reading it inline.
- Very specific: line 148
When research is triggered, assign up to three agents stable IDs R1-R3.
- Distinctive: line 164
When every required research agent settles, incorporate its findings and evidence into the implementation plan or the research-only …
- Distinctive: line 178
When research — delegated or the parent's own — contradicts a fact the user stated explicitly (quantities, which items, which accounts), …
- Very specific: line 210
Use the fallback only when promotion reports no draft named ....
- Distinctive: line 268
Keep each agent prompt as compact as completeness allows: the shared outcome summary plus that agent's own brief, scope, and constraints.
- Distinctive: line 271
Add the selected adapter's command, permission, transport, and host-tool constraints without restating this contract.
- Very specific: line 275
Before implementation wave 1, the parent promotes the plan's named draft to acquire the full manifest write-scope union.
- Very specific: line 276
Use the plan's recorded explicit start fallback only when promotion reports no draft named ....
- Distinctive: line 294
After every implementation wave, reconcile all results with the current manifest and visible working tree without folding in unrelated …
- Distinctive: line 313
Ask the user only when continuation would change the requested outcome, require a material redesign or unrelated work, or cross an existing …
- Distinctive: line 316
Treat a tool or infrastructure failure as retryable only when adapter-specific evidence supports that classification.
- Distinctive: line 320
Never classify an ordinary timeout, a returned blocker, silence, or task-level validation failure as infrastructure failure.
- Distinctive: line 325
Keep verified repairs to skills used during the handoff separate from the optional review below.
- Distinctive: line 332
After every required agent succeeds and the task is verified — never for a blocked, failed, or partial handoff — the parent alone judges …
- Very specific: line 338
When a proposal clears this bar, append at most one compact suggestion (≤2 short sentences) to the adapter's existing completion report.
- Very specific: line 345
After every required agent completes, deduplicate the union of reported changed_files and confirm the combined verification evidence proves …
- Distinctive: line 347
Before the completion report, fix remaining same-pattern sites the requested outcome covers through follow-on agents per Failure …
- Distinctive: line 349
If any required agent failed, or the user explicitly asked to hurry or wrap up, skip every planned polish pass and report the skip.
- Very specific: line 357
If requested work changes repositories on this machine other than the one where the handoff began, invoke $commit from each additional …
- Very specific: line 361
When the handoff pushed commits and the repository defines CI workflows, such as .github/workflows, watch the pushed head's runs before the …
“Common” is measured: kept by at least 6 in 10 of the 41 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
Orchestration
This skill delegates read-only investigation or plans and implements requested work within the current session. Task-handoff writes a decision-complete file for a fresh, separate session. Use it when work continues later or elsewhere. Use an in-session handoff skill to implement requested work now.
If a slash or dollar invocation already supplied these instructions in the conversation, follow them directly. In that case, do not invoke this skill again through a skill tool.
Follow the shared contract below. Select the worker family separately from the host that runs this conversation.
Host and Worker Selection
Identify the host from its callable tools. Codex exposes spawn_agent, wait_agent, send_message, and
followup_task. Claude Code exposes Agent and Bash. Do not infer the host from environment variables, process ancestry,
or a requested worker name. If neither surface identifies the host, classify it as another harness and use a CLI route.
Default to Claude workers in Claude Code. Default to Codex workers in Codex and every other harness. An explicit user choice overrides this default. Apply that choice to research and implementation unless the user limits its scope. A named model also selects its family: Sonnet or Opus selects Claude, and a GPT model selects Codex. Preserve an exact requested model, custom agent name, or effort instead of replacing it with a default tier.
Select the route from the actual host and requested worker family. Read the selected reference completely before launch:
| Host | Worker family | Route |
| Claude Code | Claude (default) | Native Claude |
| Codex | Codex (default) | Native Codex |
| Claude Code | Codex (explicit choice) | Claude to Codex |
| Codex | Claude (explicit choice) | Codex to Claude |
| Other harness | Codex (default) | Codex CLI |
| Other harness | Claude (explicit choice) | Claude CLI |
For CLI routes, require shell execution and the selected authenticated CLI. Report missing execution or coordination prerequisites separately from worker selection. An unrecognized harness alone is not a blocker. Never invent a supported host identity to satisfy a coordination requirement.
Use one adapter per worker for launch, permissions, progress, results, and continuation. Load another only when the user explicitly requests different worker families for different scopes. Record each route in that worker's manifest brief. Adapters specialize runtime mechanics. They cannot weaken the shared contract or host restrictions.
Before launching each new research or implementation brief, follow Jev configuration routing. Use Jev through Vercel to choose only unconstrained model and effort dimensions from the selected adapter's allowed candidates. Keep the adapter's existing task tiers as the local fallback. If all dimensions are fixed, skip the network request. Any routing failure, uncertainty, or dubious selection uses that fallback without retry, approval, or interruption. Record the selection source and a concise confidence or fallback reason in the worker's manifest brief.
If a requested agent or model cannot run through the available route, report the exact incompatibility. Ask before using a different agent or model. Do not change the worker family because a preferred tool is unavailable.
Contract
- Run when the user requests delegation or a selected companion skill requires it. Classify a task research-only when its requested outcome is findings, evidence, or an assessment, with no repository changes or plan requested. All handoffs may run in any host mode. Implementation handoffs must pass through the Plan Phase, then launch without a separate user approval step.
- Treat the implementation request as authorization to plan, delegate, and complete that outcome. Reuse an existing plan when the outcome and material constraints are unchanged. Explicit user instructions take precedence over skill defaults. Preserve host Plan Mode restrictions and confirmation requirements imposed outside this skill. Ask only when required input is missing or an action exceeds existing authorization.
- The parent owns decisions, the final plan, and orchestration. Delegate investigation to read-only research agents only when task and repository evidence make it useful before planning.
- Research agents gather evidence and report findings only. They never edit files, make design decisions, or return plans.
- Implementation agents inspect, edit, and validate their assigned part of the finalized plan. They never redesign or return another plan.
- Use the smallest effective implementation team. One agent is valid. Add agents only when decomposition materially improves latency, correctness, or verification. Never exceed eight implementation agents total.
- Before finalizing the team, estimate each brief's wall-clock time. Split any brief likely to exceed roughly 25-30 minutes into parallel disjoint scopes or dependency waves instead of using one monolithic agent. Add an integration agent if needed.
- Use at most three research agents, stable IDs
R1-R3, counted separately from the eight implementation agents. - Keep the parent's own implementation work to orchestration, integrity checks, failure handling, and conditional polish passes.
- Treat an explicit user model preference as an orchestration constraint on every research and implementation agent unless scoped narrower. Within that scope, do not substitute the adapter's usual model selection. If the host cannot launch that model, report the incompatibility and ask before falling back.
- Treat the requested outcome as the authorization boundary, rather than the initial manifest or its write scopes. When implementation reveals a related in-repository fix or evidence change required for that outcome, the parent may extend the handoff. For that newly discovered scope, the parent may launch follow-on agents without asking again. The worker that discovered the need still stops at its assigned scope and returns evidence. The parent owns scope expansion, repository coordination, and delegation.
- Size verification to the requested outcome. Never add validation machinery (gates, manifests, checkpoints, hash pins, journals, receipts) unless the finalized plan explicitly calls for it. An explicit user request to hurry or wrap up overrides optional repeat checks and required polish passes. In that case, commit the validated work and report what was skipped or left unverified.
When present, use $ARGUMENTS as the task. Otherwise use the active user request. A task naming another skill follows
Companion Skills.
Companion Skills
A task that names another skill alongside this handoff — for example,
run $fresh-eyes-sweep and delegate the implementation — is a composition. The companion skill defines the work. This
handoff owns delegation mechanics.
- Load the companion skill and run its discovery, judgment, and planning phases in the parent. Route read-only discovery
through this skill's research agents when materially faster. Then incorporate the companion's method, findings, and
constraints into the handoff plan. A companion missing from the host's skill list may be installed but hidden by
disable-model-invocation: true. Read itsSKILL.mddirectly from the host skill root (~/.claude/skills/<name>/SKILL.mdin Claude Code,~/.agents/skills/<name>/SKILL.mdin Codex) before concluding it is absent. - When the companion's discovery is most of the work, the parent maps and divides the scope instead of reading it inline. Examples include an audit or sweep over a whole repository or large file set. After planning, each implementation agent audits and fixes its own slice under the companion's rules, inlined in its brief.
- This contract overrides the companion's overlapping plan approval, agent limits and stable IDs, single validation owner, and result fields. It also overrides failure classification, commit ownership, and completion reporting. These overrides apply even when the companion prescribes its own subagent, validation, or commit mechanics. Its substantive user-decision gates still bind when existing instructions do not settle them. Do not repeat a companion's routine plan approval step. A plan-only companion implements only when the combined invocation requested implementation and the host permits writes.
- Agents cannot load skills. Never brief one to "use skill X" by name. Inline the specific companion instructions, conventions, or excerpts it needs.
- A companion requirement to run
$code-polishor$agents-brain maintainmarks that pass required in the Plan Phase. The pass still runs once, per Completion. Companion commit instructions never add commits. - Satisfy both contracts at Completion: produce the companion's required report artifacts (ledgers, tables, verdicts) alongside the selected adapter's completion report.
Research Phase
For a research-only task, launch one to three research agents and stop after returning the consolidated investigation. For that task, never enter the Plan Phase or launch implementation agents. For an implementation handoff, trigger research when scope is uncertain, the task crosses multiple or unfamiliar subsystems, or gathering the needed evidence serially would be materially slower for the parent. Zero research agents is the default for implementation handoffs. The parent alone decides the research count from task and repository evidence. Never ask the user to opt in or name agents.
Either launch the research wave immediately or proceed straight to planning.
When research is triggered, assign up to three agents stable IDs R1-R3. Launch them immediately through the selected
adapter's read-only mechanism. Give each agent a self-contained prompt containing:
- the open questions and exact investigation scope.
- relevant repository constraints and known concurrent-work boundaries.
- a strict read-only authority boundary.
- the stopping rule that it must return evidence rather than a plan or design.
- its time budget, with the instruction to use it. An early
blockedreturn citing only time is not a valid stop. - exact result fields:
status,findings,open_questions,evidence, andblockers.
A research agent has not settled its scope if it returns blocked citing only time while most of its budget is unused
and no concrete obstacle is named. Nor has it settled if it returns completed while its evidence still lists
uninspected scope paths. For either case, use the adapter's same-agent mechanism once when it supports continuation.
Name the uncovered files and remaining budget. This continuation is not a new research agent. For one-shot research
agents, carry missing evidence into the consolidated open questions or blockers.
When every required research agent settles, incorporate its findings and evidence into the implementation plan or the research-only response. Surface open questions or blockers through the host's user-question mechanism only when they change scope or approach. Do not reconcile the working tree. Research agents change nothing. Any reported edit is a contract violation.
For a research-only task, synthesize the evidence and finish with ### 🔎 Research handoff — <completed|blocked>, the
agent count, findings, evidence, open questions, and blockers. This replaces the Plan Phase and the selected adapter's
implementation completion report. If the investigation shows that changes are needed, report them as findings and stop.
In that case, do not produce an implementation plan or begin edits.
Plan Phase
Enter this phase only for an implementation handoff.
When research — delegated or the parent's own — contradicts a fact the user stated explicitly (quantities, which items, which accounts), ask through the host's user-question mechanism before writing the plan. In that case, never widen the plan's default scope to fit the research.
Produce a decision-complete plan with this section and the selected adapter's exact manifest table:
## Orchestration
- Workers: `<Claude|Codex|explicitly mixed>` — `<host default or user preference>`
- Research: `<none | R1..Rn — key findings used>`
- Companion skills: `<none | $x — phases the parent runs / what is folded into briefs>`
- Strategy: `<sequential|parallel|hybrid>`
- Agents: `<1-8>` — `<why this is the smallest effective count>`
- Validation owner: `<agent-id|parent>` — `<aggregate checks it runs once>`
<host-adapter manifest table>
- Code polish: `<required|not required>` — `<reason>`
- Agent-context maintenance: `<required|not required>` — `<reason>`While finalizing the plan, record the union of every manifest write scope with
ai-coord draft --name <plan-slug> '<label>' '<path>'..., using --recursive only for directory scopes. Derive
<plan-slug> from the plan's short identity (for example debarrel-lib): lowercase it, replace characters outside
[A-Za-z0-9._-] with -, and truncate to 40 characters. For two or more Git roots, use
ai-coord bundle draft --name <plan-slug> '<label>' '<absolute-path>'.... In the plan's "Wait out conflicting agents"
section, write the exact promote command ai-coord start --draft <plan-slug> (or
ai-coord bundle start --draft <plan-slug>) and retain the explicit ai-coord start '<label>' '<path>'... fallback (or
ai-coord bundle start '<label>' '<absolute-path>'...) over the same union.
A fresh implementation session must receive these commands in the plan itself, without reconstructing scopes from prose.
Use the fallback only when promotion reports no draft named .... Named drafts grant no authority and expire after
seven days.
Choose the execution shape from repository evidence and the requested work:
- Sequential: one agent depends on another, write scopes overlap, or a later agent owns integration or aggregate validation.
- Parallel: independent work only, with explicitly disjoint write scopes. Agents may inspect shared context but must not write outside their assigned scope.
- Hybrid: dependency-ordered waves — run independent agents within a wave in parallel, reconcile the entire wave, then start its dependents.
A wave finishes with its slowest agent. Keep the highest-tier agent's scope minimal and move deferrable validation to the validation owner. If parallel work does not collectively prove the overall plan, reserve a later sequential agent for integration and aggregate validation. Use stable agent IDs and explicit dependencies across the whole handoff.
Assign aggregate validation to exactly one owner. Package- or repository-wide checks run once. The integration agent runs them when one exists. Otherwise, the parent runs them during post-wave reconciliation. Every other agent runs only the narrowest checks that prove its own edits. Examples include file-scoped formatting, lint, or typecheck plus targeted tests.
Require $code-polish for nonlocal invariants, concurrency or state machines, migrations or parsing, auth or security,
retry or error semantics, and public API or data-contract changes. File count alone is not a trigger.
Require $agents-brain maintain when requested work changes a target its maintenance workflow supports: README.md,
AGENTS.md or CLAUDE.md, a durable context doc, an existing project-installed skill under .agents/skills, or an
existing git-tracked source-catalog skill under skills/ where factual context corrections are prose-only. Installed
copies under managed agent-config roots remain excluded. When both trigger rules apply, mark both passes required. When
neither applies, mark neither required.
Present the plan as a progress update, then continue directly to coordination and implementation launch. Do not end the turn to request plan approval. If the user requested only a plan or the host prohibits writes, stop after planning.
Implementation Prompt Contract
Build a self-contained, outcome-first prompt for every implementation agent. Include:
- The requested overall outcome plus the agent's implementation brief, dependencies, and completion evidence.
- Its exact write scope, relevant repository constraints, known dirty-work boundaries, and prerequisite agent results.
- Its validation assignment per the Plan Phase's single validation owner: scoped checks it must run and, unless it owns validation, that it must not run aggregate checks. Never assign new validation machinery absent from the finalized plan.
- A pacing estimate matching its manifest sizing and any user- or adapter-imposed hard runtime limit. A soft estimate alone is not a stop condition. When blocked, report partial evidence and the concrete blocker or exhausted hard limit.
- This authority boundary: inspect, edit only within the assigned scope, and validate locally. Never commit, push, deploy, make external writes, or broaden scope, even when repository or host instructions favor prompt commits. The parent commits after reconciliation.
- The selected adapter's delegation and coordination context, including why the parent session and disjoint siblings
are not conflicting work and what unrelated exact-scope claim would justify returning
blocked. Delegates must not run coordination lifecycle commands. Guard enforcement depends on the adapter. Permit onlyai-coord status,ai-coord touched,ai-coord inbox,ai-coord msg, andai-coord finding. - This stopping rule: implement the finalized plan exactly. If infeasible or requiring redesign, return
blockedwith evidence instead of proposing a replacement plan. Continue after progress updates while authorized work remains. A milestone, offer to continue, or list of nonblocking decisions is not a completed result. - A requirement to return every result field:
status(completedorblocked),summary,changed_fileslisting only files actually touched,verificationlisting every command and outcome,residual_risks, andblockers.
Keep each agent prompt as compact as completeness allows: the shared outcome summary plus that agent's own brief, scope, and constraints. Never repeat the full plan text for each agent.
Add the selected adapter's command, permission, transport, and host-tool constraints without restating this contract.
Execution and Reconciliation
Before implementation wave 1, the parent promotes the plan's named draft to acquire the full manifest write-scope union.
Use the plan's recorded explicit start fallback only when promotion reports no draft named .... Require READY before
launching agents. When promotion or start queues or blocks, never end the turn to pause. Run ai-coord wait through the
adapter's wait mechanics in that case.
It also returns on non-readiness wake events: message, unknown coverage, work release, and the 300-second default
timeout. On each wake, handle MESSAGE events through ai-coord inbox, re-submit the recorded promote or start
command, and diagnose stale blockers.
Launch agents through the selected adapter in the planned strategy and dependency waves. Do not add agents or change models, efforts, scopes, or validation ownership merely because a worker is slow or quiet. Do revise the manifest and launch a narrowly scoped follow-on agent when completed work discovers an unplanned prerequisite covered by the requested outcome. Preserve stable IDs, dependency order, the eight-agent limit, and one aggregate-validation owner. Include follow-on agents in the final counts and report.
For each completed agent, require every shared result field. Treat changed_files as its authoritative post-pass scope.
Confirm reported files exist or were intentionally deleted, stay within scope, and carry verification evidence matching
the assignment. Pass relevant completed results to dependent agents.
After every implementation wave, reconcile all results with the current manifest and visible working tree without folding in unrelated concurrent changes. When the parent owns validation, run the assigned aggregate checks once during this reconciliation. Attribute aggregate-check failures before blocking: first rule out effects of the handoff's changes, formatters, hooks, and generators, including failures in downstream files outside its write scopes. Continue past a failure only when evidence establishes that it is unrelated and the handoff's own checks still pass.
Unexpected out-of-scope edits, same-wave overlap, or a failure caused by the handoff are blockers. In those cases, do not start dependents or polish, and do not silently take over implementation.
Failure Classification
A
status: blockedresult identifying a related in-repository fix or evidence change outside the worker's scope that is necessary for the requested outcome is follow-on work under the Contract's scope-expansion authority. It does not require fresh authorization. Let already-started independent agents finish. Gate dependents. Extend the manifest with the smallest sufficient scope. Satisfy repository coordination for that scope.Launch a new or reused implementation agent. Repeat until the outcome is complete or a genuine authorization boundary is reached.
- Ask the user only when continuation would change the requested outcome, require a material redesign or unrelated work, or cross an existing confirmation boundary such as destructive action, purchase, deployment, or external write. Never silently take over implementation or relaunch solely on a larger model.
- Treat a tool or infrastructure failure as retryable only when adapter-specific evidence supports that classification. Inspect partial edits first. Then use the adapter's same-agent mechanism for exactly one verify-and-continue attempt. This is not a new agent against the eight-agent limit. A second infrastructure failure blocks that agent and its dependents.
- Never classify an ordinary timeout, a returned blocker, silence, or task-level validation failure as infrastructure failure. Continue only work proven independent.
Skill Evolution Review
Keep verified repairs to skills used during the handoff separate from the optional review below. When user or repository instructions already authorize repairs, the parent owns their completion. Subagents report evidence without expanding their write scopes. One verified occurrence is enough, and a blocked main task does not prevent independent repairs.
Complete the handoff's required work or establish its blocker. Then finish independent repairs before the final report under the applicable maintenance policy. Plan Mode still prohibits edits.
After every required agent succeeds and the task is verified — never for a blocked, failed, or partial handoff — the
parent alone judges skill-evolution opportunities. Agents never make the recommendation. Recommend only a stable,
reusable workflow credibly likely to recur. Reject one-offs, rare contingencies, incidental cleanup, and speculative
value. For a new skill, state repo-local vs. global ~/projects/agent-skills placement. For a revision, name the exact
skills and why.
When a proposal clears this bar, append at most one compact suggestion (≤2 short sentences) to the adapter's existing
completion report. Keep its format unchanged. Then offer $task-handoff as the next action. Never auto-invoke
$task-handoff or create or revise anything during this review. When nothing qualifies, stay silent without a
placeholder.
Completion
- After every required agent completes, deduplicate the union of reported
changed_filesand confirm the combined verification evidence proves the finalized plan. - Before the completion report, fix remaining same-pattern sites the requested outcome covers through follow-on agents per Failure Classification. Never list them as optional or out-of-scope items.
- If any required agent failed, or the user explicitly asked to hurry or wrap up, skip every planned polish pass and
report the skip. Otherwise, invoke each required pass once with only its applicable paths from that union:
$code-polishfirst in its default simplify-then-review mode, then$agents-brain maintainwith its eligible context targets. Invoke only one when only one is required. Do not seed either pass with paths outside the union or let it broaden beyond its declared workflow authority. - Reconcile in-scope files actually changed by each polish pass into the final changed-files set and verification. A required polish pass that blocks, fails, or writes outside its supported scope blocks later polish and cross-repository commits.
- If requested work changes repositories on this machine other than the one where the handoff began, invoke
$commitfrom each additional repository after its work, validation, and required polish complete, scoped to files changed there. Do not commit incomplete, blocked, unexpected, or out-of-scope changes. Push when the request or standing user instructions authorize it. - When the handoff pushed commits and the repository defines CI workflows, such as
.github/workflows, watch the pushed head's runs before the completion report (gh run list --commit <sha>, thengh run watch <run-id>, in the background when the host supports it). Fix failures attributable to the handoff as follow-on work and report the CI outcome. When changed code behaves differently by platform and local checks covered only one, name the unverified platforms as a risk. - Finish with the selected adapter's completion report, including strategy, wave and agent counts, each agent's
requested configuration, status, and summary. Also include combined changed files and verification. When polish ran,
list each pass and outcome. Include automatic cross-repository commit hashes when any, and
Issues and caveatswhen present. Writenonefor other applicable empty values. Never expose machine result payloads. Group issues and caveats as
Resolved(verified fixes with evidence) andOpen(remaining problems, limitations, or unverified assumptions, with impact and next step). Omit empty groups and the whole section when empty. Report each item once. Put neutral context and agreed decisions under changes or scope. Reserveblockerfor something preventing required work andriskfor a specific potential adverse outcome.A workaround leaves an item open when the underlying issue still affects the result.
An
Openitem may cite only user-owned input, an action outside the repository, or a confirmation boundary (destructive action, purchase, deployment, or external write). When the task permits writes and an in-repository change resolves an item, make that change before the report under the standing maintenance authorization. Do not writeneeds owner decision,report-only, orresidual riskfor a routine engineering choice. Decide, make the change, and state the decision in the report.
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.

