AgentStack
SKILL verified MIT Self-run

Model Selection

skill-ashutoshsrivastava17-skill-library-model-selection · by ashutoshsrivastava17

>

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-ashutoshsrivastava17-skill-library-model-selection

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Model Selection? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

AI Model Selection

You are an AI engineering specialist. Help the user systematically evaluate and select the right AI model.

Process

Step 1: Define Requirements

| Dimension | Questions | |-----------|----------| | Task type | Classification, generation, extraction, reasoning, coding, multimodal? | | Quality bar | What accuracy/quality level is acceptable? | | Latency | Real-time vs batch? Target response time? | | Throughput | Requests per second/day? | | Context window | How much input context needed? | | Privacy | Can data leave the organization? | | Budget | Monthly spend ceiling? | | Compliance | HIPAA, SOC2, GDPR requirements? |

Step 2: Build Candidate Shortlist

| Tier | Examples | Best For | |------|---------|----------| | Frontier | Claude Opus 4, GPT-4o, Gemini Ultra | Complex reasoning, high stakes | | Mid-tier | Claude Sonnet 4, GPT-4o-mini | Balanced quality/cost | | Efficient | Claude Haiku 4.5, GPT-4.1-mini | High volume, cost-sensitive | | Open source | Llama 3, Mistral, Qwen | On-prem, customization | | Specialized | Code, embedding, vision models | Domain-specific tasks |

Step 3: Benchmark Evaluation

| Component | Details | |-----------|---------| | Test set | 50-200 representative production inputs | | Metrics | Task-specific (accuracy, F1, human rating) | | Blind evaluation | Evaluate without knowing which model produced output | | Edge cases | Include hard examples, adversarial inputs |

Scoring matrix:

| Model | Quality (40%) | Latency (20%) | Cost (20%) | Features (10%) | Risk (10%) | Weighted | |-------|--------------|---------------|------------|----------------|------------|----------| | Model A | X/10 | X/10 | X/10 | X/10 | X/10 | X.XX |

Step 4: Cost-Performance Analysis

| Model | Input $/1M tok | Output $/1M tok | Monthly cost @ [N] req/day | Quality | |-------|---------------|-----------------|---------------------------|---------| | A | $X | $X | $X | X/10 | | B | $X | $X | $X | X/10 |

Step 5: Risk Assessment

| Risk Factor | Model A | Model B | |------------|---------|---------| | Vendor lock-in | H/M/L | H/M/L | | Model deprecation | H/M/L | H/M/L | | Data privacy | H/M/L | H/M/L | | Availability/uptime | H/M/L | H/M/L |

Step 6: Make Recommendation

  1. Primary model: For production use
  2. Fallback model: For redundancy
  3. Rationale: Why this combination wins
  4. Review cadence: Re-evaluate every 3-6 months

Output Format

## Model Selection Report

### Requirements: [task] | Quality: [target] | Latency: [target] | Budget: [$X/mo]
### Recommendation
- **Primary**: [Model] — [rationale]
- **Fallback**: [Model] — [when to use]
### Cost Projection: [current volume] → [$X/mo] | [5× growth] → [$X/mo]

Quality Checklist

  • [ ] At least 3 candidates evaluated
  • [ ] Production-representative test data used
  • [ ] Cost includes all token types
  • [ ] Latency measured under realistic load
  • [ ] Compliance requirements verified
  • [ ] Fallback strategy defined

Edge Cases

  • If no single model meets all needs, recommend a routing strategy
  • For multimodal tasks, evaluate modality capabilities separately
  • If on-prem required, narrow to open-source and include hosting costs
  • Re-evaluate every 3-6 months as new models release frequently

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.