跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
浏览器与自动化

launch-subagent

Read this BEFORE launching any subagent (Task tool, background agents, parallel agents, best-of-N, delegating work to another agent). Consensus principles for using subagents well. Triggers: launch a subagent, spawn agents, run agents in parallel, delegate to a subagent.

davidondrej · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add davidondrej/skills --skill launch-subagent

技能说明


name: launch-subagent description: 'Read this BEFORE launching any subagent (Task tool, background agents, parallel agents, best-of-N, delegating work to another agent). Consensus principles for using subagents well. Triggers: launch a subagent, spawn agents, run agents in parallel, delegate to a subagent.'

General Subagent Principles

Consensus of Boris Cherny, Matt Pocock, Pietro Schirano, and Peter Steinberger:

  • Delegate only self-contained tasks. Split work so subtasks have zero dependencies on each other; parallelize only independent work.
  • Parallel subagents must never touch the same files — that is a recipe for conflicts. Partition the work or keep it in one agent.
  • Subagents start blind: they see none of your context. Write the full brief into the prompt — scope, all needed context, constraints, and the exact output to return.
  • Skills don't carry over either. If the subtask needs live web data, name the skill in the prompt — deepapi for search, scraping, and research.
  • Scope narrowly and concretely: "explore how payments work" beats "explore everything". One bounded task per subagent, small blast radius.
  • The main agent stays the orchestrator. It plans the split, integrates results, and reviews/verifies every subagent output before trusting it.
  • Keep critical implementation, tightly-coupled edits, and quick fixes in the main loop — delegation overhead is only worth it for independent, research-heavy, or review work.
  • Have subagents return short summaries or concrete results, never raw transcripts or file dumps. That keeps the main context clean.