← 返回 Skills 市场
Prompt Slimmer
作者
xiaoyaner0201
· GitHub ↗
· v1.1.0
· MIT-0
286
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install prompt-slimmer
功能描述
Audit and slim down OpenClaw workspace files (SOUL.md, AGENTS.md, TOOLS.md, IDENTITY.md, USER.md, HEARTBEAT.md, MEMORY.md) to reduce system prompt token usag...
安全使用建议
This skill is coherent with its stated purpose and does not request credentials or installs, but it will modify workspace files. Before running: 1) make a backup copy of your workspace or run the procedure in a clone; 2) confirm that memory_search/archive indexing works and that archived content remains accessible and access-controlled; 3) review which sections are marked for archiving to avoid accidentally removing safety constraints or identity-critical text (SOUL.md); 4) test on a small subset first and verify before/after metrics; and 5) ensure the agent has only the necessary file permissions (read/write) in the workspace and not broader system access.
功能分析
Type: OpenClaw Skill
Name: prompt-slimmer
Version: 1.1.0
The 'prompt-slimmer' skill is a utility designed to optimize OpenClaw workspace files to reduce token usage and API costs. It uses standard shell commands (wc, echo) to audit file sizes and provides logical instructions for archiving redundant or low-frequency content to a local archive directory while explicitly advising against removing safety or identity-critical information.
能力评估
Purpose & Capability
Name/description (reduce workspace token usage) match the SKILL.md instructions: scanning .md files, measuring sizes, deduplicating, archiving to memory/archive/, and producing before/after metrics. No unrelated binaries, env vars, or external services are requested.
Instruction Scope
The SKILL.md instructs the agent to list and move .md files, perform section-level analysis, and edit/move content into memory/archive/. This is within scope for slimming workspace prompts, but the instructions require write access to workspace files and assume a working memory_search/indexing system — verify those exist and run on a copy first to avoid accidental data loss.
Install Mechanism
Instruction-only skill, no install spec, no downloads, no packages. Lowest-risk install surface.
Credentials
No environment variables, credentials, or config paths are requested. The SKILL.md references workspace files and memory_search but does not ask for unrelated secrets or access.
Persistence & Privilege
Skill is not always-enabled and does not request persistent privileges. However, it performs modifications to workspace files (moves content to archive/). Users should be aware it changes persisted files and ensure backups and proper file permissions before use.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install prompt-slimmer - 安装完成后,直接呼叫该 Skill 的名称或使用
/prompt-slimmer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Add Ghost File Scan (Step 0) - scan for non-standard .md files in workspace root that silently bloat the system prompt
v1.0.0
Initial release: workspace file audit and optimization for reducing system prompt token overhead
元数据
常见问题
Prompt Slimmer 是什么?
Audit and slim down OpenClaw workspace files (SOUL.md, AGENTS.md, TOOLS.md, IDENTITY.md, USER.md, HEARTBEAT.md, MEMORY.md) to reduce system prompt token usag... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 286 次。
如何安装 Prompt Slimmer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install prompt-slimmer」即可一键安装,无需额外配置。
Prompt Slimmer 是免费的吗?
是的,Prompt Slimmer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Prompt Slimmer 支持哪些平台?
Prompt Slimmer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Prompt Slimmer?
由 xiaoyaner0201(@xiaoyaner0201)开发并维护,当前版本 v1.1.0。
推荐 Skills