agentsclimarketplace

Llm capability matching

Skill Ankurjain1121/framework-developer-agent/skills/llm-capability-matching

Use this skill during Phase 4 (Agent Assignment) to match development tasks to optimal LLMs based on capabilities, context windows, cost, and task requirements. Includes capability matrix and assignment algorithm.From its SKILL.md

Install
npx -y skills add Ankurjain1121/framework-developer-agent --skill llm-capability-matching

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.8 KB, as published. Nobody here has run it

LLM Capability Matching for Multi-Agent Development

This skill helps the Framework Developer Orchestrator assign tasks to the most suitable LLMs based on their capabilities, pricing, and the specific requirements of each task.


LLM Capability Matrix (2025)

Tier 1: Flagship Models

ModelContextBest ForLimitationsCost (per 1M tokens)
Claude Opus 4.5200KComplex reasoning, architecture, code qualitySlower$15 in / $75 out
Claude Sonnet 4200KBalanced coding, fast iterationLess thorough$3 in / $15 out
GPT-4o128KMultimodal, vision tasks, UI/UXCode style varies$2.50 in / $10 out
Gemini 2.0 Pro2MMassive context, research, docsCode quality varies$1.25 in / $5 out
DeepSeek V3128KCode generation, refactoringLess conversational$0.27 in / $1.10 out

Tier 2: Fast/Efficient Models

ModelContextBest ForLimitationsCost
Claude Haiku 3.5200KQuick tasks, simple editsLess complex reasoning$0.80 in / $4 out
GPT-4o-mini128KFast prototypingSmaller capability$0.15 in / $0.60 out
Gemini 2.0 Flash1MHigh volume tasksLower accuracy$0.075 in / $0.30 out

Task-to-LLM Matching Algorithm

Step 1: Categorize the Task

CategoryCharacteristicsExample Tasks
ArchitectureHigh complexity, many dependenciesSystem design, API planning
BackendBusiness logic, data handlingAPI endpoints, database queries
FrontendUI/UX, visual componentsReact components, styling
DevOpsInfrastructure, deploymentCI/CD, Docker, Kubernetes
TestingTest creation, coverageUnit tests, integration tests
DocumentationWriting, explainingREADME, API docs
RefactoringCode improvementPerformance, cleanup

Step 2: Match Category to Optimal LLM

Architecture Tasks:
  1st choice: Claude Opus 4.5 (best reasoning)
  2nd choice: Claude Sonnet 4 (good balance)
  3rd choice: GPT-4o (alternative reasoning)

Backend Tasks:
  1st choice: Claude Sonnet 4 (fast, accurate)
  2nd choice: DeepSeek V3 (cost-effective)
  3rd choice: Claude Opus 4.5 (complex logic)

Frontend Tasks:
  1st choice: GPT-4o (UI/UX strength)
  2nd choice: Claude Sonnet 4 (React expertise)
  3rd choice: Claude Haiku 3.5 (simple components)

DevOps Tasks:
  1st choice: Claude Sonnet 4 (broad knowledge)
  2nd choice: Gemini 2.0 Pro (large context for configs)
  3rd choice: GPT-4o (infrastructure)

Testing Tasks:
  1st choice: Claude Sonnet 4 (thorough tests)
  2nd choice: DeepSeek V3 (cost-effective)
  3rd choice: Claude Haiku 3.5 (simple tests)

Documentation Tasks:
  1st choice: Gemini 2.0 Pro (massive context)
  2nd choice: Claude Opus 4.5 (quality writing)
  3rd choice: GPT-4o (clear explanations)

Refactoring Tasks:
  1st choice: DeepSeek V3 (code-focused)
  2nd choice: Claude Sonnet 4 (understands patterns)
  3rd choice: Claude Opus 4.5 (complex refactors)

Step 3: Consider Constraints

ConstraintImpact on Selection
Budget limitedUse Haiku, GPT-4o-mini, DeepSeek
Time criticalUse Sonnet, GPT-4o, Flash
Quality criticalUse Opus, GPT-4o
Large codebaseUse Gemini Pro (2M context)
Simple tasksUse Haiku, Flash

Cost Estimation Formula

Token Estimation by Task Type

