This is semantic search for codebases, basically letting you ask "where is authentication configured?" instead of grepping for exact strings. It's built on mgrep and makes sense once you hit 30+ files or nested directories where you're hunting for concepts rather than known function names. You run a watcher to index the repo, then query in natural language. It has options for AI synthesis of results and respects gitignore by default. The honest take is this bridges the gap between "I know what this feature does" and "where the hell is it implemented," which is most of your time in unfamiliar code. Works via bunx, so no installation needed.

skills.sh installs
627
GitHub stars
301
last updated
Aug 21, 2026

Install

$ npx -y skills add intellectronica/agent-skills --skill mgrep-code-search --agent claude-code

Installs into .claude/skills of the current project.

Files

mgrep Code Search

Overview

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.

When to Use This Skill

Use mgrep when:

  • The codebase contains more than 30 non-gitignored files
  • There are nested directory structures
  • Searching for concepts, features, or intent rather than exact strings
  • Exploring an unfamiliar codebase
  • Need to understand "where" or "how" something is implemented

Use traditional grep/ripgrep when:

  • Searching for exact patterns or symbols
  • Regex-based refactoring
  • Tracing specific function or variable names

Quick Start

Indexing

Before searching, start the watcher to index the repository:

bunx @mixedbread/mgrep watch

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

Searching

bunx @mixedbread/mgrep "your natural language query" [path]

Search Commands

Basic Search

Sponsors

Details

Repository
github.com/intellectronica/agent-skills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from intellectronica/agent-skills

All 22
1sammcj avatarwriting-documentation-with-diataxissammcj/agentic-codingApplies the Diataxis framework to create or improve technical documentation. Use when being asked to write high quality tutorials, how-to guides, reference docs627skills.sh installs
2aj-geddes avatarbackup-disaster-recoveryaj-geddes/useful-ai-promptsImplement backup strategies, disaster recovery plans, and data restoration procedures for protecting critical infrastructure and data.626skills.sh installs
3aj-geddes avatargithub-actions-workflowaj-geddes/useful-ai-promptsBuild comprehensive GitHub Actions workflows for CI/CD, testing, security, and deployment. Master workflows, jobs, steps, and conditional execution.626skills.sh installs
4TheQtCompanyRnD avatarqt-cmake-projectTheQtCompanyRnD/agent-skillsUse to generate or update Qt 6 CMake projects or edit CMakeLists.txt, add sources/resources or define targets (executable, QML module, library).625skills.sh installs
5aj-geddes avatarcolor-accessibilityaj-geddes/useful-ai-promptsDesign color palettes that are accessible to all users including those with color blindness. Ensure sufficient contrast, meaningful use of color, and inclusive 624skills.sh installs
6aj-geddes avatarfastapi-developmentaj-geddes/useful-ai-promptsBuild high-performance FastAPI applications with async routes, validation, dependency injection, security, and automatic API documentation. Use when developing 624skills.sh installs