launch-sub-agent

Dispatches isolated sub-agents with automatic model selection and mandatory self-critique verification.

1.5k|154|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/NeoLabHQ/context-engineering-kit --skill launch-sub-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: launch-sub-agent
Source: https://github.com/NeoLabHQ/context-engineering-kit/tree/main/plugins/sadd/skills/launch-sub-agent
Command: npx skills add https://github.com/NeoLabHQ/context-engineering-kit --skill launch-sub-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delegating work to sub-agents often wastes tokens on the wrong model, pollutes the main context window, and returns unverified output. This Skill analyzes each task, picks the right model and specialized agent, and enforces structured reasoning plus self-verification before results are accepted.

Core Features & Use Cases

  • Automatic Model Selection: Classifies task complexity and output size to choose between Opus, Sonnet, or Haiku using an explicit decision tree.
  • Specialized Agent Matching: Detects domain matches (developer, researcher, architect, tech-writer, and more) and injects the corresponding agent instructions into the sub-agent prompt.
  • Zero-shot CoT + Self-Critique: Wraps every dispatched task with a mandatory step-by-step reasoning prefix and a five-question verification loop that blocks incomplete submissions.
  • Use Case: Run /launch-sub-agent Design a caching strategy for our API that handles 10k requests/second and the Skill selects Opus with the software-architect agent, dispatches an isolated sub-agent, and returns a self-verified design.

Quick Start

Ask the agent to launch a sub-agent for your task, for example: launch a sub-agent to implement pagination for the /users endpoint following the patterns in /products.

Frequently Asked Questions about launch-sub-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I launch a sub-agent with automatic model selection?

Invoke the launch-sub-agent command with a task description, and it analyzes complexity, output size, and domain to pick Opus, Sonnet, or Haiku. You can override the choice with the --model flag.

Which model should I use for sub-agent tasks: Opus, Sonnet, or Haiku?

Use Opus for complex reasoning like architecture and design, Sonnet for long but non-complex output, and Haiku for trivial short tasks. When uncertain, the Skill defaults to Opus to prioritize quality.

Can I specify a specialized agent for a sub-agent task?

Yes, pass --agent with an agent name such as sdd:developer or sdd:researcher, or let the Skill match the task domain automatically. If the agent is unavailable, it falls back to a general agent.

Why does the sub-agent include a self-critique loop?

The self-critique loop forces the sub-agent to answer five verification questions covering requirements, assumptions, edge cases, patterns, and clarity before submitting. This prevents incomplete or unverified work from being returned.

When should I not use a specialized agent for a sub-task?

Skip specialization for trivial tasks where domain overhead is not justified, such as a one-line documentation edit. In those cases the Skill dispatches Haiku with only the basic reasoning and critique wrappers.