Mgrep Code Search
Semantic natural-language code search via mgrep, complementing grep and ripgrep in larger, unfamiliar codebases.
- CCM score
- 58 of 100
- skills.sh installs
- 638
- GitHub stars
- 305
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers indexing with
bunx @mixedbread/mgrep watchand natural-language searches that can be scoped to a given path - Includes search options
-m,-c,-a,-s, and--no-rerank, plus matching environment variables such asMGREP_MAX_COUNT - Enforces running the watcher before searching so results reflect the current state of the index, and respects
.gitignoreand.mgrepignore - Designed for codebases with more than 30 non-gitignored files or nested directories, where exact-pattern tools fall short
Install
$ npx -y skills add intellectronica/agent-skills --skill mgrep-code-search -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/intellectronica/agent-skills
- Categories
- CLI & Terminal, Memory & Context
- First seen
- Jun 3, 2026
More from intellectronica/agent-skills
All 22- Gpt Image 1 5631
- Copilot Sdk545
- Here Be Git541
- Ray So Code Snippet533
- Lorem Ipsum526
- Raindrop Api517
- Upstash Redis Kv483
- Monologue Notes Api227
- Notion Api111.6K
- Context711.4K
- Youtube Transcript3.5K
- Nano Banana Pro3.3K
- Ultrathink1.9K
- Beautiful Mermaid1.9K
- Markdown Converter1.7K
- Todoist Api1.7K
- Anki Connect953
- Nano Banana 2935
- Gog Cli824
- Promptify665
- Tavily643
Similar to Mgrep Code Search
More CLI & TerminalripgrepPlugindashed/claude-marketplace27 starsFast, gitignore-aware recursive content search with the `ripgrep` (`rg`) command-line tool — a smarter, faster `grep`. Use when searching code or text for a reg
CocoIndex CodeMCP servercocoindex-io3K starsSemantic code search over a local repository, using AST-based chunks and incremental re-indexing.
grepai-mcp-claudeSkillyoanbernabeu/grepai-skills619 installsSemantic code search for Claude Code through GrepAI's MCP server, with call graph tracing.
grepai-mcp-toolsSkillyoanbernabeu/grepai-skills761 installsReference for GrepAI's MCP server: semantic search, call tracing, and index health checks.
file-searchSkill0xdarkmatter/claude-mods246 installsFast file and content search with fd, ripgrep, and fzf, honoring .gitignore by default.
morph-searchSkillparcadei/continuous-claude-v3493 installsFast text and regex codebase search, plus file edits, via the WarpGrep backend.