Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-selecting-models

БесплатноБез исполняемых скриптовНе проверен

Guidance for selecting appropriate AI model (sonnet vs haiku) based on task complexity, reasoning requirements, and performance needs. Use when implementing…

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

Об этом скилле

Selecting AI Models for Agents

Guidelines for choosing between sonnet and haiku models based on agent capabilities and task requirements.

When This Skill Loads

This Skill auto-loads when implementing agents or documenting model selection rationale.

Available Models

Sonnet (claude-sonnet-4-5)

Characteristics:

  • Advanced reasoning capabilities
  • Complex decision-making
  • Deep pattern recognition
  • Sophisticated analysis
  • Multi-step orchestration
  • Higher cost, slower performance

Use for: Complex, reasoning-intensive tasks

Haiku (claude-haiku-3-5)

Characteristics:

  • Fast execution
  • Straightforward tasks
  • Pattern matching
  • Simple decision-making
  • Cost-effective
  • Lower cost, faster performance

Use for: Simple, well-defined tasks

Decision Framework

Use Sonnet When Task Requires

✅ Advanced Reasoning

  • Analyzing technical claims for subtle contradictions
  • Distinguishing objective errors from subjective improvements
  • Detecting false positives in validation findings
  • Context-dependent decision-making
  • Inferring user intent from ambiguous requests

✅ Complex Pattern Recognition

  • Cross-referencing multiple documentation files
  • Identifying conceptual duplications (not just verbatim)
  • Detecting inconsistencies across architectural layers
  • Understanding domain-specific patterns
  • Recognizing semantic similarities

✅ Sophisticated Analysis

  • Verifying factual accuracy against authoritative sources
  • Assessing confidence levels (HIGH/MEDIUM/FALSE_POSITIVE)
  • Evaluating code quality and architectural decisions
  • Analyzing narrative flow and pedagogical structure
  • Determining fix safety and impact

✅ Multi-Step Orchestration

  • Coordinating complex validation workflows
  • Managing dependencies between validation steps
  • Iterative refinement processes
  • Dynamic workflow adaptation
  • Error recovery and retry logic

✅ Deep Web Research

  • Finding and evaluating authoritative sources
  • Comparing claims against official documentation
  • Version verification across multiple registries
  • API correctness validation
  • Detecting outdated information

Use Haiku When Task Is

✅ Pattern Matching

  • Extracting URLs from markdown files
  • Finding code blocks by language
  • Matching file naming patterns
  • Regular expression searches
  • Simple syntax validation

✅ Sequential Execution

  • File existence checks
  • URL accessibility validation
  • Cache file reading/writing
  • Date comparisons
  • Status reporting

✅ Straightforward Validation

  • Checking if files exist
  • Verifying link format (contains .md)
  • Counting lines or characters
  • Comparing timestamps
  • Simple YAML/JSON parsing

✅ No Complex Reasoning

  • Tasks with clear pass/fail criteria
  • No ambiguity or judgment required
  • Deterministic outcomes
  • No context analysis needed
  • No trade-off decisions

✅ High-Volume Processing

  • Checking hundreds of links
  • Validating many files
  • Batch operations
  • Performance-critical tasks
  • Cost-sensitive operations

Model Selection Matrix

Task Type Complexity Reasoning Required Recommended Model
Content creation High Yes (narrative, structure) Sonnet
Factual validation High Yes (source evaluation) Sonnet
Quality assessment High Yes (subjective judgment) Sonnet
Fix application Medium-High Yes (confidence assessment) Sonnet
Link checking Low No (exists/accessible) Haiku
File operations Low No (read/write/move) Haiku
Pattern extraction Low No (regex matching) Haiku
Cache management Low No (read/write/compare) Haiku

Agent-Specific Examples

Sonnet Examples

docs-checker (Complex validation):

model: sonnet

Reasoning:

  • Analyzes technical claims for contradictions
  • Deep web research for fact verification
  • Pattern recognition across multiple files
  • Complex decision-making for criticality levels
  • Multi-step validation orchestration

docs-fixer (Sophisticated analysis):

model: sonnet

Reasoning:

  • Re-validates findings to detect false positives
  • Distinguishes objective errors from subjective improvements
  • Assesses confidence levels (HIGH/MEDIUM/FALSE_POSITIVE)
  • Complex decision-making for fix safety
  • Trust model analysis (when to trust checker)

docs-tutorial-checker (Pedagogical analysis):

model: sonnet

Reasoning:

  • Evaluates narrative flow and learning progression
  • Assesses hands-on element quality
  • Analyzes visual completeness
  • Determines tutorial type compliance
  • Sophisticated quality judgment

Haiku Examples

docs-link-general-checker (Straightforward validation):

`

Полный SKILL.md на GitHub

Установить agent-selecting-models в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

metadata.json

FAQ

Что делает скилл agent-selecting-models?

Guidance for selecting appropriate AI model (sonnet vs haiku) based on task complexity, reasoning requirements, and performance needs. Use when implementing agents or justifying model selection.

Как установить скилл agent-selecting-models?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-selecting-models запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-selecting-models с