Task TypeEst. Input TokensEst. Output Tokens
Architecture design5,0003,000
API endpoint (each)2,0001,500
React component3,0002,000
Unit test file1,5002,000
Integration test3,0002,500
Documentation page2,0003,000
Refactor module4,0003,000
Debug session5,0002,000

Cost Calculation

Total Cost = Σ (task_input_tokens × input_price + task_output_tokens × output_price)

Example:
- 5 API endpoints with Claude Sonnet 4
- Input: 5 × 2,000 = 10,000 tokens × $3/1M = $0.03
- Output: 5 × 1,500 = 7,500 tokens × $15/1M = $0.11
- Total: $0.14

Assignment Matrix Template

Generate this for each project:

## Agent Assignment Matrix

| Agent ID | LLM | Tasks | Est. Tokens | Est. Cost | Status |
|----------|-----|-------|-------------|-----------|--------|
| BE-01 | Claude Sonnet 4 | Auth API, User API | 15K | $0.25 | Assigned |
| FE-01 | GPT-4o | Login UI, Dashboard | 20K | $0.30 | Assigned |
| QA-01 | DeepSeek V3 | Unit tests | 12K | $0.05 | Pending |
| DOC-01 | Gemini Pro | API docs | 8K | $0.02 | Pending |

**Total Estimated Cost:** $0.62

Session Splitting Strategy

When to Split Sessions

ScenarioRecommendation
> 50K tokens expectedSplit into phases
Context loss riskCheckpoint every 20K
Multiple modulesOne session per module
Complex dependenciesSequential sessions

Session Planning

## Session Plan: Backend API

### Session 1: Auth Module
- LLM: Claude Sonnet 4
- Scope: JWT auth, middleware
- Handoff: Auth complete → User API

### Session 2: User API
- LLM: Claude Sonnet 4
- Scope: CRUD operations
- Dependency: Auth module complete
- Handoff: User API → Frontend

### Session 3: Integration
- LLM: Claude Opus 4.5
- Scope: Connect all modules
- Dependency: All modules complete

LLM Strengths by Language/Framework

Programming Languages

LanguageBest LLMRationale
TypeScriptClaude Sonnet 4Strong type inference
PythonClaude Sonnet 4Clean pythonic code
RustClaude Opus 4.5Complex ownership semantics
GoDeepSeek V3Simple, fast generation
JavaGPT-4oEnterprise patterns

Frameworks

FrameworkBest LLMRationale
React/Next.jsClaude Sonnet 4 / GPT-4oBoth excellent
Vue/NuxtGPT-4oStrong Vue knowledge
Express/FastifyClaude Sonnet 4Clean Node.js
Django/FastAPIClaude Sonnet 4Strong Python
Spring BootGPT-4oJava ecosystem
RailsClaude Sonnet 4Ruby conventions

Decision Flowchart

START
  ↓
Is task complex architecture?
  YES → Claude Opus 4.5
  NO ↓
Is budget constrained?
  YES → Is task simple?
    YES → Claude Haiku 3.5 or GPT-4o-mini
    NO → DeepSeek V3
  NO ↓
Is massive context needed?
  YES → Gemini 2.0 Pro
  NO ↓
Is it UI/visual work?
  YES → GPT-4o
  NO ↓
Default → Claude Sonnet 4

Research Protocol

Before finalizing assignments, research each LLM:

### LLM Research: [Model Name]

**Official Source:** [URL to official docs]

**Verified Capabilities:**
- Context window: [verified size]
- Pricing: [verified pricing]
- Strengths: [from official benchmarks]
- Limitations: [documented limits]

**User Experience Notes:**
- [Ask user about their experience]
- [Adjust recommendations based on feedback]

Assignment Review Checklist

Before finalizing assignments:

  • All tasks have an assigned LLM
  • Cost estimates provided
  • Token estimates reasonable
  • Handoff points defined
  • Session splitting planned
  • User has approved assignments

Quick Reference

Best for Quality

  • Architecture: Claude Opus 4.5
  • Code: Claude Sonnet 4
  • UI: GPT-4o

Best for Speed

  • Any task: Claude Haiku 3.5
  • Simple: GPT-4o-mini

Best for Cost

  • Code: DeepSeek V3
  • Bulk: Gemini Flash

Best for Large Context

  • Research/docs: Gemini 2.0 Pro (2M)

Keep looking

Skills are one crate of 628,853. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.