← 返回 Skills 市场
ccjingeth

OpenClaw Token Optimizer

作者 ccjingeth · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
3294
总下载
3
收藏
9
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-token-save
功能描述
Optimize OpenClaw token usage and cost by auditing context injection, trimming workspace files (AGENTS.md/SOUL.md/MEMORY.md and daily memory), enabling promp...
安全使用建议
This skill is internally consistent and appears to do what it says: audit configs and recommend concrete openclaw.json edits and workspace trimming. Before installing or following its recommendations, backup your openclaw.json and workspace files and review any config patches the skill provides. Be cautious about: (1) automated 'heartbeat' or cron recommendations that could increase API calls if applied without adjustment, (2) compaction/memory-flush prompts that change where session content is stored, and (3) any advice that instructs the agent to search or modify many files — run that with explicit user approval. Verify suggested JSON keys are supported by your OpenClaw version/provider before applying, and roll out changes in stages (quick wins first) as the skill itself recommends.
功能分析
Type: OpenClaw Skill Name: openclaw-token-save Version: 1.0.0 The skill instructs the OpenClaw agent to perform high-privilege actions, including locating and reading OpenClaw configuration files (e.g., `~/.openclaw/openclaw.json`), listing and proposing modifications to workspace files (`AGENTS.md`, `SOUL.md`, `MEMORY.md`), and auditing system cron and scheduled tasks. While the stated purpose is benign (token optimization), these capabilities (file system access, system-level auditing) are inherently risky and could be exploited if the agent's execution environment or interpretation of instructions were vulnerable, even without explicit malicious intent in the provided `SKILL.md` instructions.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md explicitly audits OpenClaw config and workspace injections and produces openclaw.json patches and trimming plans. It does not request unrelated binaries, credentials, or config paths.
Instruction Scope
The runtime instructions ask the agent to locate and inspect local OpenClaw config files and injected workspace files (e.g., ~/.openclaw/openclaw.json, AGENTS.md, MEMORY.md, memory/YYYY-MM-DD.md). That behavior is proportionate to a token-optimization audit, but it means the agent will be guided to read local files and suggest edits; the SKILL.md does not include explicit safeguards (backup/review steps) before applying changes, so the user should review any proposed edits before applying them.
Install Mechanism
Instruction-only skill with no install spec and no code files. This is low-risk from an installation/execution perspective (nothing is downloaded or written by an installer).
Credentials
The skill declares no required environment variables, credentials, or config paths. Mentioned filesystem paths are reasonable and relevant for the stated purpose (auditing OpenClaw config and workspace files).
Persistence & Privilege
always:false and no install means the skill does not request forced persistence. The skill's recommendations (e.g., enabling heartbeats, cache warmers, compaction, cron changes) could increase automated activity or change runtime behavior if applied — users should consider these operational effects before applying changes. Autonomous invocation (disable-model-invocation:false) is platform-default and not by itself a red flag.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-token-save
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-token-save 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
OpenClaw Token Optimizer initial release - Audits OpenClaw token usage and provides configurable strategies to reduce token spend. - Offers detailed guidance to trim workspace and memory files to shrink input context. - Enables prompt caching, heartbeat, and context pruning to minimize redundant token use. - Recommends efficient model tiering and use of subagents for lower-cost operations. - Generates concrete config edits, file size targets, and a prioritized rollout plan.
元数据
Slug openclaw-token-save
版本 1.0.0
许可证
累计安装 9
当前安装数 9
历史版本数 1
常见问题

OpenClaw Token Optimizer 是什么?

Optimize OpenClaw token usage and cost by auditing context injection, trimming workspace files (AGENTS.md/SOUL.md/MEMORY.md and daily memory), enabling promp... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3294 次。

如何安装 OpenClaw Token Optimizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-token-save」即可一键安装,无需额外配置。

OpenClaw Token Optimizer 是免费的吗?

是的,OpenClaw Token Optimizer 完全免费(开源免费),可自由下载、安装和使用。

OpenClaw Token Optimizer 支持哪些平台?

OpenClaw Token Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenClaw Token Optimizer?

由 ccjingeth(@ccjingeth)开发并维护,当前版本 v1.0.0。

💬 留言讨论