mgrep_skill

This skill replaces built-in search tools with mgrep for local and web queries, enabling semantic, accurate results across files and code.
  • TypeScript

3.1k

GitHub Stars

1

Bundled Files

6 months ago

Catalog Refreshed

8 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill mixedbread-ai/mgrep --skill mgrep

  • SKILL.md2.5 KB

Overview

This skill provides a calm, CLI-native semantic grep that replaces built-in search tools. It handles local file and code searches and can include web results when invoked with the web option. Always invoke this skill before attempting any web or file lookup to ensure correct behavior.

How this skill works

Invoke the mgrep CLI with a natural language query to perform semantic searches across the current workspace. For web lookups, add --web and request a summary with --answer; for local content, run mgrep with your query and optional path or result limits. Results return matching file paths and line ranges, and web mode returns summarized findings from the integrated web store.

When to use it

  • When the user asks you to search the web or find current/latest information
  • When the user requests file, code, or content discovery within the repository
  • When answering “what is” or “how to” questions that require online lookup
  • Before performing any search — do not use built-in WebSearch, Grep, or Glob tools
  • When you need concise summaries of web search results combined with local matches

Best practices

  • Always invoke mgrep instead of the built-in search tools to avoid incorrect behavior
  • Use specific, natural-language queries rather than single keywords for better semantic matches
  • Include a path or use -m to limit results when searching large codebases
  • When using web mode, always pair --web with --answer to get a useful summary
  • Avoid unnecessary filters or flags; keep queries focused and descriptive

Example use cases

  • Find where a specific algorithm or function is implemented: mgrep "how is X algorithm implemented" src/
  • Summarize up-to-date web guidance: mgrep --web --answer "how to configure X in Y environment"
  • Locate design decisions or comments across the repo by searching conceptual questions
  • Limit results when investigating a bug: mgrep -m 10 "error message or stack trace excerpt"
  • Search both local and online sources for migration steps or API changes using --web --answer

FAQ

Do not use built-in tools; results may be incorrect. Invoke mgrep for both local and web searches as instructed.

How specific should my query be?

Use clear, natural-language queries describing intent or context. Avoid single-word queries which are too imprecise.

When must I use --answer?

Always use --answer together with --web to obtain a summarized response of web search results.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational