Updated 2d ago
by Sagargupta16
claude-cost-optimizer
Cut Claude Code costs with sourced levers -- prompt caching, model routing, Batch -- plus an installable skill, CLI tools, a cost calculator and 12 deep-dive guides
42 GitHub stars (42)
+4 in 17 days
| Period | New stars |
|---|---|
| Oct 20 | 0 |
| Oct 21 | +1 |
| Oct 22 | 0 |
| Oct 23 | 0 |
| Oct 24 | 0 |
| Oct 25 | +2 |
| Oct 26 | 0 |
| Oct 27 | 0 |
| Oct 28 | 0 |
| Oct 29 | 0 |
| Oct 30 | +1 |
| Oct 31 | 0 |
| Nov 1 | 0 |
| Nov 2 | 0 |
| Nov 3 | 0 |
| Nov 4 | 0 |
| Nov 5 | 0 |
- 1 skill (1 skills found in its SKILL.md files)
- 4 forks (4 forks)
- 2d ago last update (Last updated 2d ago)
Install
Skills CLI
npx skills add Sagargupta16/claude-cost-optimizer
Asks which agents to install it for. Add -g to install it for every project.
Claude Code
git clone https://github.com/Sagargupta16/claude-cost-optimizercp -r "claude-cost-optimizer/skills/cost-mode" ~/.claude/skills/
Copies the cost-mode skill into ~/.claude/skills/ for every project (use .claude/skills/ for one project).
Plugin
/plugin marketplace add Sagargupta16/claude-cost-optimizer
Run inside Claude Code if the repository ships a plugin marketplace, then pick plugins from /plugin.
Skills can run code on your machine — read the SKILL.md first.
What it does
In the author's own words, from each skill's SKILL.md.
-
cost-mode
Cost-conscious Claude Code mode. Cuts visible output and routes simple work to cheaper models 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.
skills/cost-mode/ on GitHub (opens in a new tab)SKILL.md
No skill matches that filter.
Review before you install
A skill is a set of instructions and scripts your agent will follow, and it can run code on your machine. Read the SKILL.md and any scripts first — this listing is not a security review.