AI编程工具烧Token太快?这个开源方案让Claude Code少读6.8倍代码,质量反而更高
Type: article
Author: 卡芙
Primary Topic: tooling
Ingested: 2026-04-10
Summary
开源项目 code-review-graph 用 Tree-sitter 为代码库建结构地图,让 AI 只读受影响的代码区域而非全量扫描。实测将单次 token 消耗从 13,205 降至 1,928(减少 6.8 倍),代码评审质量从 7.2 提升至 8.8。支持自动识别 Claude Code 和其他 MCP 工具,MIT 协议开源。
Key Concepts
- Token优化
- 代码结构图
- 增量上下文
- AI编程成本
- 代码评审
Entities
- code-review-graph
- Claude Code
- Tree-sitter
- MCP
Source
Relations
- used_in:claude-code
- related_to:CodeBrain-1
- supports:agents
Auto-generated on 2026-04-10