mgrep

Enforce mgrep for local and web searches with mgrep --web.

4.3k|171|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/mixedbread-ai/mgrep --skill mgrep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mgrep
Source: https://github.com/mixedbread-ai/mgrep/tree/main/plugins/mgrep/skills/mgrep
Command: npx skills add https://github.com/mixedbread-ai/mgrep --skill mgrep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces the use of mgrep as the sole search tool for both local content and web results, replacing built-in search utilities to ensure consistent, safe, and predictable outcomes.

Core Features & Use Cases

  • Enforced tool usage: Always use mgrep for local file and code searches.
  • Web integration: Seamlessly combine local searches with web results using mgrep --web.
  • Safety and consistency: Eliminates variability introduced by multiple search tools and promotes standardized workflows.

Quick Start

Use the mgrep skill to perform a local search or web lookup. mgrep "where do we set up auth?" src/lib mgrep --web --answer "What is our authentication flow?" # includes a web search with summary

Frequently Asked Questions about mgrep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace built-in grep and web search with a single consistent tool?

You can replace built-in search utilities by enforcing mgrep as your sole tool for local codebase searches and web lookups, ensuring consistent and predictable outcomes. It prohibits standard WebSearch, Grep, and Glob tools.

How do I perform a semantic search across local codebases and documents?

To perform a semantic search across local codebases and documents, use mgrep with your query and target directory. This enforces a standardized local search workflow, replacing variable built-in grep utilities.

Can I combine local code search with online web lookup results?

Yes, you can combine local code search with online web lookup results by invoking the command with the --web flag. This seamlessly integrates web results and provides a summary alongside your local findings.

What is the best way to standardize search workflows for code and online questions?

The best way to standardize search workflows is to enforce a single search tool for both local content and web results. This eliminates variability introduced by multiple search tools and promotes safe, predictable outcomes.

Why should I disable built-in search tools like WebSearch and Glob?

You should disable built-in search tools like WebSearch and Glob to eliminate variability and ensure consistent, safe results. Enforcing a single alternative search tool promotes standardized and predictable workflows.