A high-efficiency auditing tool designed to minimize the token footprint of always-loaded AI context files.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install context-slimmer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install context-slimmer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Context Slimmer is a technical utility focused on maximizing the efficiency of your AI agent workspace. By auditing files that are loaded into every message—such as AGENTS.md, TOOLS.md, and MEMORY.md—this tool identifies redundant information, outdated instructions, and verbose explanations that consume valuable tokens. Using this skill within the Openclaw Skills ecosystem allows developers to maintain a lean context window, ensuring the AI focuses on relevant task data rather than overhead.
The skill provides a systematic approach to context management by evaluating whether content should be moved to specialized on-demand files, removed entirely, or compressed into concise triggers. This is essential for power users of Openclaw Skills who need to scale their agent workflows while staying within strict token limits and reducing latency.
To begin optimizing your workspace with this entry in the Openclaw Skills library, follow these steps:
# Ensure measurement scripts are executable
chmod +x scripts/measure.sh
# Measure your current context token cost
bash scripts/measure.sh
# Run a full audit to receive optimization recommendations
bash scripts/measure.sh --audit
Context Slimmer evaluates the following file structure and targets to ensure optimal performance for Openclaw Skills:
| File | Token Target | Primary Content Focus |
|---|---|---|
| AGENTS.md | < 500 | Agent roles and definitions |
| TOOLS.md | < 500 | Tool schemas and capabilities |
| USER.md | < 700 | User preferences and global environment |
| MEMORY.md | < 400 | Contextual project memory |
| HEARTBEAT.md | < 400 | Operational status and triggers |
| SOUL.md | < 250 | Core behavioral logic |
| IDENTITY.md | < 50 | Unique identifiers |
Loading
A robust CLI tool designed to install and manage the OpenClaw Gateway as a persistent Windows background service with automated recovery.

An automated tool to extract investment strategy and operation analysis from public fund periodic reports using Python.

A comprehensive toolset for interacting with the Pancake Platform API to automate conversation management, customer tracking, and business statistics.

A secure protocol for AI agents to autonomously pay for x402-gated APIs using wallet-funded session keys within strict policy limits.

A hands-free email solution that allows users to compose and send Gmail messages using natural voice commands via Telegram.

A comprehensive skill to integrate SiliconFlow as a high-performance, cost-effective model provider for your OpenClaw agents.








































