Semsearch — Development skill for Claude Code
Local semantic code search for Claude Code: find code by what it does, next to Grep and LSP.
How to install Semsearch
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open spardanviro/semsearch and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Semsearch does
Local semantic code search for Claude Code: find code by what it does, next to Grep and LSP. EmbeddingGemma 2 + SQLite, runs fully on your machine. One-line install, see Releases.
Alternatives in Development
- TypeScript Lsp — TypeScript / JS /plugin install typescript-lsp@claude-plugins-official 14k ★
- /factory-status - Check Factory Build Progress — See what you've built, what's validated, what's installed, and what's next 618 ★
- MCP Base — tilth — code intelligence MCP server 349 ★
README
semsearch
[中文说明](README.zh-CN.md)
Local semantic code search for [Claude Code](https://claude.com/claude-code), powered by [EmbeddingGemma 2](https://developers.googleblog.com/embeddinggemma-2-the-developer-guide/).
Claude Code finds code with Grep and LSP, which works well when you know the name. semsearch is for when you only know **what the code does**. It finds that code by meaning: "where are failed downloads retried", "the code that keeps a crash from corrupting the save file", "anything similar to this snippet". It adds to Grep and LSP and replaces neither.
- Runs locally. Everything stays on your machine: one background daemon holds the model,
and the indexes live in
~/.cache/semsearch. - Updates incrementally. Only changed files are re-chunked, and only changed chunks are
re-embedded. A hook updates the index after each Claude edit, and a quick scan before each
search catches everything else (editor saves,
git pull, branch switches). - Splits code by syntax. tree-sitter cuts code into functions, methods and classes, and a doc comment stays in the same chunk as the code it describes. Markdown is split by heading.
- Built into Claude Code. It ships an MCP tool, a
semantic-searchsubagent, an edit hook and routing rules, so Claude picks the right tool by itself. - Images, PDFs, audio and video (opt-in). These are searchable by meaning too: "the blue explosion sprite sheet", "the page with the voxel visibility diagram", "the clip where the character goes limp". See Media.
How well it works
| Benchmark | Questions | MRR | Answer in top 5 |
|---|---|---|---|
| 6 private game-modding projects (C#, TS, GDScript, PowerShell, JS; up to 60k chunks) | 72 | 0.83 | 96% |
A public C# mod and this repository (evals/cases/) |
54 | 0.79 | 91% |
- Who wrote the questions: for the 72-question set, agents that had not seen the implementation, with every expected answer checked against the source. Those case
Related Skills
Claude Code Lsp Enforcement Kit
Hooks that force Claude Code to use LSP instead of Grep for code navigation. Saves ~80% tokens
Lazyclaudecode
omo for Claude Code — native Claude Code plugin marketplace (Sisyphus Labs / omo): rules, comment-checker, LSP
Cfn Codesearch Search
Semantic code search with CodeSearch (400x faster than grep)
Claude Grep
grep for your Claude Code conversations — regex + semantic search, agent-friendly output
Metalmind
Interactive Claude Code setup: Obsidian vault w/ local semantic search, Serena LSP navigation, 15 custom agent
Version Management
Semantic versioning strategy with a VERSION file, conventional commits and automated releases.
Related Agents
Dashboard Support
Support agent for the Agent Dashboard - guided install and setup diagnostics on the local machine, plus remote
Kitty
Caretaker of the kit and the machine setup: builds kit features, fixes kit bugs, audits and deep-reviews the w
Codealive Context Explorer
Iterative code exploration across indexed repositories using CodeAlive semantic search, grep, artifact fetch,