{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "microsoft-tokeneconomizer--cut-claude-code-cost-in-your-repo",
 "repo": "microsoft/TokenEconomizer",
 "repo_url": "https://github.com/microsoft/TokenEconomizer",
 "repo_slug": "microsoft-tokeneconomizer",
 "title": "Cut Claude Code cost in a repository you work in every day",
 "page_title": "How to cut Claude Code cost in a repository you work in every day with Token Economizer",
 "summary": "Install the plugin from its marketplace and let it learn from your sessions.",
 "who": "A developer whose Claude Code sessions keep rediscovering the same build steps and commands.",
 "problem": "Sessions waste tokens rediscovering repository facts and loading tools that never get used.",
 "outcome": "Facts stated at session start once three sessions confirm them, and status showing what your sessions cost.",
 "steps": [
  "Run `git clone https://github.com/microsoft/TokenEconomizer.git`",
  "Run `claude plugin marketplace add \"$PWD/TokenEconomizer\"`",
  "Run `claude plugin install tokeneconomizer@tokeneconomizer`",
  "Start claude, trust the folder and run `/tokeneconomizer:status`",
  "Once per machine run `/tokeneconomizer:toolprune refresh-catalog`"
 ],
 "agent_prompt": "Install microsoft/TokenEconomizer as a Claude Code plugin from a local clone, run /tokeneconomizer:status and /tokeneconomizer:toolprune refresh-catalog, then tell me what it reports.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "If any part of the plugin fails, the session carries on as if it were not installed.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Claude Code, Codex (0.141.0 or later), GitHub Copilot CLI or Pi",
  "git",
  "No API key of its own: model calls run through your own agent"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/microsoft-tokeneconomizer/cut-claude-code-cost-in-your-repo/",
 "md": "https://dedupedai.com/use-cases/microsoft-tokeneconomizer/cut-claude-code-cost-in-your-repo/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/microsoft-tokeneconomizer--cut-claude-code-cost-in-your-repo.json",
 "api_version": "v1"
}
