/cost-cutter:context-dietfrom cost-cutter
Index a repo or corpus so the agent queries it instead of re-reading files, cutting token use and tool calls. Activate when tokens feel high, context fills fast, or the same files load repeatedly.
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.
When an agent re-reads the same files into context on every question, the bill scales with repetition, not with difficulty. The structural fix is a queryable index: the agent asks for the two facts it needs instead of swallowing whole files. One published reference point (arXiv:2603.27277, evaluated across 31 real repos, using a knowledge-graph MCP server): ~10x fewer tokens and 2.1x fewer tool calls at 83% answer quality versus file-by-file exploration. Treat those numbers as a ceiling from someone else's benchmark, not a promise; the whole skill is: measure your own drop.
codebase-memory-mcp is the worked example below; a repo map, a knowledge bundle, or a RAG index over docs serve the same role. What matters is the shape: query in, small answer out, instead of file in, everything in.cat > mcp-config.json <<'JSON'
{
"mcpServers": {
"codebase-memory": {
"command": "/usr/local/bin/codebase-memory-mcp",
"args": []
}
}
}
JSON
node -e '
const c = JSON.parse(require("fs").readFileSync("mcp-config.json", "utf8"));
function bad(m) { console.error("BAD: " + m); process.exit(1); }
const servers = c.mcpServers || c.mcp_servers || {};
const keys = Object.keys(servers);
if (keys.length === 0) bad("mcpServers must have at least one entry");
const srv = servers[keys[0]];
if (!srv.command || typeof srv.command !== "string") bad("server entry must have a command (path to the binary)");
if (!Array.isArray(srv.args)) bad("args must be an array");
console.log("context-diet OK: MCP server " + JSON.stringify(keys[0]) + " wired at " + srv.command + " (now measure tokens before/after on the same task)");
'
Backed by a machine-verified recipe, re-checked by CI: Wire the knowledge graph, stop re-reading files
What SKILL.md sets; muted values are Claude Code's defaults
10 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./free-model-triageRoute high-volume, low-stakes triage (reading piles, inbox summaries, needs-reply flags) to a free model with a strict output schema. Use when the user wants one-line summaries of many items cheaply, asks to triage email, articles, or reports with AI, or wants to decide what's worth reading without paying premium rates for it./free-tier-batch-planSize a big one-time batch job against a free tier's rate limit and token budget BEFORE starting it, with a proven wall-clock ETA. Use when the user wants to label a dataset, summarize an archive, or process a large backlog for free (or on a tiny rate limit), or asks "will this finish overnight?"/model-bakeoffChoose a model with evidence by running the few prompts that actually matter across candidate models inside a free tier's caps, picking by a stated criterion. Use when the user asks "which model should I use", wants to evaluate a newly launched model, or is choosing between models for a specific task./reasoning-effort-throttleStop paying for deep reasoning on easy turns by setting a modest default reasoning effort and escalating per task. Use when the user runs a reasoning model in an agent and the bill is dominated by output or thinking tokens, or asks about reasoning_effort, thinking budgets, or why a cheap model is still expensive to run.npx claudepluginhub neeeophytee/ai-cost-cutter-skills --plugin cost-cutterOther plugins' skills for the same job