← 返回
未分类 中文

Token Optimization

Reduce unnecessary token usage with the current production-proven workflow. Use when users ask to optimize token consumption, reduce prompt/context bloat, st...
使用成熟的生产工作流降低不必要的 token 使用,适用于用户要求优化 token 消耗、减轻提示/上下文膨胀等场景。
sinoslug sinoslug 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 329
下载
💾 0
安装
1
版本
#latest

概述

Token Optimization

Use this skill when the task is about reducing token usage while keeping answer quality stable.

Workflow

  1. Read the current baseline spec first:
    • references/current-spec.md
  2. Apply only the already-implemented rules from that file.
  3. Do not introduce speculative or not-yet-implemented optimization tactics.
  4. If asked to change behavior, update the spec and version it.

Scope guard

  • In scope: concise reply behavior, log/tool-output trimming, current token-show usage flow, and currently active execution process.
  • Out of scope: future ideas not yet implemented (auto-threshold switching, automatic split replies, weekly auto-reviews), unless user explicitly requests a new version update.

Output expectation

When asked to explain or sync the optimization plan, provide the “current-state only” version and cite that it follows references/current-spec.md.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 10:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

clawmerge

sinoslug
OpenClaw 工作区备份/恢复/合并工具。支持完整备份、合并恢复(不覆盖已有)、定时备份、会话记录备份、配置导出。新增灾难备份(系统配置+工作区+会话),恢复默认安全合并,避免误覆盖运行配置。触发词:备份、恢复、迁移、换电脑、导出配置。
★ 0 📥 632

token-stats-reporter

sinoslug
生成 Token 使用统计和费用报告,支持 Anthropic Claude Opus 4.7 与 OpenAI GPT-5.5 参考费率,默认 Opus 4.7,突出‘省了多少’的感受。适用场景:查看使用统计、展示‘本应费用’、在消息末尾
★ 0 📥 517

only for test

sinoslug
提取 .docx/.xlsx/.pdf/图片 文档内容,转换为 Markdown 格式(支持 OCR)。这是只读提取工具,仅将现有文档转为 Markdown。触发条件:用户要求提取文档内容、读取 Word/Excel/PDF、提取图片文字、
★ 0 📥 301