edouard-claudeedouard-claudeCommunityยท1 Agent Skills Included

snip

Filter shell output to cut token usage 60-90%

Filters verbose shell output before it reaches your coding assistant's context window. Compresses noisy commands like go test, git log, and cargo build into short summaries, cutting token usage by 60-90%. Uses declarative YAML filters anyone can write, with built-in support for 132 commands. Tracks savings in SQLite and works with Claude Code, Cursor, Codex, Copilot, and more.
npx skills add edouard-claude/snip --all -g -y
Available:

Explains the snip architecture, filter DSL rules, and design constraints so the agent can safely build, test, and extend filters and Go source code in this repository.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How 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โ†’