·mgrep-code-search
</>

mgrep-code-search

intellectronica/agent-skills

使用 mgrep 进行语义代码搜索以实现高效的代码库探索。当搜索或探索具有超过 30 个非 gitignored 文件和/或嵌套目录结构的代码库时,应该使用此技能。它提供自然语言语义搜索,作为传统 grep/ripgrep 的补充,用于查找功能、理解意图和探索不熟悉的代码。

157安装·1热度·@intellectronica

安装

$npx skills add https://github.com/intellectronica/agent-skills --skill mgrep-code-search

SKILL.md

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.

The watch command indexes the repository and maintains synchronisation with file changes. It respects .gitignore and .mgrepignore patterns.

| -m | Maximum results (default: 10) | | -c, --content | Display full result content | | -a, --answer | Generate AI-powered synthesis of results | | -s, --sync | Update index before searching | | --no-rerank | Disable relevance optimisation |

使用 mgrep 进行语义代码搜索以实现高效的代码库探索。当搜索或探索具有超过 30 个非 gitignored 文件和/或嵌套目录结构的代码库时,应该使用此技能。它提供自然语言语义搜索,作为传统 grep/ripgrep 的补充,用于查找功能、理解意图和探索不熟悉的代码。 来源:intellectronica/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/intellectronica/agent-skills --skill mgrep-code-search
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 mgrep-code-search?

使用 mgrep 进行语义代码搜索以实现高效的代码库探索。当搜索或探索具有超过 30 个非 gitignored 文件和/或嵌套目录结构的代码库时,应该使用此技能。它提供自然语言语义搜索,作为传统 grep/ripgrep 的补充,用于查找功能、理解意图和探索不熟悉的代码。 来源:intellectronica/agent-skills。

如何安装 mgrep-code-search?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/intellectronica/agent-skills --skill mgrep-code-search 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/intellectronica/agent-skills