The lead investigates, makes decisions, writes a bounded specification, and reviews the executor’s changes and verification evidence. The workflow covers native adapters, delegation limits, user approval, and failure handling, with reusable handoff and response templates. It also explains capability boundaries and adapter-specific constraints for OpenCode, Amp, Codex, and Pi.
The canonical home for this skill is orchestrating-fusion in jellydn/my-ai-tools
Separate judgment from mechanical implementation. A lead investigates, decides, specifies, reviews, and verifies. An executor edits only the bounded scope in the lead's specification.
Do not force every task through Fusion:
Prefer the installed native roles when the current tool exposes them:
fusion-lead primary; it can delegate to fusion-executor and cannot edit or run shell commands.fusion agent mode; its restricted tool surface exposes fusion_executor for implementation.fusion-lead for the specification, then spawn the sibling fusion-executor; a read-only child cannot safely escalate a nested child to workspace-write.Agent tool to run fusion-lead, then run the sibling fusion-executor; pi-subagents enforces the lead's tool allowlist and intentionally disables nested delegation.For other assistants, apply the workflow below using their native subagent/task tool. Treat role separation as advisory unless the harness actually restricts each role's tools or sandbox.
SKILL.md path in the handoff; do not paraphrase a skill into a lossy substitute or preload unrelated skills.OBJECTIVE
FILES
INTERFACES
CONSTRAINTS
SKILLS
VERIFICATIONSTATUS
EXECUTIVE SUMMARY
CHANGES
VERIFIED
SKILLS LOADED
RISKS
QUESTIONS
NEXT RECOMMENDED
KEY LEARNINGSVerification contract: the executor runs only checks the runtime permits or the user has approved. Exact read-only inspection commands usually run directly. Other checks may require approval, root mediation, or may be denied (OpenCode denial can terminate the child before an envelope returns). When a check cannot run inside the executor, it must report VERIFICATION REQUIRED with the exact command; the interactive root then runs that exact command and supplies the evidence before acceptance. Never treat a missing, declined, timed-out, or root-only check as passed.
Run independent executor tasks in parallel only when their write targets do not overlap. Never delegate commit, push, deployment, destructive operations, or external side effects without explicit user approval.
Prompt text is not a security boundary. Describe a role as enforced only when the harness removes mutation tools or applies a read-only sandbox. Shell access can bypass a missing edit tool, so a role with unrestricted shell is not mechanically read-only.
Pi skill paths: Fusion on Pi supports project-local skills under the task working directory (for example .agents/skills/.../SKILL.md or .pi/skills/...). The executor denies external-directory reads, so globally installed skills under ~/.agents/skills are not loadable inside the child. The interactive root mediates global skills when needed. Full dynamic global-skill support needs a larger adapter or upstream read-only external access.
Amp residuals: Amp authorizes fusion_executor from plugin-owned lead thread IDs after the lead is observed; until then it falls back to the complete expected lead agent definition (kind + name), which is not documented as a unique authorization principal across third-party plugins.
If the native executor is unavailable or its model/provider fails, report the blocker. Do not silently let a supposedly read-only lead edit as a fallback; ask the user to switch to normal unrestricted mode instead.
jellydn/my-ai-tools
1524f4a
Agentfusion_executorCanonical home
since Nov 30, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.