# Mgrep

> Use this skill when the user wants to search code semantically

- Skill: `javimosch/mgrep` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/mgrep`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/mgrep/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/mgrep

---


# Mgrep Plugin

search code semantically

## Commands
- `mgrep self version` — Print mgrep version
- `mgrep _ _` — Passthrough to mgrep CLI

## Usage Examples
- "Search for error handling patterns"
- "Find all authentication code"
- "Semantic search across the codebase"

## Installation

```bash
npm install -g mgrep
```

## Examples
```bash
mgrep "error handling" --lang rust
mgrep "authentication" --dir src/
mgrep "database connection" --context 3
```

## Key Features
- Semantic code understanding
- Context-aware results
- Multiple language support
- Fast indexing

