Claude Code marketplace for ogrep - semantic code search with multiple modes: semantic (conceptual), fulltext (FTS5), and hybrid. Supports Voyage AI (code-optimized), OpenAI, or local models via LM Studio.
npx claudepluginhub gplv2/ogrep-marketplaceSemantic code search with multiple modes: semantic (embedding similarity for conceptual queries), fulltext (FTS5 keyword matching for exact identifiers), and hybrid (combined - best of both). Supports Voyage AI (code-optimized), OpenAI, or local models via LM Studio. JSON output for AI tools.
Semantic grep for codebases — local-first, SQLite-backed, with agentic Claude Code integration.
ogrep helps you search code by meaning, not just keywords. It builds a local semantic index (.ogrep/index.sqlite by default) and retrieves the most relevant code chunks for questions like:
GitHub: github.com/gplv2/ogrep-marketplace Website: ogrep.be — quick overview
ogrep now runs as a dedicated Claude Code subagent — dispatched automatically when Claude encounters conceptual code questions. This is a fundamental shift from passive skill to active agent.
What changed:
subagent_type (like episodic-memory), running in its own context window with a specialized system prompt--summarize overview first, narrow to relevant files, then expand specific chunks. Saves ~85% tokens vs raw resultsfile:line references. No raw JSON in your conversationWhy it matters: Claude now dispatches ogrep at the right moment for conceptual questions, without manual invocation. The agent handles the full search workflow autonomously and returns concise, actionable results.
Trimmed skill definition from 548 to 180 lines (67% reduction). Better trigger accuracy with explicit negative examples.
AST-aware chunking is now enabled by default when tree-sitter is available. This produces semantically coherent chunks (complete functions, classes) instead of arbitrary line breaks.
--ast flag removed (now default behavior)--no-ast flag added to explicitly disablepip install "ogrep[ast]" # Enable AST support
ogrep index . # AST enabled automatically
ogrep index . --no-ast # Explicitly disable
Voyage AI's voyage-code-3 achieves best search quality in our benchmarks:
| Configuration | Hit@1 | MRR | Cost |
|---|---|---|---|
| Voyage voyage-code-3 | 7/10 | 0.717 | $0.06/M |
| OpenAI text-embedding-3-small | 6/10 | 0.700 | $0.02/M |
| Nomic (local) + flashrank | 6/10 | 0.633 | Free |
pip install "ogrep[voyage]"
export VOYAGE_API_KEY="pa-..."
ogrep index . -m voyage-code-3
Reranking degrades results when using high-quality embeddings:
| Embedding | Without Rerank | With Rerank | Action |
|---|---|---|---|
| Voyage | 0.717 MRR | 0.593 (-17%) | ❌ Don't rerank |
| OpenAI | 0.700 MRR | 0.550 (-21%) | ❌ Don't rerank |
| Nomic (local) | 0.545 MRR | 0.633 (+16%) | ✅ Use reranking |
The rule: Reranking helps weak embeddings but hurts strong ones.
When reranking is needed, FlashRank is now the default:
--glob "*.py" and --exclude "tests/*"--summarize for file-level aggregation (~85% token savings)ogrep query "auth" --branch main--ast flag removed (AST is now default)--no-json for text)pip install ogrep
pipx install ogrep
Note: pipx sometimes has issues. If you encounter problems, use pip instead.
# Add the marketplace
/plugin marketplace add gplv2/ogrep-marketplace
# Install the plugin
/plugin install ogrep@ogrep-marketplace
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.