A pluggable pipe filter that strips verbose CLI output before it reaches the LLM to maximize your context budget.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install slim
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 slim using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
slim is an essential utility for modern AI workflows, serving as a pluggable command-line pipe filter that optimizes context window consumption. By stripping out verbose, non-essential CLI outputs like massive Kubernetes YAML configurations, complex JSON payloads, dependency trees, and long lockfiles, this tool ensures your AI agent focuses its processing power on the critical logic signals rather than repetitive noise. As an ecosystem integration, it stands out among Openclaw Skills for its lightweight footprint and immediate utility.
Built entirely with the Python standard library, slim operates with a safe dual-mode processing paradigm: lossless structural cleanups are active by default, while intelligent, lossy content clamping handles exceptionally large files. By preventing terminal outputs from overwhelming the LLM, this package dramatically improves agent speed and decreases inference costs, showcasing why it is a must-have optimization tool in the registry of Openclaw Skills.
To install and configure slim, ensure you have Python 3 and Bash ready. Integrate it into your environment as follows:
# Navigate to your environment directory
cd {baseDir}
# Ensure the bin directory contains slim and make it executable
chmod +x ./bin/slim
# Test the installation with a basic pipe command
cat verbose_output.log | ./bin/slim --report
This utility is pre-configured to operate out-of-the-box as part of your collection of Openclaw Skills.
The slim tool processes standard input streams and outputs clean data. It handles outputs with specific structural strategies depending on the file or command category:
| Tool / Format | Unclamped Threshold | Clamped Format (Head + Tail Lines) | Lossless Operations Applied |
|---|---|---|---|
| Standard Text / Unrecognized | > 250 lines | 60 head + 30 tail lines | ANSI removal, blank line collapsing |
| kubectl get -o yaml/json | Always-on | 25 head + 10 tail lines | YAML/JSON structural preservation |
| pip install | Always-on | Drops progress, keeps summary | Removes continuous progress bar noise |
All custom filters and hooks can be expanded by extending the standard mapping in slim/plugins.py via simple python callbacks, aligning with the architectural goals of modular Openclaw Skills.
Callable[[str], str] structures within slim/plugins.py to clamp custom proprietary CLI formats.--report option yields detailed compression stats, proving highly valuable when diagnosing token costs across multiple Openclaw Skills workflows.Loading
Search Sharebench, an open registry of reusable AI artifacts like skills, personas, prompts, and playbooks in SKILL.md format to avoid building from scratch.

Mailbuttons enables developers to securely assign governed email inboxes to AI agents, ensuring complete sandbox safety and human-in-the-loop validation.

An automated cold email outreach assistant that generates personalized templates for B2B sales, investor pitches, and strategic partnerships.

A powerful global CFO expert system combining 26+ financial, tactical, and investment analysis sub-skills into a single automated routing gateway.

A professional operational framework and skill designed to integrate on-chain Web3 treasury management with traditional Open Banking API systems and compliance automation workflows.

A zero-API, localized web search skill that scrapes DuckDuckGo, Bing, and Google directly with automatic engine fallback.








































