fast-repo-context

Search local git repositories semantically and return relevant code snippets as JSON.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/towry/dots --skill fast-repo-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fast-repo-context
Source: https://github.com/towry/dots/tree/main/conf/claude-local-marketplace/skills/fast-repo-context
Command: npx skills add https://github.com/towry/dots --skill fast-repo-context

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a highly efficient way to understand and search large codebases without overwhelming the AI's context window. It enables rapid code analysis, debugging, and feature implementation by systematically retrieving relevant repository context.

Core Features & Use Cases

  • Repomix Integration: Leverages repomix-output.xml (a comprehensive code snapshot) as the primary source for efficient, queryable code search and structural analysis.
  • Knowledge Graph Augmentation: Optionally queries a knowledge graph for semantic and architectural context, complementing code-level insights with higher-level understanding.
  • Mandatory Workflow: Enforces a structured, multi-step approach to context retrieval, ensuring freshness checks, prioritized searching, and transparent execution logging.

Quick Start

Use fast context to understand the authentication module's architecture and key files, ensuring the repomix output is fresh.

Frequently Asked Questions about fast-repo-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search a codebase semantically to find relevant code snippets by intent?

Semantic code search retrieves relevant code snippets from your repository by intent rather than keywords. Fast-repo-context performs this search on a local git repository using a comprehensive code snapshot, returning structured JSON output with code location and context to accelerate feature implementation and debugging.

What's the best way to understand an unfamiliar codebase without overwhelming context?

Use semantic code search to systematically retrieve only the relevant repository context you need. This approach avoids flooding your context window while enabling rapid analysis of authentication modules, feature implementations, and architectural patterns across distributed files.

Can I filter code search results by file patterns or specific context?

Yes, code search supports optional filters including --glob for file patterns, --context for scoping, and --limit for result count. These filters let you narrow searches to specific directories or file types, returning only code snippets that match your query intent.

Does code search work with knowledge graphs for architectural context?

Code search optionally augments results with knowledge graph queries to provide semantic and architectural context beyond code-level insights. This complements structural analysis with higher-level understanding of how components relate and interact.

What do I need before running semantic code search on my repository?

You need a local git repository and a fresh repomix-output.xml snapshot (a comprehensive code inventory). The skill enforces freshness checks and structured workflow steps to ensure search results reflect current code state.

Why use semantic code search instead of grep or text-based repository search?

Semantic search finds code by behavior and intent, not literal strings, making it faster for locating implementations across unfamiliar codebases. It returns structured JSON with location and context, avoiding false matches and overwhelming noise from keyword-only approaches.