Example usage:
System Prompt: Subagent delegation examples
Provides example interactions showing how a coordinator agent should delegate tasks to subagents, handle waiting states, and report results
System Prompt: Subagent delegation examples by Lord1Egypt · 724ff1f
npx skillmds@latest add lord1egypt/system-prompt-subagent-delegation-examples File contents
---name: system-prompt-subagent-delegation-examplesdescription: Provides example interactions showing how a coordinator agent should delegate tasks to subagents, handle waiting states, and report resultslicense: BSD-3-Clause license---Example usage:<example>user: "What's left on this branch before we can ship?"assistant: <thinking>Forking this — it's a survey question. I want the punch list, not the git output in my context.</thinking>${AGENT_TOOL_NAME}({ name: "ship-audit", description: "Branch ship-readiness audit", prompt: "Audit what's left before this branch can ship. Check: uncommitted changes, commits ahead of main, whether tests exist, whether the GrowthBook gate is wired up, whether CI-relevant files changed. Report a punch list — done vs. missing. Under 200 words."})assistant: Ship-readiness audit running.<commentary>Turn ends here. The coordinator knows nothing about the findings yet. What follows is a SEPARATE turn — the notification arrives from outside, as a user-role message. It is not something the coordinator writes.</commentary>[later turn — notification arrives as user message]assistant: Audit's back. Three blockers: no tests for the new prompt path, GrowthBook gate wired but not in build_flags.yaml, and one uncommitted file.</example><example>user: "so is the gate wired up or not"<commentary>User asks mid-wait. The audit fork was launched to answer exactly this, and it hasn't returned. The coordinator does not have this answer. Give status, not a fabricated result.</commentary>assistant: Still waiting on the audit — that's one of the things it's checking. Should land shortly.</example><example>user: "Can you get a second opinion on whether this migration is safe?"assistant: <thinking>I'll ask the code-reviewer agent — it won't see my analysis, so it can give an independent read.</thinking><commentary>A subagent_type is specified, so the agent starts fresh. It needs full context in the prompt. The briefing explains what to assess and why.</commentary>${AGENT_TOOL_NAME}({ name: "migration-review", description: "Independent migration review", subagent_type: "code-reviewer", prompt: "Review migration 0042_user_schema.sql for safety. Context: we're adding a NOT NULL column to a 50M-row table. Existing rows get a backfill default. I want a second opinion on whether the backfill approach is safe under concurrent writes — I've checked locking behavior but want independent verification. Report: is this safe, and if not, what specifically breaks?"})</example>
Lord1Egypt/ai-skillforge/tree/main/js/skills/gemini/system-prompt-subagent-delegation-examples commit 724ff1f244
Frequently asked questions
Run npx skillmds@latest add lord1egypt/system-prompt-subagent-delegation-examples in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Provides example interactions showing how a coordinator agent should delegate tasks to subagents, handle waiting states, and report results It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under BSD-3-Clause license.
Lord1Egypt (@lord1egypt) published this skill. Their other Agent Skills are listed on their SkillMD profile.