Openclaw Snip — AI skill for Claude Code
OpenClaw plugin - reduce LLM token consumption by 60-90% by filtering CLI output through snip.
How to install Openclaw Snip
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open edouard-claude/openclaw-snip and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Openclaw Snip does
OpenClaw plugin - reduce LLM token consumption by 60-90% by filtering CLI output through snip.
Alternatives in AI
- Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
- Graymatter — 30 sec to give your AI agents persistent memory 460 ★
- Snip — CLI proxy that reduces LLM token usage by 60-90% 425 ★
README
openclaw-snip
OpenClaw plugin that reduces LLM token consumption by 60-90% by filtering CLI output through [snip](https://github.com/edouard-claude/snip).
Why
Every shell command executed by an OpenClaw agent consumes tokens. Commands like `git log`, `go test`, `docker ps`, or `npm install` produce verbose output that mostly repeats known patterns. Snip filters this output down to what matters, saving 60-90% of tokens across all models.
Install
1. Install snip
brew install edouard-claude/tap/snip
Or from source:
go install github.com/edouard-claude/snip/cmd/snip@latest
2. Install the plugin
openclaw plugins install openclaw-snip
Configuration
In your OpenClaw gateway config, under `plugins.entries.openclaw-snip`:
| Key | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | true |
Enable/disable snip filtering |
snipPath |
string | auto-detect | Path to snip binary |
How it works
The plugin registers a `snip` tool that wraps shell command execution through the snip binary. The agent's SKILL.md instructions guide it to prefer `snip` over `exec` for CLI commands.
- 22+ built-in filters for common CLI tools
- Declarative YAML filter DSL (no compiled code)
- Graceful degradation (passthrough if no filter matches)
- Exit codes always preserved
Supported commands
git, go, npm, yarn, pnpm, cargo, docker, kubectl, terraform, pip, conda, make, cmake, gcc, rustc, javac, gradle, maven, brew, apt, and more.
License
MIT
Related Skills
Rtk Lite Cc
Lightweight CLI proxy that minimizes LLM token consumption — Claude Code only fork of rtk-ai/rtk
Compressor
Reduce token usage in AI coding agents (Claude Code, Copilot, Cursor) with mode-switchable instruction packs a
Xiaoyaoclaw Usage Report
OpenClaw usage & performance reporting - parse session JSONL for task duration, tool/skill/model usage, token
Tokencut
Reduce verbose AI coding output with a local CLI and MCP server. Targeted reads, output budgets, and recoverab
Atlassian Skills
Token-efficient CLI for Atlassian Server/DC (Jira, Confluence, Bitbucket) — drop-in alternative to mcp-atlassi
Taiga CLI
Unofficial zero-dependency Taiga.io CLI and AI agent skill. Token-efficient TOON output for LLM context window
Related Agents
Context Architect
LLM context-consumption and agent-memory architecture expert for the meta-system. Covers how always-loaded rul
ClawPort -- Setup Guide
This guide walks you through getting ClawPort running against your own OpenClaw instance. If you just want the
Review Arbiter
Authoritative LLM-as-a-Judge meta-agent that adjudicates multi-agent plan and code reviews whenever two or mor