savings

savings is a skill for Claude Code from ypollak2/llm-router. It costs 15 tokens per session (428 once invoked), scanned A, original, MIT.

A tracking tool for measuring money saved when work is sent to lower-cost language models. It also shows usage and routing-policy information.

In plain words
What is it for?
Use it to review savings by time period, inspect model usage, open a local dashboard, and send weekly summaries to Slack or Discord. It can also show routing policies and recent audit decisions.
Why use it?
It helps you see whether model routing is reducing costs and spot unusual spending. It replaces manual cost checks and team updates.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument; mentions Codex.

Part of the llm-router plugin — 4 skills, 5 commands, 2 agents, 7 hooks, 1 MCP server shipped together

Good fit Use it to review savings by time period, inspect model usage, open a local dashboard, and send weekly summaries to Slack or Discord. It can also show routing policies and recent audit decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ypollak2/llm-router/savings
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ypollak2/llm-router --skill savings
Clone the repo
git clone --depth 1 https://github.com/ypollak2/llm-router

Made for: Claude Code.

Or install llm-router, the plugin that ships this one along with the rest of its 4 skills, 5 commands, 2 agents, 7 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for savings

README.md
[![agentmods](https://agentmods.dev/badge/skills/ypollak2/llm-router/savings/github.svg)](https://agentmods.dev/skills/ypollak2/llm-router/savings)
Your own site
<a href="https://agentmods.dev/skills/ypollak2/llm-router/savings"><img src="https://agentmods.dev/badge/skills/ypollak2/llm-router/savings/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for savings

Your own site · 80×15
<a href="https://agentmods.dev/skills/ypollak2/llm-router/savings"><img src="https://agentmods.dev/badge/skills/ypollak2/llm-router/savings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00428
Opus 5.5 $0.00006 $0.00171
Sonnet 5.5 $0.00003 $0.00086
Haiku 4.5 $0.00002 $0.00043

Measured 2mo ago against content hash 1f8187ec6345, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

savings scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/savings/SKILL.md · 62 lines

What it actually says

LLM Router — Savings Tracking Skill

Track and report how much you've saved by routing tasks to cheaper models.

Viewing Savings

llm_savings          — Cross-session savings by period (today / week / month / all time)
llm_usage("all")     — Full dashboard: subscription %, Codex status, savings, providers
llm_dashboard        — Open web dashboard at localhost:7337

Savings Digest (Slack / Discord)

Send a weekly savings summary to your team channel:

llm_digest(period="week")                 — format digest, print only
llm_digest(period="week", send=True)      — format + push to LLM_ROUTER_WEBHOOK_URL

Set LLM_ROUTER_WEBHOOK_URL=https://hooks.slack.com/... in your environment. Auto-detects Slack, Discord, or generic JSON webhook from the URL.

Spend Spike Alerts

The digest automatically flags when today's spend is > 2× the 7-day average. No config needed — it's always on.

Routing Policy

llm_router_admin(action="policy")   — Show active org/repo routing policy + last 10 audit decisions

Set policy in ~/.llm-router/org-policy.yaml:

block_models:
  - "o3*"          # never use o3 series (too expensive)
  - "gpt-4o"
allow_models:
  - "gemini*"       # prefer Gemini (allow overrides block)
task_caps:
  image: 2.00       # max $2/day on image generation

Routing Quality

llm_benchmark        — Per-task routing accuracy from your 👍/👎 feedback
llm_rate             — Rate the last response to improve future routing

Full routing stats / classifier accuracy: no MCP door on the consolidated surface — run llm-router routing-report from a terminal.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +7 lines · +15 tokens per session 1f8187ec6345
  2. 3mo ago First seen · 55 lines · 0 tokens per session scan A 7600b8b0c4fd

Subscribe to this mod's changes

savings is a skill published in the GitHub repository ypollak2/llm-router (131 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 428 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

savings compared with skills from other repositories

savings next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
savingsypollak2/llm-routerSkill131yesterdayMITA15Claude Code
clawrouterBlockRunAI/ClawRouterSkill6.7k2d agoMITA171Claude Code, Codex
imagegenBlockRunAI/ClawRouterSkill6.7k2d agoMITA45Claude Code, Codex
phoneBlockRunAI/ClawRouterSkill6.7k2d agoMITA72Claude Code, Codex
polymarket-tradingBlockRunAI/ClawRouterSkill6.7k2d agoMITA76Claude Code, Codex
releaseBlockRunAI/ClawRouterSkill6.7k2d agoMITA44Claude Code, Codex
predexonBlockRunAI/ClawRouterSkill6.7k2d agoMITA84Claude Code, Codex