claude-context-optimizer
Claude Code 插件,跟踪 token 使用量,识别浪费的上下文,节省 30-50% 的 API 成本。热图、ROI 报告、预算提醒、效率评分、git 感知建议 — 全部本地运行,零配置。
Claude Code plugin that tracks token usage, identifies wasted context, and saves 30-50% on API costs. Heatmaps, ROI reports, budget alerts, efficiency scores, git-aware suggestions — all local, zero config.
怎么安装
git clone https://github.com/egorfedorov/claude-context-optimizer ~/.claude/skills/claude-context-optimizer 简介
--- The Problem The average Claude Code session **wastes 30-50% of tokens** on files that are read but never actually used. Every Read call consumes context — whether the file was relevant or not. A 200-line config file? **800 tokens gone.** A README you glanced at once? **2,400 tokens burned.** That package.json Claude reads "just in case"? **120 tokens, every time.** At $5/M input tokens (Opus 4.8), a developer spending $100/month is lighting **$30-50 on fire** on irrelevant context. The Solution **context-optimizer** silently tracks every file read, edit, and search. It learns which files a…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 111
- 月下载
- 37
- 最近更新
- 2026-09-22
- 创建于
- 2026-03-09
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:hesreallyhim/awesome-claude-code
- 主题标签
- ai-tools, anthropic, claude-code, claude-code-plugin, cli-plugin, context-management, cost-saving, developer-tools, productivity, token-optimization
同类推荐
hindsight
vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents
Hindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
firecrawl-mcp-server
firecrawl/firecrawl-mcp-server
🔥 官方Firecrawl MCP服务器 - 为Cursor、Claude及任何其他LLM客户端添加强大的网页抓取和搜索功能。
dsh-mnemon
omdsh-dev/dsh-mnemon
由 Mnemon 驱动的 DeepSeek Harness(DSH)跨 Agent、本地优先的持久记忆插件。它可在支持 Mnemon 的 Agent 之间共享长期记忆,并提供运行时记忆、可检索项目档案、语义召回、知识图谱和 Sidebar UI。
get-shit-done
gsd-build/get-shit-done
由 TÂCHES 开发的轻量且强大的元提示、上下文工程和规格驱动开发系统,适用于 Claude Code。