AI 工具AI TOOLS· CHAT-AGENT
edouard-claude/snip
一个过滤 AI 编程助手 shell 输出的工具,能省下 60-90% 的 token 费用。A CLI proxy that filters shell output to reduce LLM token usage for AI coding assistants.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
省下九成对话令牌费用
过滤测试日志只留结论
按命令统计省了多少token
一条命令接入Claude Code
Filter shell output before it reaches your AI assistant.
Reduce token usage by 60-90% with declarative YAML filters.
Works with Claude Code, Cursor, Copilot, Gemini, and more.
Track token savings per command in a local SQLite database.
上手GET STARTED
curl -fsSL https://raw.githubusercontent.com/edouard-claude/snip/master/install.sh | sh选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
存在风险Risk found
静态扫描STATIC SCAN
01执行远程脚本Runs a remote scriptreadme
curl -fsSL https://raw.githubusercontent.com/edouard-claude/snip/master/install.sh | sh
02执行 Shell 命令Runs shell commandsreadme
**CLI proxy that filters shell output before it reaches your AI coding assistant's context window.** Works with Claude Code, Cursor, Copilot
03控制浏览器Controls a browserreadme
| **JavaScript/TypeScript** (17) | jest, vitest, eslint, tsc, biome, oxlint, prettier, next, playwright, nx, turbo, npm, npx, yarn, pnpm ins
安装脚本使用 curl | sh 方式,会直接执行远程代码,存在高风险。建议改用 Homebrew 或 Go 安装,避免运行不可信的远程脚本。The install script uses curl piped to sh, which executes remote code. Review before running. snip intercepts shell commands and can filter output, which may affect how your AI tool behaves.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
03 OCT 202603 OCT 2026
增长GROWTH
+5.6%+5.6%
461 → 487 stars · 59 个快照461 → 487 stars · 59 snapshots
状态STATUS
持续活跃Active
质量 BQuality B
snip 能拦截 AI 编程助手执行的 shell 命令输出,把 go test、git log 这类冗长结果压缩成一行,实测一次会话省下 2.3M tokens。Measured on a real Claude Code session: 128 commands, 2.3M tokens saved.
{
"agents": [
{
"agent": "claude-code",
"evidence": "readme: …context window.** Works with Claude Code, Cursor, Copilot, Gemini CLI,…"
},
{
"agent": "codex",
"evidence": "readme: …-agent codex --uninstall ``` Codex CLI 0.131.0 or later is required…"
},
{
"agent": "windsurf",
"evidence": "readme: …Cursor, Copilot, Gemini CLI, Windsurf, Cline, Codex, Pi, Grok Build…"
},
{
"agent": "cline",
"evidence": "readme: …opilot, Gemini CLI, Windsurf, Cline, Codex, Pi, Grok Build, Kilo…"
},
{
"agent": "gemini-cli",
"evidence": "readme: …Claude Code, Cursor, Copilot, Gemini CLI, Windsurf, Cline, Codex, Pi,…"
},
{
"agent": "opencode",
"evidence": "readme: …uild, Kilo Code, Antigravity, OpenCode, OpenClaw, Aider, and any too…"
},
{
"agent": "copilot",
"evidence": "readme: …Execution hook (native) | | **GitHub Copilot** | `snip init --agent copilo…"
}
],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 0,
"ai-tools": 10,
"dev-tools": 10,
"indie-web": 0,
"skill-agent": 3,
"productivity": 4
},
"primary": "ai-tools",
"secondary": "chat-agent"
},
"localRuntime": "** (11) | jira, jj, yadm, gt, ollama, sops, skopeo, shopify, quarto, liquiba",
"skillMdTotal": 1,
"skillMdErrors": [
{
"path": "SKILL.md",
"error": "no frontmatter"
}
],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 0,
"browser": 0,
"devtool": 4,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [
{
"signal": "SKILL.md present, frontmatter incomplete",
"weight": 0.85
},
{
"signal": "description mentions AI",
"weight": 0.2
}
],
"scannedSources": [
"readme",
"SKILL.md"
],
"skillMdFetched": 1
}