
Mgrep Code Search
This is semantic search for codebases, basically letting you ask "where is authentication configured?" instead of grepping for exact strings. It's built on mgrep and makes sense once you hit 30+ files or nested directories where you're hunting for concepts rather than known function names. You run a watcher to index the repo, then query in natural language. It has options for AI synthesis of results and respects gitignore by default. The honest take is this bridges the gap between "I know what this feature does" and "where the hell is it implemented," which is most of your time in unfamiliar code. Works via bunx, so no installation needed.
- skills.sh installs
- 627
- GitHub stars
- 301
- last updated
- Aug 21, 2026
Install
$ npx -y skills add intellectronica/agent-skills --skill mgrep-code-search --agent claude-codeInstalls into .claude/skills of the current project.
Files
mgrep Code Search
Overview
mgrep is a semantic search tool that enables natural language queries across code, text, PDFs, and images. It is particularly effective for exploring larger or complex codebases where traditional pattern matching falls short.
When to Use This Skill
Use mgrep when:
- The codebase contains more than 30 non-gitignored files
- There are nested directory structures
- Searching for concepts, features, or intent rather than exact strings
- Exploring an unfamiliar codebase
- Need to understand "where" or "how" something is implemented
Use traditional grep/ripgrep when:
- Searching for exact patterns or symbols
- Regex-based refactoring
- Tracing specific function or variable names
Quick Start
Indexing
Before searching, start the watcher to index the repository:
bunx @mixedbread/mgrep watch
The watch command indexes the repository and maintains synchronisation with file changes. It respects .gitignore and .mgrepignore patterns.
Searching
bunx @mixedbread/mgrep "your natural language query" [path]
Search Commands
Basic Search
Sponsors
Details
- Repository
- github.com/intellectronica/agent-skills
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026
More from intellectronica/agent-skills
All 22- Gpt Image 1 5620
- Copilot Sdk535
- Here Be Git531
- Ray So Code Snippet522
- Lorem Ipsum515
- Raindrop Api507
- Upstash Redis Kv473
- Monologue Notes Api217
- Notion Api102.5K
- Context711.3K
- Youtube Transcript3.4K
- Nano Banana Pro3.2K
- Ultrathink1.9K
- Beautiful Mermaid1.8K
- Markdown Converter1.7K
- Todoist Api1.7K
- Anki Connect918
- Nano Banana 2897
- Gog Cli814
- Promptify650
- Tavily631