Farukes

Token Saver — AI skill for Claude Code

AI community

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

  • Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
  • Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
  • Codesight — Universal AI context generator 979 ★

README

English | Türkçe

🔋 Token-Saver

[![Release: v1.0.0](https://img.shields.io/badge/Release-v1.0.0%20GA-green.svg)](https://github.com/Farukes/Token-Saver/releases/latest) [![CI](https://github.com/Farukes/Token-Saver/actions/workflows/ci.yml/badge.svg)](https://github.com/Farukes/Token-Saver/actions/workflows/ci.yml) [![Python 3.10+](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue.svg)](https://www.python.org/downloads/) [![Enterprise Native: Rust](https://img.shields.io/badge/Enterprise%20Native-Rust%20v1.0.0-orange.svg)](#-enterprise--high-performance-native-engine-rust-edition) [![Token Reduction](https://img.shields.io/badge/Token%20Savings-89%25%20to%2096%25-brightgreen.svg)](#-proven-performance--stress-test-benchmark) [![License: BSL 1.1](https://img.shields.io/badge/License-BSL%201.1-blue.svg)](LICENSE) [![Zero Telemetry](https://img.shields.io/badge/telemetry-0%25%20(100%25%20local)-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")