From dstoic
Recommend optimal Claude model (haiku/sonnet/opus) for a task. Use when user asks "which model", "pick model", "model for", or before starting costly/complex tasks. Covers tech and non-tech tasks.
npx claudepluginhub digital-stoic-org/agent-skills --plugin dstoicThis skill uses the workspace's default tool permissions.
Classify user's task โ recommend optimal model with reasoning.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Classify user's task โ recommend optimal model with reasoning.
$ARGUMENTS| Model | When to Use |
|---|---|
| ๐ข Haiku | Simple transforms, formatting, regex, typo fix, status query, template fill, data extraction, factual lookup (no reasoning), file conversion |
| ๐ก Sonnet | Single-file coding, bug fix, code review, moderate debugging, test writing, PR review, standard refactoring, technical docs, API integration (known patterns) |
| ๐ด Opus | Multi-file refactor (3+ files), architecture/design decisions, complex debugging (multi-system), framework migration, security audit, novel algorithm design, system design with trade-offs |
| Model | When to Use |
|---|---|
| ๐ข Haiku | Summarization (<2K words), data extraction, status reports, simple translations, template filling, meeting notes formatting |
| ๐ก Sonnet | Content creation (blog, email, docs), research summaries, competitive analysis, standard business writing, persuasive proposals, marketing copy, customer communications |
| ๐ด Opus | Strategic planning, business model design, M&A analysis, organizational design, change management plans, competitive strategy, market entry decisions, crisis response, stakeholder management (competing interests), long-form reports (>2K words), executive presentations with nuance |
| Model | When to Use |
|---|---|
| ๐ข Haiku | Basic formatting, simple data viz suggestions, straightforward categorization |
| ๐ก Sonnet | Creative writing, brainstorming (single framework), persona development, user research synthesis, A/B test analysis, survey analysis |
| ๐ด Opus | Multi-framework brainstorming (SCAMPER + Starbursting + trade-off analysis), cross-session pattern detection, bias identification, retrospective analysis, ethical reasoning, strategic foresight, scenario planning |
| Model | When to Use |
|---|---|
| ๐ข Haiku | Simple conversions (PDF, EPUB), format checks, simple utilities, minimal reasoning |
| ๐ก Sonnet | Standard workflows, context management, serialization, most skills/commands (DEFAULT) |
| ๐ด Opus | Strategic analysis (brainstorm, retrospectives), multi-framework reasoning, high-stakes decisions, pattern detection across sessions |
Upgrade one tier if task has ANY of these signals:
Cap at Opus. If multiple escalators apply, still cap at Opus (don't "double upgrade").
When uncertain between two models:
Quality vs Cost trade-offs:
Speed considerations:
[emoji] **[Model]** โ [1-line reason]
๐ฐ Cost: [lowest/medium/highest] | โก Speed: [fastest/medium/slowest]
๐ก [Optional: "Consider [other model] if [condition]"]
Example output:
๐ด **Opus** โ Multi-stakeholder strategic decision with trade-offs
๐ฐ Cost: highest | โก Speed: slowest
๐ก Consider Sonnet if this is exploratory (draft) rather than final recommendation
| Task | Recommendation | Rationale |
|---|---|---|
| "fix typo in README" | ๐ข Haiku | Trivial single edit, no reasoning |
| "convert PDF to markdown" | ๐ข Haiku | Simple conversion, no decisions |
| "debug flaky integration test" | ๐ก Sonnet | Single-system debugging, moderate reasoning |
| "refactor auth across 15 files" | ๐ด Opus | Multi-file (3+ escalator) + architectural decisions |
| "design database schema for e-commerce" | ๐ด Opus | Architectural decision with trade-offs, long-term impact |
| "plan microservices migration strategy" | ๐ด Opus | Complex architectural planning + strategic impact escalator |
| Task | Recommendation | Rationale |
|---|---|---|
| "summarize this meeting transcript" | ๐ข Haiku | Simple text transformation, <2K words |
| "extract action items from notes" | ๐ข Haiku | Data extraction, no reasoning |
| "write blog post about AI trends" | ๐ก Sonnet | Creative writing, moderate reasoning |
| "draft sales proposal for enterprise client" | ๐ก Sonnet | Persuasive writing, moderate reasoning |
| "analyze competitor pricing strategy" | ๐ก Sonnet | Research/analysis, single framework |
| "plan market entry strategy for Europe" | ๐ด Opus | Strategic impact + cross-functional + ambiguity escalators |
| "design organizational restructuring plan" | ๐ด Opus | Political sensitivity + multiple stakeholders + strategic impact |
| "M&A due diligence analysis" | ๐ด Opus | Strategic stakes + cross-functional synthesis required |
| "crisis communication plan for data breach" | ๐ด Opus | Political sensitivity + stakes + multiple stakeholders |
| Task | Recommendation | Rationale |
|---|---|---|
| "translate paragraph to French" | ๐ข Haiku | Simple language transform, no reasoning |
| "brainstorm product names (single session)" | ๐ก Sonnet | Creative generation, moderate reasoning |
| "brainstorm with SCAMPER + trade-off analysis" | ๐ด Opus | Multi-framework escalator (SCAMPER + weighted scoring) |
| "retrospect: analyze collaboration patterns" | ๐ด Opus | Pattern detection + bias identification escalators |
| "identify blindspots in strategy" | ๐ด Opus | Bias identification + ethical reasoning escalators |
| "plan 3-day conference with speakers" | ๐ด Opus | Complex scheduling + multiple stakeholders + constraints |
| Task | Recommendation | Rationale |
|---|---|---|
| "command: convert EPUB to markdown" | ๐ข Haiku | Simple workflow, minimal reasoning |
| "command: save session context" | ๐ก Sonnet | Context management, serialization logic |
| "command: brainstorm with research + SCAMPER" | ๐ด Opus | Multi-framework escalator + strategic analysis |
| "command: retrospect domain learnings" | ๐ด Opus | Pattern detection across sessions + bias identification |
| "skill: format code with prettier" | ๐ข Haiku | Simple deterministic task |
| "skill: OpenSpec section implementation" | ๐ก Sonnet | Standard workflow, moderate reasoning |
| "agent: explore codebase architecture" | ๐ด Opus | Complex exploration + architectural synthesis |