agentleFS
LetermeFlorentLetermeFlorent/claude-skills/claude-model-effort/SKILL.md

claude-model-effort

Skill0 starsChanged 9 days agoMITView on GitHub

Use when the user types /claude-model-effort, when about to start a subagent or a workflow agent on a Claude model (Claude Code, OpenCode with Claude) and its model or effort level must be picked, when a task seems to need a stronger or a cheaper model, or when a run is about to use the max effort level.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never the max effort level.

    line 20
  2. Distinctive:

    When the user or a project's instructions name a model or an effort for a task, theirs wins.

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Picking a Claude model and an effort level

This skill and the other-model-effort skill are the only ones in the repository that name models and effort levels. Every other skill leaves them out, so the choice is made here, once, for each agent you start. The tables below also serve other-model-effort, which maps them onto models that are not Claude.

Each task type has a minimum (the cheapest setting that does the job) and a ceiling. Anything between the two is a valid choice; start at the minimum and climb only when a run comes back wrong or stops short. The goal is the best result for the fewest tokens.

Rules

These hold for every agent, whatever the task.

  1. Never the max effort level. The ceiling in the table is already the upper bound; nothing goes above it.
  2. The effort level sets the depth of reasoning, not the quality of the model. The five levels are low, medium, high, xhigh, max. medium is the everyday default; xhigh is kept for long agentic runs and decisions that cost a lot when wrong.
  3. Set the model and the effort on the agent call itself (Claude Code: the model and effort parameters of the Agent tool, or the model and effort keys of an agent file's front matter).
  4. When the user or a project's instructions name a model or an effort for a task, theirs wins.
  5. Several task types in one agent: take the highest minimum among them.
  6. A task that fails twice at one setting moves up one step (effort first, then model), never past the ceiling. Past the ceiling, the task needs splitting, not a bigger model.

Models, lightest first: Haiku 5.5 (fast and cheap), Sonnet 5.5 (all-round), Opus 5.5 (deep reasoning).

Research and reading

Mostly reading, little reasoning.

TaskMinimumCeilingWhy
Web research: docs, watch, comparing sourcesHaiku lowSonnet lowHaiku summarises a page; crossing several sources needs Sonnet low, no higher.
File or folder search: glob, grep, locateHaiku lowHaiku mediumMechanical; medium keeps it from stopping early or skipping a check.
File reader: a doc, a PDF, summing up existing codeHaiku lowHaiku highPulling one fact is low; a long document is high, still no Sonnet.
Image reader: OCR, a screenshot, a chartHaiku lowHaiku highReadable text is low; describing a layout is high, still no Sonnet.
Logs or a stack traceHaiku mediumSonnet mediumLots of reading, little reasoning; Sonnet once the cause must be traced.

Code and development

The core of the work.

TaskMinimumCeilingWhy
Everyday code: a function, a component, a simple fixSonnet lowSonnet mediumLow for well-framed work, medium is the real working default.
Script writer: short bash or Python, throwaway automationHaiku mediumSonnet mediumHaiku low forgets edge cases.
Running tests, reading the failure, fixingSonnet mediumOpus mediumA failing test means tracing a cause; Opus avoids fix loops.
Browser test: chrome-bidi, screenshots, responsiveSonnet mediumOpus mediumSeeing the gap between expected and shown is visual reasoning.
Git and commits: message, diff summary, simple conflictHaiku lowHaiku mediumNo deep reasoning; the best place to save tokens.
Technical writing: README, API explanationsHaiku mediumSonnet mediumSonnet keeps tone and consistency over a long document.
Code review: a PR, traps and gapsSonnet mediumOpus mediumSpotting what is missing is harder than fixing.
Multi-file refactor: rename, move, spread an APISonnet mediumOpus mediumLots of context to keep consistent.
Regular expressionsSonnet mediumOpus mediumShort but tricky; a wrong regex passes simple tests.
SQL: joins, aggregates, a slow querySonnet mediumOpus mediumA badly thought join costs hours of database time.
Docker and CI/CD: Dockerfile, pipeline, deploy scriptSonnet mediumOpus mediumErrors only show at deploy time, often in production.
External API integration: auth and errorsSonnet mediumOpus mediumThe error cases are the real work.
Rust systems code: borrows, lifetimes, concurrencySonnet mediumOpus highThe compiler guides simple errors; the rest shows only in use.
Database migrations: Prisma, SQL, schema changesSonnet mediumOpus highPasses locally, breaks in production; rollback costs more than tokens.
Teams app and Microsoft SDK: host, permissionsSonnet mediumOpus mediumLittle code, many unforgiving host and permission rules.

Code optimisation

Opus is the floor here: Sonnet does not hold enough context to see what a rewrite breaks elsewhere.

TaskMinimumCeilingWhy
Rewriting for readability, structure or speedOpus mediumOpus highMedium for an isolated file, high once the area is shared.
Technical debt: dead code, duplication, useless dependenciesOpus mediumOpus highRemoving what looks unused is how a quiet feature breaks.

Specialised and visual

Visual and spatial work needs a high floor.

TaskMinimumCeilingWhy
3D model: scene, materials, geometry, exportOpus highOpus xhighBelow that, spatial consistency goes; xhigh is the working setting.
Shaders and GPU rendering: WGSL, wgpu, texturesOpus highOpus xhighA wrong shader does not crash, it shows something almost right.
Design and UI: mock-up, hierarchy, paletteSonnet mediumOpus mediumSeveral constraints held at once.
Accessibility: contrast, keyboard, screen readersSonnet mediumOpus mediumThe gaps are invisible to the eye.

Large code and long jobs

Past a few files, a mistake costs far more than the tokens: the aim is not to redo the work three times.

TaskMinimumCeilingWhy
Large feature: several files, API and UI togetherOpus lowOpus mediumThe plan matters more than typing speed.
Rewrite or migration: new framework, major versionOpus mediumOpus xhighThe whole project map must be held.
Understanding an unknown codebaseSonnet mediumOpus mediumLots of context to assemble.
Mass test generation: a whole moduleSonnet mediumOpus mediumFinding the edge cases takes reasoning.
Long agentic task: hours, many steps, few human checksOpus mediumOpus xhighStopping early costs a full relaunch.
Performance and profilingOpus mediumOpus xhighA fix for one case can break three others; measure first.
Architecture and stack choicesOpus mediumOpus xhighA bad decision here costs days.
Hard debugging: reproducible but not understood, regressionOpus mediumOpus xhighCheaper than three failed attempts at a lower setting.
Security review: injection, hardcoded secrets, vulnerable dependenciesOpus mediumOpus xhighAn audit that misses a flaw is worthless.

Data and content

Volume makes every token count.

TaskMinimumCeilingWhy
Bulk processing: classify, extract, route hundreds of itemsHaiku lowHaiku mediumBest value for volume.
Structured extraction: clean JSON from free textHaiku lowHaiku mediumForm, not substance; medium avoids missing or invented fields.
Translation and i18n: language files, consistent toneHaiku mediumSonnet mediumSonnet keeps the terminology of a whole file.
Excel and PDF generation: tables, formulas, layoutSonnet mediumOpus mediumReal-world data is dirty and the layout is checked by eye.

/claude-model-effort <task>

Find the row that matches the task (several rows: rule 5), then answer in the user's language with the minimum, the ceiling and the reason, in two or three lines. No row matches: take the closest one and say which. Never answer max.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.