Graft
Claude Code hooks that cut grep tokens by 42%
Details
- External ID
- 49299985
- Source
- HN
- Company
- —
- Product
- Graft
- Website domain
- github.com
- Launched
- Aug. 14, 2026
- Cohort
- —
- Upvotes
- 39
- Upvotes percentile
- 0.8373655913978495
- Tags
- —
- Fetched at
- Sept. 10, 2026, 5:32 a.m.
- Updated at
- Sept. 10, 2026, 5:32 a.m.
Enrichment
- Theme
- developer tools and programming utilities
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- claude code hooks that reduce token usage
- Manually corrected
- False
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 — 497 launches clear the similarity bar, closest 8 shown.
Attention rank: #84 of 498 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 280 days after the earliest competitor.
- WarpGrep: A 20x faster subagent to grep for code · yc · 2025-11-28 · 17 upvotes · similarity 0.67
- Capn-hook for coding agents · hn · 2026-07-12 · 29 upvotes · similarity 0.59
- Grev · hn · 2026-09-24 · 6 upvotes · similarity 0.54
- jegrep · github · 2026-09-19 · 86 upvotes · similarity 0.54
- Mgrep · hn · 2025-11-20 · 6 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.52
- ContextSaver · github · 2026-09-16 · 23 upvotes · similarity 0.52
- jev-belay · github · 2026-09-18 · 17 upvotes · similarity 0.52
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.