itsDigvijaysing

Agent Codesearch Bench — Development skill for Claude Code

Development community

Neutral, reproducible benchmark of code-search tools for coding agents (semble, graphify, BM25, grep): files and lines found on real bug-fix tasks, token cost, and agent runs with each tool.

How to install Agent Codesearch Bench

This entry records only its repository, not the path inside it, so there is no exact command to give. Open itsDigvijaysing/agent-codesearch-bench and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Codesearch Bench does

Neutral, reproducible benchmark of code-search tools for coding agents (semble, graphify, BM25, grep): files and lines found on real bug-fix tasks, token cost, and agent runs with each tool.

Alternatives in Development

  • Jupyter Notebook — Create clean, reproducible Jupyter notebooks for experiments and tutorials 14.6k ★
  • Semble — Fast and Accurate Code Search for Agents 6.1k ★
  • Kb — Search the project knowledge base via GitMark (FTS5 bm25 + trigram/fuzzy) 75 ★

README

codesearch-bench

**Do code-search tools help coding agents find the code a fix needs?** This benchmark tests semble, graphify and code-review-graph against plain grep and BM25 on 150 real bug-fix tasks where people marked exactly which code each fix needed. Each tool is tested as a single search, and semble and graphify also as tools handed to two coding agents. No affiliation with any tool; default settings; pinned versions.

**Short answer:** as a single search, yes: semble finds almost twice as many of the needed files as grep. Inside a coding agent, barely, and it costs more: with semble or graphify, two different agents found at most 4 points more of the needed files than with their own grep and file reading, and used 16 to 35% more tokens.

Results at a glance: semble puts 62% of the needed files in its top 10 (grep 33%); BM25 shows 22% of the needed lines within 8,000 tokens (semble 11%); on 50 hard tasks, adding semble or graphify changed the files an agent found by at most 4 points: Claude Code with Haiku found 46% alone, 50% with semble and 44% with graphify; Antigravity with Gemini 3.8 Flash 53%, 52% and 54%

What we found

  1. Single search: semble finds the most files. 62% of the needed files are in its top 10 results, against 33% for grep, and it returns about 3,300 tokens instead of grep's 49,500.
  2. Exact lines for the tokens spent: BM25 is best. Its first 8,000 tokens hold 22% of the needed lines; semble's 11%, grep's 8%.
  3. Large projects are hard for every tool. On 50 tasks from 13 large projects, semble still leads but finds only 29% of the files.
  4. Agents gain little from the tools. On those 50 hard tasks, Claude Code with Haiku found 46% of the needed files on its own, 50% with semble (+4 points, weak evidence) and 44% with graphify. Gemini 3.8 Flash in Google's Antigravity CLI found 53% on its own and about the same with either tool (52%, 54%).