/find
Find code using hybrid approach (semantic + grep)
> /plugin marketplace add Helweg/open-codebase-index > /plugin install codebase-index@helweg-plugins
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/find
Context preview
What this command does when you run it.
Find code using hybrid approach (semantic + grep)
Command definition
find.mddescription: Find code using hybrid approach (semantic + grep)
Find code using both semantic search and grep.
User input: $ARGUMENTS
Strategy: 1. Use `codebase_search` to find semantically related code 2. Identify specific function/class/variable names from results 3. Use grep to find all occurrences of those identifiers 4. Combine into a comprehensive answer
Parse optional parameters from input:
- `limit=N` → limit semantic results
- `type=X` or "functions"/"classes" → filter chunk type
- `dir=X` → filter directory
Examples:
- `/find error handling middleware`
- `/find payment validation type=function`
- `/find user auth in src/services`
If no index exists, run `index_codebase` first.
Search a codebase by meaning, then follow the result into definitions, callers, and dependency paths. open-codebase-index is a local semantic code index for OpenCode, Jcode, Pi, Codex, Claude Code, and other MCP clients.
Repo: Helweg/open-codebase-index
Other commands on codebase-index.
- /call-graph
Trace callers, callees, or paths using the call graph
Open command - /definition
Find where a symbol is defined in the codebase
Open command - /peek
Quickly find likely code locations without returning full code
Open command - /pr-impact
Analyze PR or branch impact using the call graph
Open command - /reindex
Fully rebuild the codebase index from scratch
Open command - /search
Search codebase by meaning using semantic search
Open command

