@neural_avb: rtk 库在我所有的编码代理中节省了 250 万个 token……大约两周时间!这是一个库/技能,教……

X AI KOLs Timeline 工具

摘要

rtk 库通过压缩 shell 命令输出来减少 token 消耗,在两周内为编码代理节省了 250 万个 token。

rtk 库已在我所有的编码代理中节省了 250 万个 token……大约两周时间! 这是一个库/技能,教 LLM 使用 rtk 来运行 shell 命令。shell 输出会被过滤、分组、截断。 代理看到压缩后的终端输出 → 更少的 token 消耗 https://t.co/f6VDRGcrnv
查看原文
查看缓存全文

缓存时间: 2026/06/01 09:34

rtk 库在我所有的编码代理中节省了 250 万个 token……大约在两周内!这是一个库/技能,教 LLM 使用 rtk 运行 shell 命令。shell 输出会被过滤、分组、截断。代理看到精简的终端输出 -> 更少的 token 消耗 https://t.co/f6VDRGcrnv

相似文章

@yibie: 推荐这篇硬核实测。一个工程师用了一周追踪自己的 coding agent session,发现任务本身只消耗了 0.67% 的 token——其余 99% 全花在搬运工具目录、skill 描述和系统 prompt 上。工作对开销比 1:1…

X AI KOLs Timeline

An engineer tracked his coding agent's token usage over a week, finding that only 0.67% of tokens were spent on actual tasks, with 99% consumed by tool directories, skill descriptions, and system prompts. He provides optimization strategies, including shell output filtering which saved 46.9% of tokens.

rtk-ai/rtk

GitHub Trending (daily)

RTK 是一个高性能的 CLI 代理,可在命令输出到达 LLM 上下文之前对其进行过滤和压缩,从而将 token 消耗减少 60-90%,且开销极低。