Graft - Context layer for coding agents

Show HN: Graft – Claude Code hooks that cut grep tokens by 42%

Graft - Context layer for coding agents

Graft is an open-source context layer that builds a persistent, markdown-based graph of your codebase, enabling coding agents like Claude Code, Cursor, Codex, and Gemini to work faster and cheaper. By pre-computing a semantic map of your code, Graft reduces token usage by up to 42%, cuts tool calls by 46%, and speeds up tasks by 60%, while improving correctness on SWE-bench Verified by 12 points. It integrates seamlessly via hooks and an MCP server, supports multiple languages, and requires no daemon or external services—just files in your repo.

Graft builds that understanding once and writes it into your repo as a folder of linked markdown files, one node per system, API, or concept.

More from this day

2026-08-14