anki-connect
This skill is for interacting with Anki through AnkiConnect, and should be used whenever a user asks to interact with Anki,…
Semantic code search using mgrep for efficient codebase exploration. This skill should be used when searching or exploring codebases with more than 30 non-gitignored files and/or nested directory structures. It provides natural language semantic search that complements
Claude Code
$ npx -y skills add intellectronica/agent-skills --skill mgrep-code-search --agent claude-code
Codex
$ npx skills add intellectronica/agent-skills --skill mgrep-code-search -a codex -y
Cursor
$ npx skills add intellectronica/agent-skills --skill mgrep-code-search -a cursor -y
Gemini CLI
$ npx skills add intellectronica/agent-skills --skill mgrep-code-search -a gemini-cli -y
GitHub Copilot
$ npx skills add intellectronica/agent-skills --skill mgrep-code-search -a github-copilot -y
OpenCode
$ npx skills add intellectronica/agent-skills --skill mgrep-code-search -a opencode -y
Windsurf
$ npx skills add intellectronica/agent-skills --skill mgrep-code-search -a windsurf -y
name: mgrep-code-search description: Semantic code search using mgrep for efficient codebase exploration. This skill should be used when searching or exploring codebases with more than 30 non-gitignored files and/or nested directory structures. It provides natural language semantic search that complements traditional grep/ripgrep for finding features, understanding intent, and exploring unfamiliar code.
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.
Use mgrep when:
Use traditional grep/ripgrep when:
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.
bunx @mixedbread/mgrep "your natural language query" [path]
bunx @mixedbread/mgrep "where is authentication configured?" bunx @mixedbread/mgrep "how do we handle errors in API calls?" src/ bunx @mixedbread/mgrep "database connection setup" src/lib
| Option | Description | |--------|-------------| | `-m <count>` | 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 |
# Get more results bunx @mixedbread/mgrep -m 25 "user authentication flow" # Show full content of matches bunx @mixedbread/mgrep -c "error handling patterns" # Get an AI-synthesised answer bunx @mixedbread/mgrep -a "how does the caching layer work?" # Sync index before searching bunx @mixedbread/mgrep -s "payment processing" src/services
1. **Start watcher** (once per session or when files change significantly):
bunx @mixedbread/mgrep watch
2. **Search semantically**:
bunx @mixedbread/mgrep "what you're looking for" [optional/path]
3. **Refine as needed** using path constraints or options:
bunx @mixedbread/mgrep -m 20 -c "refined query" src/specific/directory
Configure defaults via environment variables:
| Variable | Purpose | |----------|---------| | `MGREP_MAX_COUNT` | Default result limit | | `MGREP_CONTENT` | Enable content display (1/true) | | `MGREP_ANSWER` | Enable AI synthesis (1/true) | | `MGREP_SYNC` | Pre-search sync (1/true) |
This skill is for interacting with Anki through AnkiConnect, and should be used whenever a user asks to interact with Anki,…
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library. Use when the user asks to render a Mermaid diagram.
Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be…
This skill helps with GitHub Copilot SDK work across Node.js/TypeScript, Python, Go, .NET, and Java. It covers setup,…
Use this skill whenever the user wants to operate Google Workspace from the command line with gog/gogcli, including Gmail,…
Generate and edit images using OpenAI's GPT Image 1.5 model. Use when the user asks to generate, create, edit, modify, change,…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…