launch-sub-agent
Launch an intelligent sub-agent with automatic model selection based on task complexity, specialized agent matching, Zero-shot CoT reasoning, and mandatory…
Skill by NeoLabHQ
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/neolabhq-launch-sub-agent-306723
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
launch-sub-agent- Description
- Launch an intelligent sub-agent with automatic model selection based on task complexity, specialized agent matching, Zero-shot CoT reasoning, and mandatory self-critique verification
- License
- GPL-3.0
- Instructions
- 326 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# launch-sub-agent
<task>
Launch a focused sub-agent to execute the provided task. Analyze the task to intelligently select the optimal model and agent configuration, then dispatch a sub-agent with Zero-shot Chain-of-Thought reasoning at the beginning and mandatory self-critique verification at the end.
</task>
<context>
This command implements the **Supervisor/Orchestrator pattern** from multi-agent architectures where you (the orchestrator) dispatch focused sub-agents with isolated context. The primary benefit is **context isolation** - each sub-agent operates in a clean context window focused on its specific task without accumulated context pollution.
</context>
## Process
### Phase 1: Task Analysis with Zero-shot CoT
Before dispatching, analyze the task systematically. Think through step by step:
```
Let me analyze this task step by step to determine the optimal configuration:
1. **Task Type Identification**
"What type of work is being requested?"
- Code implementation / feature development
- Research / investigation / comparison
- Documentation / technical writing
- Code review / quality analysis
- Architecture / system design
- Testing / validation
- Simple transformation / lookup
2. **Complexity Assessment**
"How complex is the reasoning required?"
- High: Architecture decisions, novel problem-solving, multi-faceted analysis
- Medium: Standard implementation following patterns, moderate research
- Low: Simple transformations, lookups, well-defined single-step tasks
3. **Output Size Estimation**
"How extensive is the expected output?"
- Large: Multiple files, comprehensive documentation, extensive analysis
- Medium: Single feature, focused deliverable
- Small: Quick answer, minor change, brief output
4. **Domain Expertise Check**
"Does this task match a specialized agent profile?"
- Development: code, implement, feature, endpoint, TDD, tests
- Research: investigate, compare, evaluate, options, library
- Documentation: document, README, guide, explain, tutorial
- Architecture: design, system, structure, scalability
- Exploration: understand, navigate, find, codebase patterns
```
### Phase 2: Model Selection
Select the optimal model based on task analysis:
| Task Profile | Recommended Model | Rationale |
|--------------|-------------------|-----------|
| **Complex reasoning** (architecture, design, critical decisions) | `opus` | Maximum reasoning capability |
| **Specialized domain** (matches agent profile) | Opus + Specialized Agent | Domain expertise + reasoning power |
| **Non-complex but long** (extensive docs, verbose output) | `sonnet[1m]` | Good capability, cost-efficient for length |
| **Simple and short** (trivial tasks, quick lookups) | `haiku` | Fast, cost-effective for easy tasks |
| **Default** (when uncertain) | `opus` | Optimize for quality over cost |
**Decision Tree:**
```
Is task COMPLEX (architecture, design, novel problem, critical decision)?
|
+-- YES --> Use Opus (highest capability)
| |
| +-- Does it match a specialized domain?
| +-- YES --> Include specialized agent prompt
| +-- NO --> Use Opus alone
|
+-- NO --> Is task SIMPLE and SHORT?
|
+-- YES --> Use Haiku (fast, cheap)
|
+-- NO --> Is output LONG but task not complex?
|
+-- YES --> Use Sonnet (balanced)
|
+-- NO --> Use Opus (default)
```
### Phase 3: Specialized Agent Matching
If the task matches a specialized domain, incorporate the relevant agent prompt. Specialized agents provide domain-specific best practices, quality standards, and structured approaches that improve output quality.
**Decision:** Use specialized agent when task clearly benefits from domain expertise. Skip for trivial tasks where specialization adds unnecessary overhead.
**Agents:** Available specialized agents depends on project and plugins installed. Common agents from the `sdd` plugin include: `sdd:developer`, `sdd:researcher`, `sdd:software-architect`, `sdd:tech-lead`, `sdd:code-explorer`, `sdd:business-analyst`, `sdd:code-reviewer`, `sdd:tech-writer`. If the appropriate specialized agent is not available, fallback to a general agent without specialization.
**Integration with Model Selection:**
- Specialized agents are combined WITH model selection, not instead of
- Complex task + specialized domain = Opus + Specialized Agent
- Simple task matching domain = Haiku without specialization (overhead not justified)
**Usage:**
1. Read the agent definition
2. Include the agent's instructions in the sub-agent prompt AFTER the CoT prefix
3. Combine with Zero-shot CoT prefix and Critique suffix
### Phase 4: Construct Sub-Agent Prompt
Build the sub-agent prompt with these mandatory components:
#### 4.1 Zero-shot Chain-of-Thought Prefix (REQUIRED - MUST BE FIRST)
```markdown
## Reasoning Approach
Before taking any action, you MUST think through the problem systematically.
Let's approach this step by step:
1. "Let me first understand what is being asked..."
- What is the core objective?From NeoLabHQ/context-engineering-kit, GPL-3.0.
More from NeoLabHQ/context-engineering-kit
- 0.623score
write-tests
NeoLabHQ
Add missing test coverage for your local code changes by generating new test files (covers uncommitted and untracked changes, or the latest commit if…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.623score
multi-agent-patterns
NeoLabHQ
Design multi-agent architectures for complex tasks.
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.623score
review-pr
NeoLabHQ
Review an existing GitHub pull request and post inline review comments on its diff.
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.623score
brainstorm
NeoLabHQ
Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.621score
review-local-changes
NeoLabHQ
Review your local uncommitted working-tree changes (git diff plus untracked files) and return actionable improvement suggestions.
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.621score
load-pr-comments
NeoLabHQ
Use to load open/unresolved PR review comments then aggregate them as tasks in .specs/comments/*.md for parallel agents to fix.
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.621score
resolve-fixed-pr-comments
NeoLabHQ
Verify what PR review comments have been addressed (committed/pushed OR uncommitted local changes) and resolve the threads that are genuinely fixed or no…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.621score
launch-sub-agent
NeoLabHQ
Launch an intelligent sub-agent with automatic model selection based on task complexity, specialized agent matching, Zero-shot CoT reasoning, and mandatory…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.620score
root-cause-tracing
NeoLabHQ
Use when errors occur deep in execution and you need to trace back to find the original trigger - systematically traces bugs backward through call stack…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.620score
git-notes
NeoLabHQ
Use when adding metadata to commits without changing history, tracking review status, test results, code quality annotations, or supplementing commit messages…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.618score
create-pr
NeoLabHQ
Create pull requests using GitHub CLI with proper templates and formatting
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.618score
actualize
NeoLabHQ
Reconcile the project's FPF state with recent repository changes
SkillBFreshness: B★ 1.8KClaude Code +9
Signals
- Stars
- 1,782
- Forks
- 163
- Open issues
- 7
- Last commit (this folder)
- Aug 11, 2026 (2 months ago)
- Last release
- Aug 26, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Website
- neolab.gitbook.io/cek
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.621score
launch-sub-agent
NeoLabHQ
Launch an intelligent sub-agent with automatic model selection based on task complexity, specialized agent matching, Zero-shot CoT reasoning, and mandatory…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.324score
launch-sub-agent
NeoLabHQ
Launch an intelligent sub-agent with automatic model selection based on task complexity, specialized agent matching, Zero-shot CoT reasoning, and mandatory…
SkillBFreshness: B★ 1.8KClaude Code +9
More from NeoLabHQ
- 0.623score
brainstorm
NeoLabHQ
Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.623score
multi-agent-patterns
NeoLabHQ
Design multi-agent architectures for complex tasks.
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.623score
review-pr
NeoLabHQ
Review an existing GitHub pull request and post inline review comments on its diff.
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.623score
write-tests
NeoLabHQ
Add missing test coverage for your local code changes by generating new test files (covers uncommitted and untracked changes, or the latest commit if…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.621score
launch-sub-agent
NeoLabHQ
Launch an intelligent sub-agent with automatic model selection based on task complexity, specialized agent matching, Zero-shot CoT reasoning, and mandatory…
SkillBFreshness: B★ 1.8KClaude Code +9 - 0.621score
load-pr-comments
NeoLabHQ
Use to load open/unresolved PR review comments then aggregate them as tasks in .specs/comments/*.md for parallel agents to fix.
SkillBFreshness: B★ 1.8KClaude Code +9
Cite this page
launch-sub-agent skill. Agent Mart. https://agentmart.dev/skills/neolabhq-launch-sub-agent-306723 (last updated 2026-10-24)