360 Secure SkillHub
360 安全技能中心

Token Optimization

该 Skill 要求先读取当前生产规范,只应用已实现的规则来减少 token 使用、压缩提示和上下文、统一简洁回复;不引入未来或实验性优化策略。它包含当前 token-show 使用流程,并要求在变更行为时更新并版本化规范。

分类:效率
sinoslug
sinoslug
热度 24.11
最近更新 2026-05-11 17:40:23

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add sinoslug/token-optimization-sinoslug
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
token-optimization
description
Reduce unnecessary token usage with the current production-proven workflow. Use when users ask to optimize token consumption, reduce prompt/context bloat, standardize concise replies, or align token-saving behavior across assistants. Includes only currently implemented practices (no future/experimental tactics).

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.