Token Saver — AI skill for Claude Code
Zero-cost token optimization engine for AI coding assistants (Claude Code, Cursor, Antigravity, Windsurf).
How to install Token Saver
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Farukes/Token-Saver and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Token Saver does
Zero-cost token optimization engine for AI coding assistants (Claude Code, Cursor, Antigravity, Windsurf). Saves 70-95% tokens via AST skeletons, differential cache, and line slicing.
Alternatives in AI
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Empryo — Empryo issue tracker + SoulForge (v2) 1.1k ★
- Codesight — Universal AI context generator 979 ★
README
🔋 Token-Saver
[](https://github.com/Farukes/Token-Saver/releases/latest) [](https://github.com/Farukes/Token-Saver/actions/workflows/ci.yml) [](https://www.python.org/downloads/) [](#-enterprise--high-performance-native-engine-rust-edition) [](#-proven-performance--stress-test-benchmark) [](LICENSE) [-success.svg)](#-enterprise-privacy--security-guarantee)
**MCP server that saves 70-95% tokens for AI coding assistants — without losing functionality.**
Token-Saver sits between your AI coding assistant and your codebase, intelligently compressing code reads, terminal outputs, and file operations to dramatically reduce token consumption, context compaction, and latency.
Works with **Claude Code**, **Cursor**, **Antigravity (AGY)**, **Windsurf**, **Continue.dev**, and any MCP-compatible AI assistant.
✨ Features & Architecture
| Module | What It Does | Token Savings |
|---|---|---|
| 🦴 Code Skeletonizer | Extracts structural skeleton (signatures, types, docstrings) via Tree-sitter AST | 80-95% |
| 📖 Smart File Reader | L1 RAM + L2 Persistent SQLite cache with differential reads & diff headers | 90-99% |
| 🛡️ Lockfile & Asset Shield | Intercepts massive lockfiles & minified bundles with surgical version queries (query="react") |
Related Skills
TokenJar
Zero-cost token optimization engine for AI coding assistants (Claude Code, Cursor, Antigravity, Windsurf). Sav
Git Grep First For Windows AI Agent
The 1-Line Prompt Fix that saves 99.6% tokens and speeds up code search by 400x on Windows for Cursor, Claude
Free AI Token
AI money-saver as an Agent Skill 全球AI省钱管家技能 — free AI API tokens, free-tier LLM APIs & cheapest AI memberships
CtxGuard
面向 AI Agent 的高并发、低延迟上下文治理与 Prompt Cache 守护网关 (Tree-sitter AST / Tool Delta / 50%~80% Token 削减)
Openproxy
Smart AI proxy router that connects Claude Code, Cursor, Codex, Copilot, and 50+ coding tools to 40+ AI provid
Krusch Git
Git DAG indexing, AST symbol graphs, and hybrid semantic code search MCP server for AI coding agents (Claude C
Related Agents
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
Sdl Game Helper
SDL2/SDL1 game port specialist for AmigaOS. Knows the libSDL2-amigaos3 fast-path traps, blitter mode tradeoffs
Mock Generator
Generates mock API responses and test data using local Ollama models. Saves cloud tokens.