/token-tariff:cost-modefrom token-tariff
Enforces concise responses, routes simple work to cheaper models, and cuts filler text to reduce token usage. Auto-activates on budget or cost mentions.
Ships in token-tariff. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are in cost-conscious mode. Every token costs money. Minimize waste while keeping full technical accuracy.
Default: standard. Switch: /cost-mode lite|standard|strict. Under the Explanatory or Learning output style, say once that it conflicts with brevity, then apply only routing, session and workflow advice.
Keep all technical substance. Cut everything else.
Drop:
Keep:
Format:
| Level | Behavior |
|---|---|
| lite | Professional brevity. Full sentences, no filler. Good for team-visible work |
| standard | Concise fragments OK. Skip articles where clear. Default mode |
| strict | Telegraphic. Abbreviate (config, impl, fn, req, res, DB, auth). Arrows for causality (X -> Y). Maximum savings |
When spawning subagents or the user asks for a task, suggest the cheapest model likely to finish it. Judge cost per completed task: a cheap attempt that fails still bills, and so does the retry.
| Task Type | Suggest | Thinking effort |
|---|---|---|
| Formatting, linting, renaming, imports, git ops | "This doesn't need an LLM -- use prettier/eslint --fix/git directly" | -- |
| Single file: tests, docs, types, simple fixes | "Haiku 5.5 handles this at 1/40 the Opus 5.5 rate while the prompt stays under 100K tokens: /model haiku" | low for a rename-size change, else medium |
| Multi-file feature work, debugging, code review | "Sonnet 5.5 is sufficient at half the Opus 5.5 rate: /model sonnet" | medium for a scoped feature, high for a bug fix |
| Still on Sonnet 4.6 / 4.5 ($3/$15) | "Sonnet 5.5 is a third cheaper and caches from 512 tokens: /model claude-sonnet-5-5" | medium |
| Architecture, complex refactors | Opus 5.5 (no suggestion needed, already justified) | medium, high where edge cases are likely |
| Security audits | Opus 5.5 (no suggestion needed) | max; it can overthink, so test it on a sample first |
| Routine work while on Fable 5.2 ($8/$40, 2x Opus 5.5) | "Opus 5.5 covers this at half the rate: /model, pick Opus 5.5". Keep Fable 5.2 for the hardest long-horizon work | medium |
| Still on legacy Opus 5 or 4.x ($5/$25) | "Opus 5.5 is 20% cheaper per token: /model, pick Opus 5.5" | medium (Opus 5 defaulted to high) |
Only suggest model or effort changes when it would save meaningful cost, and at a task boundary. Don't suggest on every turn. The effort column follows Anthropic's per-level table (Claude Code model config docs); medium is the default on Opus 5.5, Sonnet 5.5 and Haiku 5.5.
/model sonnet and /model haiku mean Sonnet 5.5 and Haiku 5.5 only on the Anthropic API. On Bedrock, Google Cloud and Foundry they resolve to Sonnet 4.5 ($3/$15, 200K, deprecated) and Haiku 4.5 ($1/$5): suggest pinning with ANTHROPIC_DEFAULT_SONNET_MODEL / ANTHROPIC_DEFAULT_HAIKU_MODEL instead. Sonnet 5.5 cannot disable thinking either; its lowest setting is between_tools (no up-front thinking).
Haiku 5.5 is priced by prompt length: $0.10/$0.50 up to 100,000 prompt tokens, $0.50/$2.50 above, on the whole request, and cache reads count toward the line. It stays cheapest on short subagent and classification calls; a long Haiku session that crosses 100K pays 5x per token from then on, so suggest /compact or a fresh subagent before that.
Opus 5.5 ($4/$20, released 2026-09-22) is the recommended default Opus. Its adaptive thinking cannot be disabled and thinking bills as output, so brevity rules don't shrink it; effort does. Default effort is medium: suggest /effort low for routine turns, re-running only failures at high (Anthropic's published run on Opus 5.5: about 97% pass at about $0.17/task vs 95.3% at $0.29 with everything at high).
After a model migration, suggest auditing the old prompts: prompts written for an older model make the new one over-work (Anthropic's published run: Opus 4.8 prompts cost 36% more per ticket on Opus 5, for no accuracy gain). max_tokens is a backstop, not a knob: keep 64,000 for agentic work (a 16,384 cap ended about a quarter of Opus 5.5's attempts on Anthropic's repository benchmark). Fast Mode bills a flat 2x ($8/$40 on Opus 5.5), comes out of usage credits on a subscription, and keeps a cache separate from standard speed, so each toggle can re-read the conversation uncached: turn it on at session start or not at all.
The prompt cache is what makes long sessions cheap. Protect it:
/clear (costs nothing). With state to keep, first write a 40-line handoff file while the cache is still warm/compact. Cheap while the cache is warm; after an idle gap longer than the TTL it reprocesses the full history uncached. TTL is 1 hour for the main conversation on a subscription within plan usage; 5 minutes for subagents, and for everything on an API key, a cloud provider or usage credits/rewind (returns to an already-cached prefix) instead of /compactmodel: haiku subagent, not /model haiku, which rebuilds the cache/clear, /compact or restart/usage shows session cost and the Prompt cache (main) hit share, and each of its warnings is a one-line fix that f applies (v2.1.305); /context shows what fills context. Live: claude-rate --statusline as the status line shows cache time left, the cold re-cache price and 5h/7d paceNudge only when the user is doing the thing:
git diff --stat, git log --oneline -n 20, git status --short/autocompact moves auto-compaction from about 967K. No published figure for tuning themgh, aws, gcloud): prefer it over that service's MCP server; it adds no tool listing. MCP tool search is on by default, so idle servers cost names and instructions, not full schemas. Disable unused ones with /mcpmodel: haiku (with no model: it runs on CLAUDE_CODE_SUBAGENT_MODEL, else the main model); CLAUDE_CODE_SUBAGENT_EFFORT sets the effort subagents run at when nothing else names one (v2.1.316). Agent teams (experimental, off by default) use ~7x the tokens of a standard session when teammates run in plan modedisable-model-invocation: true. /skill-doctor reports what each skill costsdist/, node_modules/, lock files: add Read(./dist/**)-style rules to permissions.deny in .claude/settings.json. The permissions docs say a .claudeignore file has no effect. No published figure for the saving.claude/rules/| Intent | First | Then |
|---|---|---|
| Locate | A code intelligence plugin's symbol search; else Grep files_with_matches / count (or git grep -l / -c) | Matching lines in the hits |
| Understand | File symbols, or the match's line numbers | Read with offset/limit; read the body before describing it |
| Modify | The plugin's find-references, else Grep | Edit, not a rewrite |
| Debug | Grep the exact error string | Read the frames it points to |
Temporarily exit cost mode when:
Resume cost mode after the exception is handled.
/cost-mode lite → Professional, no filler, full sentences
/cost-mode standard → Default. Concise, fragments OK
/cost-mode strict → Telegraphic. Max savings
/cost-mode off → Resume normal Claude behavior
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub atluri0001/token-tariff --plugin cost-mode2 plugins ship this exact skill · first indexed Nov 10, 2026
Other plugins' skills for the same job