{"repo":"nadimtuhin/claude-token-optimizer","free":true,"listed":false,"github":"https://github.com/nadimtuhin/claude-token-optimizer","clone":"git clone https://github.com/nadimtuhin/claude-token-optimizer.git","description":"Optimize token usage for Claude API calls","language":"JavaScript","stars":553,"topics":["ai-assistant","automation","claude-code","developer-tools","documentation","token-optimization","setup-template","opensource"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"🚀 Claude Token Optimizer Stop wasting Claude Code's context on old docs Cut token usage by 90% so Claude can focus on your actual code --- The Problem Claude Code loads everything at session start. My RedwoodJS project was burning 11,000 tokens before I even started coding - that's 1,783 lines of documentation, old session notes, and completed task history eating into my context window. The Solution Structure your docs so Claude only loads what it needs: - 4 essential files at startup ( 800 tokens) - Everything else available but never auto-loaded (0 tokens) - Topic-based learnings you load as needed ( 500 tokens each) Real result: 11,000 → 1,300 tokens. That's 9,700 tokens freed up for your code. Quick Setup Option A — no install (npx): Option B — one-line curl install (global cto alias): Option C — npm global: All three options auto-detect your framework and create the optimized structure in 30 seconds. Measure first — see your actual token waste before committing: Token counts are estimates from the Claude 2 tokenizer — actual usage on current models varies. What You Get How It Works Before: After: Framework-Specific Setup Got patterns for 13 frameworks with common mistakes and best practices: Framework Example ----------- --------- Express.js examples/express.md Next.js examples/nextjs.md Vue.js examples/vue.md Nuxt.js examples/nuxtjs.md Angular examples/angular.md Django examples/django.md Rails examples/rails.md NestJS examples/nestjs.md Laravel examples/laravel.md Fas","default_branch":null,"files":null,"tree":[],"storefront":"/r/nadimtuhin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nadimtuhin/claude-token-optimizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}