Signal Garden

AI 工具AI TOOLS· CHAT-AGENT

snip

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.

适用平台Platforms
claude-code · codex · windsurf · cline · gemini-cli · opencode · copilot
已识别的要求Documented requirements
Local runtime
许可LICENSE
MIT

每周一 1 封:本周热度最高的 10 个 GitHub 新项目。免费,随时退订。One email each Monday: the 10 hottest new GitHub projects this week. Free, unsubscribe any time.

订阅即表示你同意我们按隐私政策发送每周一周刊。我们会记录这次订阅的来源页面和活动标签,这条记录不包含 IP 地址。Subscribing means you agree that we email the Monday weekly digest as described in the privacy policy. We record the referring page and campaign tag for the signup, and that record does not include an IP address. 隐私政策Privacy Policy

能力CAPABILITIES

它能帮你做成什么What it helps you do

  1. 01

    省下九成对话令牌费用

  2. 02

    过滤测试日志只留结论

  3. 03

    按命令统计省了多少token

  4. 04

    一条命令接入Claude Code

  1. 01

    Filter shell output before it reaches your AI assistant.

  2. 02

    Reduce token usage by 60-90% with declarative YAML filters.

  3. 03

    Works with Claude Code, Cursor, Copilot, Gemini, and more.

  4. 04

    Track token savings per command in a local SQLite database.

上手GET STARTED

怎么装How to install

CURL-PIPE
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.

打开项目文档Open project documentation ↗

使用限制LIMITATIONS

限制与风险Limits and risk

以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。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

01需要 API KeyREQUIRES API KEY
未在文档中发现Not found in the docs
02需要本地环境NEEDS LOCAL RUNTIME
是Yes
03需要 DockerNEEDS DOCKER
未在文档中发现Not found in the docs
04难度DIFFICULTY
需要本地环境Needs a local runtime
05许可LICENSE
MITMIT
06阶段STAGE
持续活跃Active
创建于 20 FEB 2026Created 20 FEB 2026

静态扫描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

它现在处在什么位置Where it stands right now

首次发现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.

每周一周刊Monday weekly digest

每周一 1 封:本周热度最高的 10 个 GitHub 新项目。免费,随时退订。One email each Monday: the 10 hottest new GitHub projects this week. Free, unsubscribe any time.

看第 1 期Read issue 1

订阅即表示你同意我们按隐私政策发送每周一周刊。我们会记录这次订阅的来源页面和活动标签,这条记录不包含 IP 地址。Subscribing means you agree that we email the Monday weekly digest as described in the privacy policy. We record the referring page and campaign tag for the signup, and that record does not include an IP address. 隐私政策Privacy Policy

订阅每周一周刊Subscribe to the Monday weekly digest
PROVENANCE · 这些结论的依据是什么Where these conclusions come from
来源 URLSource URL
https://github.com/edouard-claude/snip
原始数据哈希Raw data hash
94722fef0f8356dd46cd1d0a88b473e6
解析时间Parsed at
2026-11-05T23:50:22.953Z
最后一次验证Last verified
2026-11-30T22:16:22.887Z
增长测量时间Growth measured
2026-10-17T23:49:37.479Z
发现查询Discovery queries
focus:token:repo:reduce-tokens, focus:token:repo:topic-token-optimization
分类来源Category source
rules
焦点Focus
token · motion (12)
完整解析证据 JSONFull parse evidence JSON
{
  "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
}