找出幽灵 token,修复它们,熬过上下文压缩,避免上下文质量衰减。

token-optimizer 开源项目推荐(45 个)
token-optimizer 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 45 个仓库Hook-based token compressor for 7 AI CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI, Pi, Hermes). Up to 95% bash compression, signature-mode for code reads, cross-call dedup, MCP server, self-teaching protocol. Zero runtime deps.
TOON encoding for Laravel. Encode data for AI/LLMs with ~50% fewer tokens than JSON.
token-ninja routes deterministic shell commands locally — zero LLM calls, ~19µs latency. Works silently inside AI tools via MCP.
Compact coding-agent context without summarizing it away. Verbatim, offline, with a receipt and recall for every cut. CLI, MCP server, Claude Code plugin. MIT.
Compress logs for LLM analysis — Rust-powered, Python API. 40-60% token savings.
Deterministic AST Context Compressor, Pre-Flight Reality-Lock & 20-Tool MCP Server for Claude, Cursor, Windsurf & Copilot. Up to 95% token reduction, 1-Click Auto-Vault, and local engine.
Cut your Claude Code token bill: tool-output trimming, read dedup, model-tier discipline, and live cost + cache-hit stats.
该项目在 GitHub 上没有填写描述
A modular toolkit for Claude Code to optimize context, planning, and agent execution with lower token usage and less repeated codebase discovery.
astro-agent-optimized(AAO) is agent-optimized output for Astro JS tools.
⚡ Universal IDE plugin & proxy that cuts LLM token consumption by up to 70% using deterministic AST pruning & context compression. Written in Go.
A simple open source vibecoded prompt optimizer for personal use, you are free to use it as needed.
A skill that makes LLMs think faster and cheaper: up to 77% fewer thinking tokens and answers up to 2x faster, with the same quality. Benchmarked on Claude, Grok, Gemma, Qwen and gpt-oss.
Trim Python code for LLMs by removing comments, docstrings, and whitespace. Save AI tokens, reduce API costs, and fit more code into ChatGPT, Claude, and Gemini.
Auto-route Claude Code prompts to Haiku, Sonnet or Opus. Learns from escalations, saves tokens.
🩺 Diagnose, lint, and auto-fix your Claude Code setup. 9 zero-dependency ML engines: prompt injection scanner, dependency graph intelligence (PageRank + Tarjan SCC), CLAUDE.md auto-generator, .claudeignore optimizer, session cost predictor. 45+ checks, auto-fix, CI/CD ready. The missing DevTool for Anthropic Claude Code.
Cut up to 75% of tokens for Grok • GPT • Claude • Llama • Gemini 100% offline • Open source • AI-safe token minifier
Proxy local para la API de Anthropic que reduce el consumo de tokens entre un 70–90% de forma transparente. Aplica caché de prefijos, compresión de historial, batching automático y ajuste dinámico de tokens sin modificar el código cliente. Compatible con Fable 5, Sonnet, Haiku y Opus.
High-performance Reverse Proxy for LLM Caching and Deduplication (OpenAI, Anthropic, Gemini, Copilot). Saves API costs, encrypts cache at rest, and multicasts concurrent streams.
关于这个话题
- 清单取自 GitHub 话题页并按 Star 数排序,每次展示前 20 个项目;原始页面见 https://github.com/topics/token-optimizer。
- 该话题在 GitHub 上共有 45 个仓库, 本站收录的是其中最热门的 20 个,不是全量列表。
- Star / Fork 每日自动刷新一次,实时数据以 GitHub 为准。
- 当前 20 个项目累计 3444 Star,覆盖 7 种主要语言,数据更新于 2026-11-10。
- 中文介绍来自 GitHub 官方话题说明(github/explore)的机器翻译,可点「查看原文」对照;译文缺失时会先展示原文。