Agent Task Mapping
- Leverage native parallel subagent dispatch and 200k+ context windows where available.
Activation Conditions
Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
Use this skill when:
- Determining which specialized agent to delegate a task to
- Reviewing agent capabilities and expertise areas
- Trying to match a specific task to an appropriate specialist
- Needing quick reference for available agents and their purposes
Available Agents
See Agent Details for comprehensive information about each agent:
- Description and specialization areas
- When to use each agent
- Typical tasks handled by each
Cross-Client Portability
This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
workflow in project instructions when folder discovery is unavailable.
- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
- Codex: install or sync the folder into
$CODEX_HOME/skills/agent-task-mapping and restart Codex after major changes.
MCP Availability And Fallback
Preferred MCP Server: None required
- Fallback prompt: "Use the Agent Task Mapping skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding."
- Do not claim an MCP operation was used when the active host does not expose it.
- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.
Anti-Patterns
- Delegating or evaluating without a scoped success condition: The output becomes hard to review and easy to overbuild.
- Skipping the evidence step: A workflow that cannot be re-checked quickly is not ready for handoff.
- Bundling unrelated subtasks together: It creates noisy prompts, weaker ownership, and avoidable integration risk.
Verification Protocol
Before claiming "skill applied successfully":
- Pass/fail: The Agent Task Mapping workflow names the agent boundary, delegated scope, and expected return artifact.
- Pass/fail: Context passed to helpers is minimal, task-local, and free of hidden expected answers.
- Pass/fail: Results are integrated only after evidence, diffs, or citations are checked by the controller.
- Pressure-test scenario: Run the workflow on two similar tasks that must not share assumptions or leaked context.
- Success metric: Zero context leakage; every delegated output is independently reviewable.
Examples & Scripts
Quick Reference
| Agent Name |
Best For |
| Code Explainer |
Analyzing and documenting existing code |
| UI Designer |
UI/UX improvements and design implementations |
| Universal Janitor |
Code cleanup, simplification, and tech debt removal |
| Critical Thinking |
Challenging assumptions and exploring alternatives |
| Next.js Expert |
Next.js 15/16+ architecture and optimizations |
| Expert React Frontend Engineer |
React 19+ patterns and best practices |
| Playwright Tester Mode |
Comprehensive testing with exploratory testing |
| Tech Writer |
Creating formal developer documentation |
| Create PRD Chat Mode |
Generating Product Requirements Documents |
| Specification |
Generating or updating specification documents |
| Plan |
Research and outlining multi-step plans |
Decision Framework
When choosing an agent for delegation:
- Identify task type: Is it documentation, testing, two-stage review (spec compliance first, then code quality), or development?
- Match to specialization: Find agent whose description aligns with task
- Check availability: Verify agent exists and has proper frontmatter configuration
- Use specific agentName: Delegate using exact name from agent's frontmatter
Task Categories
Code Analysis & Documentation
- Use Code Explainer for analyzing existing code patterns
- Use Tech Writer for formal developer documentation
- Use Specification for generating feature specifications
Code Quality & Maintenance
- Use Universal Janitor for cleanup and tech debt remediation
- Use Critical Thinking for challenging assumptions
Development Work
- Use Next.js Expert for Next.js 15/16+ architecture and optimizations
- Use Expert React Frontend Engineer for React 19+ patterns
Testing
- Use Playwright Tester Mode for comprehensive web application testing
Planning & Requirements
- Use Plan for research and outlining multi-step plans
- Use Create PRD Chat Mode for generating Product Requirements Documents
Design
- Use UI Designer for UI/UX improvements and design implementations
Related Skills
- custom-agent-usage: Use it when the workflow also needs loading and invoking custom agent definitions safely.
- subagent-delegation: Use it when the workflow also needs safe, scoped delegation to helper agents.
- subagent-driven-development: Use it when the workflow also needs plan-driven implementation with reviewer loops.
- agentic-eval: Use it when the workflow also needs rubric-driven evaluation loops.
1---2name: agent-task-mapping3description: Map tasks to specialist agents. Use when choosing which agent for a job, comparing agent capabilities, or routing to React/Next.js/Playwright/docs/code-quality experts. Keywords: which agent, best agent for this, delegate to expert, agent capability mapping.4---5# Agent Task Mapping
6
7- Leverage native parallel subagent dispatch and 200k+ context windows where available.
8
9
10## Activation Conditions
11
12Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
13
14Use this skill when:
15- Determining which specialized agent to delegate a task to
16- Reviewing agent capabilities and expertise areas
17- Trying to match a specific task to an appropriate specialist
18- Needing quick reference for available agents and their purposes
19
20## Available Agents
21
22See [Agent Details](./references/agent-details.md) for comprehensive information about each agent:
23- Description and specialization areas
24- When to use each agent
25- Typical tasks handled by each
26
27<!-- MCP:START -->
28
29<!-- PORTABILITY:START -->
30## Cross-Client Portability
31
32This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
33
34- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
35 workflow in project instructions when folder discovery is unavailable.
36- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
37- Codex: install or sync the folder into
38 `$CODEX_HOME/skills/agent-task-mapping` and restart Codex after major changes.
39
40<!-- PORTABILITY:END -->
41
42## MCP Availability And Fallback
43
44Preferred MCP Server: None required
45
46- Fallback prompt: "Use the Agent Task Mapping skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding."
47- Do not claim an MCP operation was used when the active host does not expose it.
48- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.
49
50<!-- MCP:END -->
51
52## Anti-Patterns
53
54- Delegating or evaluating without a scoped success condition: The output becomes hard to review and easy to overbuild.
55- Skipping the evidence step: A workflow that cannot be re-checked quickly is not ready for handoff.
56- Bundling unrelated subtasks together: It creates noisy prompts, weaker ownership, and avoidable integration risk.
57
58## Verification Protocol
59
60Before claiming "skill applied successfully":
61
621. Pass/fail: The Agent Task Mapping workflow names the agent boundary, delegated scope, and expected return artifact.
632. Pass/fail: Context passed to helpers is minimal, task-local, and free of hidden expected answers.
643. Pass/fail: Results are integrated only after evidence, diffs, or citations are checked by the controller.
654. Pressure-test scenario: Run the workflow on two similar tasks that must not share assumptions or leaked context.
665. Success metric: Zero context leakage; every delegated output is independently reviewable.
67
68## Examples & Scripts
69
70- [Delegation Examples](./examples/delegation-example.md) — Code examples for delegating to different agents
71- [Agent Discovery Script](./scripts/agent-discovery.js) — Node.js script to discover available agents
72
73## Quick Reference
74
75| Agent Name | Best For |
76|------------|-----------|
77| Code Explainer | Analyzing and documenting existing code |
78| UI Designer | UI/UX improvements and design implementations |
79| Universal Janitor | Code cleanup, simplification, and tech debt removal |
80| Critical Thinking | Challenging assumptions and exploring alternatives |
81| Next.js Expert | Next.js 15/16+ architecture and optimizations |
82| Expert React Frontend Engineer | React 19+ patterns and best practices |
83| Playwright Tester Mode | Comprehensive testing with exploratory testing |
84| Tech Writer | Creating formal developer documentation |
85| Create PRD Chat Mode | Generating Product Requirements Documents |
86| Specification | Generating or updating specification documents |
87| Plan | Research and outlining multi-step plans |
88
89## Decision Framework
90
91When choosing an agent for delegation:
92
931. **Identify task type**: Is it documentation, testing, two-stage review (spec compliance first, then code quality), or development?
942. **Match to specialization**: Find agent whose description aligns with task
953. **Check availability**: Verify agent exists and has proper frontmatter configuration
964. **Use specific agentName**: Delegate using exact name from agent's frontmatter
97
98## Task Categories
99
100### Code Analysis & Documentation
101- Use **Code Explainer** for analyzing existing code patterns
102- Use **Tech Writer** for formal developer documentation
103- Use **Specification** for generating feature specifications
104
105### Code Quality & Maintenance
106- Use **Universal Janitor** for cleanup and tech debt remediation
107- Use **Critical Thinking** for challenging assumptions
108
109### Development Work
110- Use **Next.js Expert** for Next.js 15/16+ architecture and optimizations
111- Use **Expert React Frontend Engineer** for React 19+ patterns
112
113### Testing
114- Use **Playwright Tester Mode** for comprehensive web application testing
115
116### Planning & Requirements
117- Use **Plan** for research and outlining multi-step plans
118- Use **Create PRD Chat Mode** for generating Product Requirements Documents
119
120### Design
121- Use **UI Designer** for UI/UX improvements and design implementations
122
123
124---
125
126## Related Skills
127
128- [custom-agent-usage](../custom-agent-usage/SKILL.md): Use it when the workflow also needs loading and invoking custom agent definitions safely.
129- [subagent-delegation](../subagent-delegation/SKILL.md): Use it when the workflow also needs safe, scoped delegation to helper agents.
130- [subagent-driven-development](../subagent-driven-development/SKILL.md): Use it when the workflow also needs plan-driven implementation with reviewer loops.
131- [agentic-eval](../agentic-eval/SKILL.md): Use it when the workflow also needs rubric-driven evaluation loops.