snip
Filter shell output to cut token usage 60-90%
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install snip?โผ
Run `npx skills add edouard-claude/snip --all -g -y` in your terminal to install this skill globally.
How does snip reduce token usage?โผ
It sits between your coding assistant and the shell, filtering verbose command output through YAML pipelines so only the useful summary reaches the model. Typical savings are 60-90% per command.
Which coding assistants work with snip?โผ
snip supports Claude Code, Cursor, Codex, Copilot, Gemini CLI, Windsurf, Cline, Grok Build, Aider, and more via hooks or prompt injection. Run `snip init` to connect your tool.
Can I write custom snip filters without Go?โผ
Yes. Filters are plain YAML files using 20 built-in actions like keep_lines, aggregate, and json_extract. Drop a file in ~/.config/snip/filters/ and it works immediately.
What happens if a snip filter fails?โผ
snip falls back to the raw command output and preserves the original exit code, so your workflow never breaks.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core