Claude Code成本与额度长帖约 3 分钟

符号图砍掉八成上下文

Cut context tokens with a symbol graph

要点

  1. 作者用自研 symbolgraph 把上下文 token 降了约八成七
  2. 思路是给代码库建符号图,避免把整文件塞进窗口
  3. 仓库和演示站已公开,可直接给智能体试用
  4. 他强调有的基准上工具会输,说明不是万能压缩

原帖开头

I cut Claude Code's context tokens by 87%. The benchmark I'm proudest of is the one where my tool loses by 293%.