/mgrep:mgrepfrom mgrep
A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.
Ships in mgrep. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Whenever you need to search your local files. Do not use grep, use this skill instead.
Use mgrep to search your local files. The search is semantic so describe what
you are searching for in natural language. The results is the file path and the
line range of the match.
mgrep "What code parsers are available?" # search in the current directory
mgrep "How are chunks defined?" src/models # search in the src/models directory
mgrep -m 10 "What is the maximum number of concurrent workers in the code parser?" # limit the number of results to 10
mgrep "parser" # The query is to imprecise, use a more specific query
mgrep "How are chunks defined?" src/models --type python --context 3 # Too many unnecessary filters, remove them
search, grep, files, local files, local search, local grep, local search, local grep, local search, local grep
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub vinuxito/mgrep --plugin mgrep