← Back to Skills Marketplace
xiaoyaner0201

Prompt Slimmer

by xiaoyaner0201 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
286
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install prompt-slimmer
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install prompt-slimmer
  3. After installation, invoke the skill by name or use /prompt-slimmer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug prompt-slimmer
Version 1.1.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 286 downloads so far.

How do I install Prompt Slimmer?

Run "/install prompt-slimmer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Prompt Slimmer free?

Yes, Prompt Slimmer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Prompt Slimmer support?

Prompt Slimmer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Prompt Slimmer?

It is built and maintained by xiaoyaner0201 (@xiaoyaner0201); the current version is v1.1.0.

💬 Comments