agent-capability-matrix

v2026.09.24

Map task types to the best agent, skill, model, and fallback. Route any task to the right tool. Use when: which agent, route task, agent for this, best agent, capability matrix.

GitHub
Install command
npx skhub add scientiacapital/agent-capability-matrix
Markdown
SKILL.md
<objective> Provide a comprehensive mapping from task types to the optimal agent, skill, model tier, and fallback strategy. Eliminates guesswork when choosing which agent to use for a given task. </objective>

<quick_start> Find the right agent:

  1. Identify your task type (debug, review, build, explore, etc.)
  2. Look up the primary agent in the matrix below
  3. If primary fails, use the fallback
  4. Match model tier to task complexity </quick_start>

<success_criteria>

  • Task routed to the correct primary agent on first attempt
  • Fallback agent identified if primary is unavailable or insufficient
  • Model tier matched to task complexity (Haiku for search, Sonnet for code, Opus for architecture)
  • Zero-cost tools (TaskCreate, TeamCreate) used for progress tracking instead of API calls
  • Agent selection justified by the matrix rather than ad-hoc guessing </success_criteria>
<triggers> - "which agent", "route task", "agent for this", "best agent" - "capability matrix", "agent selection", "what tool should I use" - "task routing", "agent routing" </triggers>

Core Capability Matrix

Development Tasks

Task TypePrimary AgentFallbackModelNotes
Debug complex issuedebug-like-expert skillgeneral-purposesonnetHypothesis-driven
Quick bug fixgeneral-purpose—sonnetSimple fixes
Code reviewcode-reviewerfeature-dev:code-reviewerhaikuPattern matching
Architecture designPlan agentcode-architectopusComplex reasoning
Feature implementationgeneral-purposefeature-dev agentssonnetCode generation
Refactoringcode-simplifiergeneral-purposesonnetPreserve behavior
Security auditsecurity skillgeneral-purposesonnetOWASP patterns
Write teststesting skillgeneral-purposesonnetTDD workflow
API designapi-design skillgeneral-purposesonnetREST/GraphQL
API testingapi-testing skillgeneral-purposehaikuPostman/Bruno

Exploration & Research

Task TypePrimary AgentFallbackModelNotes
Find files by patternGlob tool (direct)Explore agent—Fastest
Search code contentGrep tool (direct)Explore agent—Fastest
Understand codebase areaExplore agentgeneral-purposehaikuThorough search
Deep code analysiscode-explorerExplore agentsonnetTraces execution
Research framework/toolresearch skillWebSearchsonnetStructured eval
Market researchresearch skillWebSearchsonnetCompany profiles

Infrastructure & Deployment

Task TypePrimary AgentFallbackModelNotes
Docker setupdocker-compose skillgeneral-purposesonnetLocal dev
GPU deploymentrunpod-deployment skillgeneral-purposesonnetRunPod
Database migrationsupabase-sql skillgeneral-purposesonnetSupabase
Stripe integrationstripe-stack skillgeneral-purposesonnetPayments
Voice AI pipelinevoice-ai skillgeneral-purposesonnetDeepgram+Cartesia
LangGraph agentslanggraph-agents skillgeneral-purposesonnetMulti-agent
Fast inferencegroq-inference skillgeneral-purposesonnetGROQ API
Chinese LLMsopenrouter skillgeneral-purposesonnetDeepSeek/Qwen
LLM fine-tuningunsloth-training skillgeneral-purposesonnetGRPO/SFT

Business & GTM

Task TypePrimary AgentFallbackModelNotes
GTM strategygtm-pricing skillgeneral-purposesonnetICP, positioning
Sales outreachsales-revenue skillgeneral-purposesonnetCold email
CRM integrationcrm-integration skillgeneral-purposesonnetClose/HubSpot
Content marketingcontent-marketing skillgeneral-purposesonnetB2B content
Data analysisdata-analysis skillgeneral-purposesonnetDashboards
Trading signalstrading-signals skillgeneral-purposesonnetTechnical analysis
Business modelbusiness-model-canvas skillgeneral-purposesonnet9-block canvas
Market differentiationblue-ocean-strategy skillgeneral-purposesonnetERRC framework

Workflow & Coordination

Task TypePrimary AgentFallbackModelNotes
Session start/endworkflow-orchestrator skill—sonnetDaily lifecycle
Parallel worktree devagent-teams skillworktree-manager skillsonnetFull isolation
In-session parallelsubagent-teams skillsequential executionhaiku-sonnetTask tool
Progress trackingTaskCreate/TaskUpdateTodoWrite—Native UI spinners
Team coordinationTeamCreate + SendMessagesubagent-teams skillhaiku-sonnetShared task list
Git workflowgit-workflow skillgeneral-purposehaikuCommits, PRs
Skill authoringextension-authoring skillgeneral-purposesonnetSkills, hooks
Project planningplanning-prompts skillPlan agentsonnetMeta-prompts
Cost trackingcost-metering skillmanual trackinghaikuBudget status

Decision Flowchart

START: What do I need to do?
│
├── Search/Find something?
│   ├── Know the file pattern? → Glob (direct)
│   ├── Know the code pattern? → Grep (direct)
│   └── Need to understand area? → Explore agent (haiku)
│
├── Write/Change code?
│   ├── Simple fix? → general-purpose (sonnet)
│   ├── New feature? → Check if a skill matches → skill or general-purpose (sonnet)
│   ├── Architecture? → Plan agent (opus)
│   └── Parallel build? → subagent-teams or agent-teams
│
├── Review/Validate?
│   ├── Code review? → code-reviewer (haiku)
│   ├── Security? → security skill (sonnet)
│   └── Tests? → testing skill (sonnet)
│
├── Research/Learn?
│   ├── Codebase? → Explore agent (haiku)
│   ├── Framework? → research skill (sonnet)
│   └── Market? → research skill (sonnet)
│
└── Business/GTM?
    └── Check Business section of matrix above

Model Tier Guide

TierModelCost/1M InBest For
FastHaiku 4.5$1.00Search, classify, review, simple tasks
StandardSonnet 4.6$3.00Code generation, reasoning, most tasks
PremiumOpus 4.6$5.00Architecture, complex decisions, planning
FreeTaskCreate$0Progress tracking (local UI, not an API call)

Default to Sonnet unless:

  • Task is search/classify → use Haiku (5x cheaper)
  • Task requires deep reasoning → use Opus (5x more capable)
  • Task is progress tracking → use TaskCreate with activeForm for live spinners (zero cost)

Cross-references: subagent-teams for in-session parallel agents, agent-teams for worktree-isolated parallel agents.

Deep dive: See reference/matrix-table.md, reference/selection-flowchart.md

Emit Outcome Sidecar

As the final step, write to ~/.claude/skill-analytics/last-outcome-agent-capability-matrix.json:

{"ts":"[UTC ISO8601]","skill":"agent-capability-matrix","version":"1.0.0","variant":"default",
 "status":"[success|partial|error]","runtime_ms":[estimated ms from start],
 "metrics":{"tasks_routed":[n],"agents_matched":[n],"fallbacks_used":[n]},
 "error":null,"session_id":"[YYYY-MM-DD]"}

Use status "partial" if some stages failed but results were produced. Use "error" only if no output was generated.

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

active/agent-capability-matrix-skill

Default branch

main

Latest commit

9e03af3

Tree SHA

5b28287