Signal Garden

开发者工具DEVELOPER TOOLS· CLI

tokenfold

snchimata/tokenfold

在本地无损压缩JSON和日志,减少LLM token消耗,降低API成本。Losslessly compress JSON logs and schemas to fit more tokens in your LLM context window — no data sent outside your network.

根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.

适用平台Platforms
cline · claude-code
已识别的要求Documented requirements
Local runtime
许可LICENSE
Apache-2.0

每周一 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

Featured on Signal Garden
徽章主题Badge theme

能力CAPABILITIES

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

  1. 01

    把JSON数据压缩到原来一半以下的token数

  2. 02

    在本地无损压缩日志和结构,不联网

  3. 03

    用一条命令把压缩后的内容还原成原始数据

  4. 04

    让AI只保留你指定的关键信息,丢掉无关内容

  5. 05

    把OpenAI格式的请求压缩后再发给上游

  1. 01

    Compress JSON logs losslessly for LLM prompts

  2. 02

    Reduce token usage without losing any data

  3. 03

    Fit more structured data into context windows

  4. 04

    Run compression entirely inside your own network

  5. 05

    Use with any LLM through a local proxy

上手GET STARTED

怎么装How to install

NPM · Node.js
npm install tokenfold@0.6.0

选择与你的环境对应的方式。命令来自项目文档,未运行实测。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

未知Unknown

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
Apache-2.0Apache-2.0
06阶段STAGE
持续活跃Active
创建于 14 JUL 2026Created 14 JUL 2026

静态扫描STATIC SCAN

在 README、SKILL.md 和依赖清单中没有匹配到已知风险模式。No known risk patterns matched in the README, SKILL.md or dependency list.

静态扫描未发现明显风险,但不代表安全A static scan found no obvious security risks, but that does not prove the software is safe.

项目动态PROJECT ACTIVITY

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

首次发现FIRST SEEN

03 OCT 202603 OCT 2026

增长GROWTH

+201.5%+201.5%

131 → 395 stars · 50 个快照131 → 395 stars · 50 snapshots

状态STATUS

持续活跃Active

质量 AQuality A

可以无损压缩JSON、日志和schema,节省LLM调用的token成本,实测30条记录从原始token压缩到500 token以内。Lossless compression — every byte can be recovered exactly

每周一周刊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/snchimata/tokenfold
原始数据哈希Raw data hash
bc33dfc7881eda26fc6c01abb2995962
解析时间Parsed at
2026-11-22T00:10:07.663Z
最后一次验证Last verified
2026-11-21T22:14:32.240Z
增长测量时间Growth measured
2026-11-22T00:21:59.267Z
发现查询Discovery queries
focus:token:repo:context-compression, focus:token:repo:topic-token-optimization
分类来源Category source
rules
焦点Focus
token (10)
完整解析证据 JSONFull parse evidence JSON
{
  "agents": [
    {
      "agent": "cline",
      "evidence": "tree: .clinerules/"
    },
    {
      "agent": "claude-code",
      "evidence": "readme: …fold init` currently supports Claude Code; Codex uses manual MCP regist…"
    }
  ],
  "apiKey": null,
  "docker": null,
  "taxonomy": {
    "scores": {
      "design": 0,
      "ai-tools": 4,
      "dev-tools": 7,
      "indie-web": 1,
      "skill-agent": 3,
      "productivity": 7
    },
    "primary": "dev-tools",
    "secondary": "cli"
  },
  "localRuntime": "o repository checkout, model, GPU, or ML framework: ```bash python -m pi",
  "skillMdTotal": 0,
  "skillMdErrors": [],
  "treeTruncated": false,
  "categoryScores": {
    "data": 0,
    "agent": 0,
    "media": 0,
    "design": 0,
    "browser": 0,
    "devtool": 2,
    "security": 0,
    "marketing": 0,
    "productivity": 0
  },
  "classification": [
    {
      "signal": "MCP topic + README",
      "weight": 0.6
    }
  ],
  "scannedSources": [
    "readme"
  ],
  "skillMdFetched": 0
}