/repo-context
Use repo-context-mcp tools to map, search, and pack repository context before large edits or PR review.
$ npx -y skills add nduc99911/repo-context-mcp --skill repo-context --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/repo-context
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use repo-context-mcp tools to map, search, and pack repository context before large edits or PR review.
SKILL.md
repo-context.SKILL.mdname: repo-context description: Use repo-context-mcp tools to map, search, and pack repository context before large edits or PR review.
repo-context skill
When exploring an unfamiliar codebase or preparing a change:
1. Call **`repo_map`** first to see structure and entrypoints. 2. Call **`search_code`** for symbols, error strings, or feature names. 3. Call **`pack_context`** with `focus` keywords before drafting a large patch or review.
Rules
- Prefer `pack_context` over reading dozens of files one-by-one.
- Always set `root` if the workspace is a monorepo subdirectory.
- Keep `max_tokens` reasonable (8k–16k) for review; raise only when needed.
- Do not pack `node_modules`, secrets, or `.env` files (the server already skips common cases).
CLI fallback (no MCP)
npx repo-context-mcp map . npx repo-context-mcp search "TODO" . npx repo-context-mcp pack . --focus auth --max-tokens 8000
MCP server that helps AI coding agents understand a repository — without dumping the entire monorepo into the prompt. Works with Codex, Claude Code, Cursor, Cline, and any client that speaks Model Context Protocol.

