为 OpenClaw 代理减少重复性的 token 消耗:按需加载上下文、Sonnet/Opus 分流、缓存感知的 heartbeat 调度。
数据分析
Token Optimizer Pro
Agent token usage optimizer. Input usage logs, transcript excerpts, model bills, or runtime traces; output token/cost breakdown, waste patterns, context comp...
它能做什么
Agent token usage optimizer. Input usage logs, transcript excerpts, model bills, or runtime traces; output token/cost breakdown, waste patterns, context compaction opportunities, caching suggestions, and before/after optimization actions. Privacy boundary: redact secrets and do not upload sensitive logs unless the user explicitly chooses an external tool.
技能文档
Token Optimizer Pro
Use this skill when the user wants to understand where token usage and model cost are going, then reduce waste without hurting task quality.
Inputs
- Token usage exports
- Model billing summaries
- Agent runtime logs
- Conversation transcripts or excerpts
- Prompt templates and tool traces
Outputs
- Cost and token breakdown by task, model, phase, or tool
- High-waste patterns: repeated context, oversized prompts, unused files, verbose tool output, weak summarization
- Optimization checklist: compaction, caching, retrieval boundaries, shorter outputs, batching, cheaper model routing
- Before/after estimate with caveats
Safety
- Redact API keys, credentials, private customer data, and personal identifiers.
- Do not upload logs or transcripts to an external service unless the user explicitly chooses that route.
- Treat cost estimates as approximate unless the user provides official billing exports.
Example Prompts
Analyze this agent run log and tell me where token usage was wasted.Given these model bills, identify the top 5 cost drivers and how to reduce them.Review this prompt template and make it cheaper without losing task quality.Compare before/after token usage for these two runs.Design a token budget and compaction strategy for a long-running coding agent.
相关技能
一条提示词搞定代币、DeFi、链上数据与组合策略的深度加密研究。
把消息转发到任意 OpenAI 兼容的 AI 代理,并跨调用维持多轮会话。
读取产品的漏斗、路径、留存与实验结果,并给出下一步最小可行的增长动作。
一行记一笔消费,自动拆分多人分摊,按需结算还不丢凭证。
通过自然语言提示生成交互式仪表盘、数据可视化与网页应用。