token-diet 是做什么的?
Claude Code 技能:通过优化架构而非制品,将智能体工作流的 Token 使用量削减约 85% —— 包括智能体普查、会话合并、计算驱逐、脚本计算-LLM 评估器。
- 来源:https://github.com/KasperChenGH/token-diet
- GitHub 星标数:0
- 最后推送:2026-06-16T08:29:59Z
- 由 Awesome Skills 日常技能猎手于 2026-06-16 添加。
Claude Code 技能:通过优化架构而非制品,将智能体工作流的 Token 使用量削减约 85% —— 包括智能体普查、会话合并、计算驱逐、脚本计算-LLM 评估器。
Token-Diet 是一个专为 Claude Code 设计的智能体技能,旨在将智能体驱动的开发工作流中的 Token 消耗降低约 85%。与常见的优化方法不同,它专注于在生成制品之前优化整体架构,从而显著减少不必要的 Token 开销。该技能通过四大核心机制实现这一目标:智能体普查(Agent Census)用于监测和理解 Token 使用模式;会话合并(Session Merging)将多个相关交互合并以减少重复上下文;计算驱逐(Compute Eviction)自动清理不再需要的中间计算结果;以及脚本计算-LLM 评估器(Scripts-Compute-LLM-Judges)框架,利用轻量级脚本或小型 LLM 进行快速验证,避免每次迭代都调用昂贵的大模型。Token-Diet 适用于所有使用 Claude Code 进行复杂、多步骤智能体工作的开发者,尤其是在高频迭代、频繁生成制品的场景下最为有效。它开源在 GitHub 上,当前收获了 0 星,最新更新日期为 2026 年 6 月 16 日。
npx skills add KasperChenGH/token-dietClaude Code 技能:通过优化架构而非制品,将智能体工作流的 Token 使用量削减约 85% —— 包括智能体普查、会话合并、计算驱逐、脚本计算-LLM 评估器。
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".