Graft
Claude Code hooks that cut grep tokens by 42%
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
HN · launched Aug 14, 2026 · 39 upvotes (top 16%) · 1 view
Niche: llm optimization tools · 127 launches, 10 in the last 7 days ▲ +100% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- AI feature
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 127 launches in llm optimization tools →
Could you build this?
Yes Graft is a set of lightweight shell/CLI hooks designed to filter and compress file searches/grep outputs to reduce token consumption when using AI coding assistants like Claude Code.
Discussion
20 comments analyzed.
Competitors mentioned: Obsidian, AgisHub, Repowise, LSP (Language Server Protocol)
Concerns raised: README written entirely by LLM without human review/editing, Benchmark methodology unclear - arbitrary sample sizes (9, 20, 36, 50), selection bias, only 1 run with p-value of 0.22, Graph pre-filling context may reinforce hallucinations and create bias toward existing information, Claims not supported by evidence - seed, questions, and results not published
Feature requests: Hooks to manage codebase context across sessions (CLAUDE.md approach), Support for different sized project directories via mount binding
Competitors
Other products that read as similar to this one : 1394 launches clear the similarity bar, closest 8 shown.
Attention rank: #211 of 1395 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 287 days after the earliest competitor.
- WarpGrep: A 20x faster subagent to grep for code · yc · 2025-11-28 · 17 upvotes · similarity 0.69
- Capn-hook for coding agents · hn · 2026-07-12 · 29 upvotes · similarity 0.61
- Grev · hn · 2026-09-24 · 6 upvotes · similarity 0.56
- jegrep · github · 2026-09-19 · 86 upvotes · similarity 0.56
- Mgrep · hn · 2025-11-20 · 6 upvotes · similarity 0.56
- ContextSaver · github · 2026-09-16 · 23 upvotes · similarity 0.54
- A 60-line PreToolUse hook that stops Claude Code from editing your .env · hn · 2026-07-27 · 6 upvotes · similarity 0.54
- jev-belay · github · 2026-09-18 · 17 upvotes · similarity 0.54
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.