← 返回 Skills 市场
1149
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-token-memory-optimizer
功能描述
Optimization suite for OpenClaw agents to prevent token leaks and context bloat. Use when an agent needs to implement background task isolation (Cron) or a Reset & Summarize workflow (RAG).
安全使用建议
This skill appears coherent and low-risk for its stated purpose, but take these practical precautions before installing or running any included scripts: 1) Review the included scripts yourself (scripts/check-optimization.sh) — they read local config and workspace files but do not exfiltrate data. 2) Back up your openclaw.json and MEMORY.md before making changes. 3) The helper script assumes workspace paths relative to your config (may not match your layout); test it in a safe environment. 4) There is no external network activity in the skill, but if you plan to run commands like 'openclaw gateway restart', ensure you understand their operational impact. 5) If you prefer, copy the SKILL.md guidance into your operational playbook and make changes manually rather than running scripts from untrusted sources.
功能分析
Type: OpenClaw Skill
Name: openclaw-token-memory-optimizer
Version: 1.0.0
The OpenClaw Token Optimizer skill bundle appears benign. Its stated purpose is to optimize OpenClaw agent memory and token usage, and all instructions in SKILL.md and README.md, as well as the `scripts/check-optimization.sh` script, align with this goal. The skill instructs the agent to modify OpenClaw's configuration (`openclaw.json`), manage its internal memory files (`MEMORY.md`, `memory/YYYY-MM-DD.md`), and use OpenClaw's built-in tools like `session_status`, `memory_search`, `memory_get`, and `openclaw gateway restart`. The shell script reads OpenClaw configuration and workspace files for status checks. There is no evidence of data exfiltration, unauthorized remote execution, persistence mechanisms, or prompt injection designed to subvert the agent for malicious purposes.
能力评估
Purpose & Capability
Name and description (token/context optimization, RAG, cron isolation) match the SKILL.md instructions and the included script. All file accesses (openclaw.json, memory files, ~/.openclaw/sessions) are relevant to the documented purpose. No unrelated credentials, binaries, or services are requested.
Instruction Scope
Runtime instructions focus on updating openclaw.json, using local embeddings/memory_search, indexing local session transcripts, and restarting the gateway. The SKILL.md directs reading local config and memory files only and does not instruct transmitting data to external endpoints or accessing unrelated system secrets. It does ask the agent/user to read files under home (expected for this skill).
Install Mechanism
No install spec is provided (instruction-only skill) — lowest-risk distribution. A helper script (scripts/check-optimization.sh) is included but there is no automatic download or execution mechanism. The script is plain shell and relies on common POSIX utilities; nothing is fetched from remote URLs or extracted.
Credentials
The skill declares no environment variables or credentials and indeed does not require any. The script reads local files (config and workspace memory files) which is proportionate to a tool designed to check/advise on local OpenClaw configuration. No unrelated secrets or credentials are referenced.
Persistence & Privilege
always is false and the skill is user-invocable; model invocation is allowed (default) which is normal. The skill does not request persistent system-wide changes or modify other skills' configs. It recommends the user run 'openclaw gateway restart' (a normal operational action).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-token-memory-optimizer - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-token-memory-optimizer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Token Optimizer version 1.1.0 — major usability and documentation update.
- Added comprehensive documentation detailing all supported workflows and use-cases.
- Introduced step-by-step guides for periodic task isolation, Reset & Summarize protocol, and local RAG configuration.
- Provided sample configurations and troubleshooting advice for common token and memory management issues.
- Described advanced search techniques, including session transcript indexing and hybrid retrieval (vector + BM25).
- Aimed to help OpenClaw agents prevent token leaks, reduce context bloat, and maintain efficient, lean sessions.
- Updated author list and credits.
元数据
常见问题
Openclaw Token Memory Optimizer 是什么?
Optimization suite for OpenClaw agents to prevent token leaks and context bloat. Use when an agent needs to implement background task isolation (Cron) or a Reset & Summarize workflow (RAG). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1149 次。
如何安装 Openclaw Token Memory Optimizer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-token-memory-optimizer」即可一键安装,无需额外配置。
Openclaw Token Memory Optimizer 是免费的吗?
是的,Openclaw Token Memory Optimizer 完全免费(开源免费),可自由下载、安装和使用。
Openclaw Token Memory Optimizer 支持哪些平台?
Openclaw Token Memory Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openclaw Token Memory Optimizer?
由 klautimus(@klautimus)开发并维护,当前版本 v1.0.0。
推荐 Skills