独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
E

ExJtac/tokenstretch

Free, open-source toolkit that cuts wasted AI coding credits

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:pip install . # from a clone of this repo; Python 3.11+, no dependencies

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
1 ★ · ExJtac/tokenstretch · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-12 · 最近见到 2026-11-14 · 共见到 3 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 ExJtac/tokenstretch;我们收录于 2026-11-12;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# tokenstretch

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Stop paying for wasted AI coding credits. One command finds the waste, explains it, and fixes it, with undo.
tokenstretch is free and open source (MIT). It runs 100% on your machine. There's no account, no sign-up, no telemetry, and no server. It looks at how Claude Code, Codex, and other coding agents are set up on your computer, shows you in plain English where your credits are going, and applies a small set of safe fixes. It backs up every file first, and tokenstretch undo puts everything back.
It doesn't replace your tools. It checks, configures, and measures them, including RTK and Caveman.
The local dashboard (tokenstretch dashboard), shown with sample data.
## What you get
A plain-English checkup. doctor runs 40+ local checks: the top model set as your everyday default, giant sessions that re-read hundreds of thousands of tokens on every step, duplicate instruction files you pay for twice, telemetry quietly left on, proxy chains, and setups that risk your provider's terms.
Fixes it applies for you. setup explains each change (what it is, why it costs you, which file and key it touches, and how to undo it), asks once, then applies it with live progress.
A live view. status shows what's applied, which model each tool defaults to, and how much history your newest sessions re-read on every step. It flags sessions over ~150K tokens with a "/clear at the next task break" tip.
A live watch. watch runs quietly in a terminal and warns you, once per problem, when a session's history gets too big, the top model is doing simple steps, the same file keeps getting re-read, or history is growing fast. Each warning says what's wrong, why it costs credits, and the one-line fix.
An instruction-file trimmer. trim lists every instruction file your agents resend on each turn (CLAUDE.md, AGENTS.md, GEMINI.md, copilot-instructions.md, and their imports) with approx. token counts, finds duplicated rules, oversized files, pasted logs and code, and stale paths, and proposes a trimmed version that only makes safe mechanical changes. It's a dry run unless you pass --apply, and undo restores it.
A model picker. model suggest " " recommends light, mid, or top for a task and names the model for each tool you have. model default --tier mid changes your default model, with a backup and undo.
A shareable report. report writes a single self-contained HTML file with the findings, the plan, what was applied, undo commands, and current status. It loads nothing from the internet.
A weekly report. report --weekly adds up your local usage logs per week: tokens by type and by model, your biggest session histories, waste spots, and a before/after view since setup. Cost appears only where your logs report it.
A local dashboard. dashboard opens one live page on your own machine with all of the above, updated every 5 seconds. See Dashboard.
Real measurements, never guesses. bench compares before and after on a throwaway copy of your repo, using your agent's own usage logs. If there's no data, it says no measurement.
Full undo. Every changed file is backed up under ~/.tokenstretch/backups/, and each change is recorded in a manifest.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/exjtac-tokenstretch/)
来源
github · https://github.com/ExJtac/tokenstretch
按领域浏览
开源项目
Traction
1 ★
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引