evoleinik

Claude Grep — Development skill for Claude Code

Development community

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

[![CI](https://github.com/evoleinik/claude-grep/actions/workflows/ci.yml/badge.svg)](https://github.com/evoleinik/claude-grep/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/evoleinik/claude-grep/branch/main/graph/badge.svg)](https://app.codecov.io/gh/evoleinik/claude-grep) [![Go Report Card](https://goreportcard.com/badge/github.com/evoleinik/claude-grep)](https://goreportcard.com/report/github.com/evoleinik/claude-grep) [![Go Reference](https://pkg.go.dev/badge/github.com/evoleinik/claude-grep.svg)](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