Claude Grep — Development skill for Claude Code
grep for your Claude Code conversations — regex + semantic search, agent-friendly output.
How to install Claude Grep
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open evoleinik/claude-grep and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Grep does
grep for your Claude Code conversations — regex + semantic search, agent-friendly output.
Alternatives in Development
- Mempalace Search — Search your memories across the MemPalace using semantic search with wing/room filtering 58.6k ★
- Serena — Code Intelligence Advanced code navigation and semantic search 14k ★
- Check 1: Cache Exists? — CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}" CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache/claude-hud" 2 10.9k ★
README
claude-grep
[](https://github.com/evoleinik/claude-grep/actions/workflows/ci.yml) [](https://app.codecov.io/gh/evoleinik/claude-grep) [](https://goreportcard.com/report/github.com/evoleinik/claude-grep) [](https://pkg.go.dev/github.com/evoleinik/claude-grep)
grep for your Claude Code conversations.
Every Claude Code session is stored as JSONL under `~/.claude/projects/`. That's a searchable record of every problem you've solved, every gotcha you've hit, and every decision you've made — but it's invisible. `claude-grep` makes it greppable: regex or semantic (vector) search over your entire history, with output tuned for both humans at a terminal and agents with a finite context window.
It's a single Go binary with no runtime dependencies (ollama is optional, only for semantic search).
Why
| Problem | claude-grep |
|---|---|
| Sessions are buried in JSONL files | searches them like grep |
| "Where's that conversation about X?" | -s finds it by meaning, not exact words |
| Python tooling adds ~200ms startup | Go binary starts in <10ms |
| Raw matches flood the context window | BM25 compression returns only query-relevant text |
| No structured output for piping | --json on every command |
| Empty results give an agent zero signal | prints scope + next-step suggestions on a miss |
Install
go install github.com/evoleinik/claude-grep@latest
Or build from source:
git clone https://github.com/evoleinik/claude-grep.git
cd claude-grep
go build -o claude-grep .
**Semantic search** is optional and needs [ollama](https://ollama.com) with the `nomic-embed-text` model:
curl -fsSL https
Related Skills
Cfn Codesearch Search
Semantic code search with CodeSearch (400x faster than grep)
Claude Semantic Search
Semantic search for Claude conversations. Find what you discussed instantly using natural language queries.
Csift
The missing tool to sift your Claude Code sessions: regex search across all record types, recover files, extra
Agent Skill
A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstr
Baoer Signal Grep
Context-efficient project search and bounded code analysis for Claude Code & Codex & Pi & OMP. and remote MCP
Shell Search
🐚 Claude Code Agent Skill: Web research from the terminal using curl + grep + sed + python
Related Agents
Codealive Context Explorer
Iterative code exploration across indexed repositories using CodeAlive semantic search, grep, artifact fetch,
Search Conversations
Use when searching Claude Code and Codex history for information learned in past conversations or prior experi
Test Coverage Mapper
Reducer subagent. Reads every per-node sidecar's tests_coverage_semantic block, joins against the actual test