Graft (Claude Code hooks)
Hacker ApprovedRanked 4 of 15 code search tools by recommenders
People recommend it for giving coding agents a map of the code that searches inside files rather than by names, cutting tokens and latency. Critics say the benchmarks are thin and the README reads as generated.
People recommend it for giving coding agents a map of the code that searches inside files rather than by names, cutting tokens and latency. Critics say the benchmarks are thin and the README reads as generated.
17 people gave an opinion
- recommend it
- 13
- criticize it
- 4
- approval share
- 76%
Recommended in 4 of 13 months
- November 2025: not recommended
- December 2025: not recommended
- January 2026: not recommended
- February 2026: not recommended
- March 2026: recommended
- April 2026: not recommended
- May 2026: not recommended
- June 2026: not recommended
- July 2026: not recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 13 people recommend itNeeds 10 or more, met.
- 3.3 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 4 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Cuts tokens and latency for agents
“can reduce codebase up to 50% or at least the integration layer part by easily 70-80%”
Comment from 5 Sep 2026 in “Maybe we shouldn't be reviewing all this code” “I'm intrigued by the latency savings in particular, that sounds great.”
Comment from 14 Aug 2026 in “Show HN: Graft – Claude Code hooks that cut grep tokens by 42%” Keeps codebase understanding current across sessions
“so graft solves for making claude code understand your codebase every session”
Comment from 14 Aug 2026 in “Show HN: Graft – Claude Code hooks that cut grep tokens by 42%” “so that graph never goes stale”
Comment from 14 Aug 2026 in “Show HN: Graft – Claude Code hooks that cut grep tokens by 42%” Quick to map and useful
“Didnt know i needed this, really useful toolm definitely gonna use this from now on.”
Comment from 22 Sep 2026 in “Show HN: graf (1000x faster graphify in Rust)” “here i was able to map in approx 5 min”
Comment from 23 Sep 2026 in “Show HN: graf (1000x faster graphify in Rust)”
What people warn about
Each mark is one comment
Benchmarks are few and arbitrary
“they claim success on SWE-Bench Verified, but it's only on 50 tasks”
Comment from 14 Aug 2026 in “Show HN: Graft – Claude Code hooks that cut grep tokens by 42%” “These are super arbitrary numbers of benchmarks to run”
Comment from 14 Aug 2026 in “Show HN: Graft – Claude Code hooks that cut grep tokens by 42%” README reads as generated slop
“It's so bad that I can tell it's Claude, specifically Opus 4.8/5.0, from the first 6 words.”
Comment from 14 Aug 2026 in “Show HN: Graft – Claude Code hooks that cut grep tokens by 42%” “slop README. If you couldn't be bothered to write it, don't expect people to read it.”
Comment from 14 Aug 2026 in “Show HN: Graft – Claude Code hooks that cut grep tokens by 42%”
Other code search tools people recommend
The four most recommended other code search tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 15 code search tools, rankedWhat people said
18 of the 20 comments that mention it, newest first. Each links to the original comment.
“sparse checkout is 12x faster, concurrent land throughput is 82x higher”
“here i was able to map in approx 5 min”
“Didnt know i needed this, really useful toolm definitely gonna use this from now on.”
“can reduce codebase up to 50% or at least the integration layer part by easily 70-80%”
“Extraordinary claims should be supported by evidence.”
“These are super arbitrary numbers of benchmarks to run”
“make better retrieval the default”
“slop README. If you couldn't be bothered to write it, don't expect people to read it.”
“so graft solves for making claude code understand your codebase every session”
“they claim success on SWE-Bench Verified, but it's only on 50 tasks”
“graft searches inside the actual code, while graphify only looks at names and file paths”
“so that graph never goes stale”
“I'm intrigued by the latency savings in particular, that sounds great.”
“It's so bad that I can tell it's Claude, specifically Opus 4.8/5.0, from the first 6 words.”
“It just made understanding anything more difficult”
“I think it'd either be too expensive or too-low-quality to feed all the source code in my repo into an LLM to build this dataset”
“Graft has a slightly different set of goals, one of which is to keep writes fast and small and optimize for partial replication.”
“What doesn't work great is if you get disconnected”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.