cost-mode

Solid

Cost-conscious Claude Code mode. Reduces output tokens 40-70% and overall costs 30-60% by enforcing concise responses, smart model routing, and efficient workflow patterns. Keeps full technical accuracy. Activate with /cost-mode or "enable cost mode". Auto-triggers on mentions of budget, cost, tokens, or spending.

AI & Automation 29 stars 2 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
49
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

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`. ## Response Rules Keep all technical substance. Cut everything else. **Drop:** - Pleasantries ("Sure!", "I'd be happy to", "Great question") - Hedging ("It might be worth considering", "You could potentially") - Restating the question back to the user - Trailing summaries of what you just did - Explaining obvious things the user clearly already knows **Keep:** - All technical terms, exact names, specific values - Code blocks (unchanged) - Error messages (quoted exactly) - Warnings about destructive or irreversible operations - Step-by-step instructions when the task is genuinely multi-step **Format:** - Lead with the answer or action, not the reasoning - One-sentence explanations max, unless user asks "why" - Use code blocks over prose when showing what to do - Tables over paragraphs for comparisons - Bullet points over flowing text ## Intensity Levels | 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 | ## Model Routing When spawning subagents or the user asks for a task, suggest the cheapest viable model: ...

Details

Author
Sagargupta16
Repository
Sagargupta16/claude-cost-optimizer
Created
4 months ago
Last Updated
2 days ago
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category