/cost-cutter:token-receipts-auditfrom cost-cutter
Audits AI token usage and spend across models, splitting by cheap-open vs premium tiers to reveal cost vs volume mismatches. Useful when investigating high AI bills or optimizing model routing.
Ships in cost-cutter. 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.
None: SKILL.md is the whole skill.
Token rankings lie by omission: cheap open models win volume (they sit in busy agent loops), premium models win spend (they take the fewer, harder calls). The public version of this flip, from OpenRouter's June 2026 rankings: Anthropic models were ~12% of tokens but roughly 46% of revenue. The user's own receipts almost certainly hide the same flip. Your job is to compute it, show it, and stop them optimizing the wrong line.
cheap_open or premium, and attach each model's unit price (usd_per_mtok) from the current pricing page, never from memory.route-cheap-escalate-hard); if premium's cost-share is high on genuinely hard calls, the spend is earning its keep.cat > receipts.json <<'JSON'
{
"period": "2026-06",
"models": [
{ "name": "DeepSeek V4 Flash", "tier": "cheap_open", "tokens": 167000000000, "usd_per_mtok": 0.28 },
{ "name": "GLM 5.2", "tier": "cheap_open", "tokens": 50200000000, "usd_per_mtok": 3.00 },
{ "name": "Claude Opus 4.8", "tier": "premium", "tokens": 14800000000, "usd_per_mtok": 25.00 }
]
}
JSON
node -e '
const c = JSON.parse(require("fs").readFileSync("receipts.json", "utf8"));
function bad(m) { console.error("BAD: " + m); process.exit(1); }
if ((c.models || []).length < 2) bad("need at least two models to compare");
let totTok = 0, totCost = 0; const tierTok = {}, tierCost = {};
for (const m of c.models) {
if (!m.tier || m.tokens == null || m.usd_per_mtok == null) bad("each model needs tier, tokens, usd_per_mtok");
const cost = (m.tokens / 1e6) * m.usd_per_mtok;
totTok += m.tokens; totCost += cost;
tierTok[m.tier] = (tierTok[m.tier] || 0) + m.tokens;
tierCost[m.tier] = (tierCost[m.tier] || 0) + cost;
}
const pct = (x, t) => (x / t * 100).toFixed(1);
console.log("receipts OK: cheap_open is " + pct(tierTok.cheap_open || 0, totTok) + "% of volume but " + pct(tierCost.cheap_open || 0, totCost) + "% of cost; premium is " + pct(tierTok.premium || 0, totTok) + "% of volume but " + pct(tierCost.premium || 0, totCost) + "% of cost (volume != value)");
'
Backed by a machine-verified recipe, re-checked by CI: Read your token receipts right
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
token-audit, cost-analysis, model-routing, spend-optimization
npx claudepluginhub neeeophytee/ai-cost-cutter-skills --plugin cost-cutter10 skills in this plugin
/advisor-call-budgetEnforce a hard cap and a drift-check when a cheap executor model consults an expensive advisor model, and compute the effective cost from actual call counts instead of a benchmark's assumed rate. Use when the user adopts the advisor or orchestrator pattern, pairs a cheap model with an expensive reviewer, or quotes a benchmark discount like "63% of the price"./cheap-swap-guardBefore swapping any workload to a cheaper model, declare the cases the premium model still dominates and prove they keep routing to premium. Use when the user wants to "just switch" to a cheaper model (text, image, or video), or asks whether a cheap model is good enough to replace an expensive one./context-dietOther plugins' skills for the same job