Loading...
Loading...
Semantic code search using mgrep for efficient codebase exploration. This skill should be used when searching or exploring codebases with more than 30 non-gitignored files and/or nested directory structures. It provides natural language semantic search that complements traditional grep/ripgrep for finding features, understanding intent, and exploring unfamiliar code.
npx skill4agent add intellectronica/agent-skills mgrep-code-searchbunx @mixedbread/mgrep watchwatch.gitignore.mgrepignorebunx @mixedbread/mgrep "your natural language query" [path]bunx @mixedbread/mgrep "where is authentication configured?"
bunx @mixedbread/mgrep "how do we handle errors in API calls?" src/
bunx @mixedbread/mgrep "database connection setup" src/lib| Option | Description |
|---|---|
| Maximum results (default: 10) |
| Display full result content |
| Generate AI-powered synthesis of results |
| Update index before searching |
| Disable relevance optimisation |
# Get more results
bunx @mixedbread/mgrep -m 25 "user authentication flow"
# Show full content of matches
bunx @mixedbread/mgrep -c "error handling patterns"
# Get an AI-synthesised answer
bunx @mixedbread/mgrep -a "how does the caching layer work?"
# Sync index before searching
bunx @mixedbread/mgrep -s "payment processing" src/servicesbunx @mixedbread/mgrep watchbunx @mixedbread/mgrep "what you're looking for" [optional/path]bunx @mixedbread/mgrep -m 20 -c "refined query" src/specific/directory| Variable | Purpose |
|---|---|
| Default result limit |
| Enable content display (1/true) |
| Enable AI synthesis (1/true) |
| Pre-search sync (1/true) |
bunx @mixedbread/mgrepbunx @mixedbread/mgrep watch.gitignore.mgrepignore