← 返回 Skills 市场
106
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install token-optimization-sinoslug
功能描述
Reduce unnecessary token usage with the current production-proven workflow. Use when users ask to optimize token consumption, reduce prompt/context bloat, st...
安全使用建议
Before installing or enabling this skill, verify the following: (1) Ask the skill author to provide the exact contents of /home/admin/.openclaw/workspace/scripts/token-show.py and any referenced state files so you can review what will be executed and read. (2) Confirm whether token-show.py makes network calls or writes/reads sensitive data; if it does, require explicit disclosure and least-privilege controls. (3) Update the skill metadata to declare required binaries (python3) and required config paths, or change the SKILL.md to avoid executing undocumented local scripts. (4) If you cannot review the script, run the skill in a constrained sandbox or deny file-execution until you can audit it. These steps reduce the risk of hidden data access or unwanted code execution.
功能分析
Type: OpenClaw Skill
Name: token-optimization-sinoslug
Version: 1.0.0
The skill bundle is designed for token usage optimization, providing instructions for concise communication and log filtering. It references a local script (/home/admin/.openclaw/workspace/scripts/token-show.py) and state files for tracking token consumption, which are consistent with the stated purpose. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found in SKILL.md or the reference documentation.
能力评估
Purpose & Capability
The name and description align with the included ruleset (short answers, log trimming, token counting). However, the shipped spec refers to an external helper script and state files used in production; these resources are not declared in the skill metadata (no required binaries, no config paths). That omission is inconsistent with the runtime needs implied by the spec.
Instruction Scope
SKILL.md (via references/current-spec.md) instructs the agent to execute a local command: `python3 /home/admin/.openclaw/workspace/scripts/token-show.py` and to read state files such as `memory/token-agg-state.json` and `memory/token-counter.json`. Those are explicit file-system and command actions outside of the skill bundle and were not declared. The skill therefore directs actions on local files and execution of local code that the user cannot audit from the skill package itself.
Install Mechanism
There is no install spec (instruction-only), which lowers surface risk, but the spec implicitly depends on files and a script existing on the host. The skill does not include the referenced script or explain how it is installed, creating a hidden dependency.
Credentials
The skill declares no required environment variables or config paths, yet the runtime spec expects access to `/home/admin/.openclaw/...` and `memory/*.json` paths and execution of `python3`. This mismatch is disproportionate: either the metadata should declare those config paths and the binary requirement, or the instructions should avoid requiring local privileged paths.
Persistence & Privilege
The skill does not request always-on presence (always: false) and does not change other skills' configs. Autonomous invocation is allowed (platform default). There is no explicit request for persistent installation or elevated privileges in the metadata.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install token-optimization-sinoslug - 安装完成后,直接呼叫该 Skill 的名称或使用
/token-optimization-sinoslug触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: current-state token optimization workflow and guardrails
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。
如何安装 Token Optimization?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install token-optimization-sinoslug」即可一键安装,无需额外配置。
Token Optimization 是免费的吗?
是的,Token Optimization 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Token Optimization 支持哪些平台?
Token Optimization 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Token Optimization?
由 sinoslug(@sinoslug)开发并维护,当前版本 v1.0.0。
推荐 Skills