codebase-rag

Search project code and documentation using semantic indexing.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/Maxcogar/agent-armory --skill codebase-rag-maxcogar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-rag
Source: https://github.com/Maxcogar/agent-armory/tree/main/claude-plugins/agentboard/skills/codebase-rag
Command: npx skills add https://github.com/Maxcogar/agent-armory --skill codebase-rag-maxcogar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps developers rapidly locate code, documentation, and design patterns across a live project by maintaining a persistent, per-machine index and watching the filesystem for changes.

Core Features & Use Cases

  • Semantic search across constraints, patterns, and code: Returns ranked results with file paths and relevance scores.
  • Project root detection & indexing: The MCP server auto-detects the project root, builds the index in a per-machine cache, and keeps it current via a filesystem watcher.
  • Impact analysis & discovery: Use rag_query_impact to see what depends on a file and coordinate changes.

Quick Start

Run rag_search("your search term") to locate relevant files across the current project.

Frequently Asked Questions about codebase-rag

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

FAQPage Schema
How do I perform semantic search across a project to locate code and documentation?

You can perform semantic search by running a query against a persistent, per-machine index to locate code, documentation, and patterns. It returns ranked results with file paths and relevance scores to guide your exploration.

How does codebase indexing work when files are frequently modified?

Codebase indexing works by auto-detecting the project root, building a per-machine cache, and using a filesystem watcher to keep results up-to-date. This ensures your search index reflects the latest file modifications automatically.

Can I find callers and callees to analyze the impact of refactoring a module?

Yes, you can analyze refactoring impact by querying what depends on a file to see callers and callees. This discovers related modules and helps coordinate changes during maintenance and refactoring tasks.

Do I need a project root to use semantic code search?

Yes, you need a project root for semantic code search because the indexing server auto-detects it to build the per-machine cache. The project root establishes the boundary for file discovery and indexing.

What is the best way to discover related modules during project onboarding?

The best way to discover related modules during onboarding is using semantic search to locate code and patterns across the project. It helps new developers rapidly understand design constraints and navigate the codebase.

Semantic search not returning expected results, are there indexing limitations?

If semantic search is not returning expected results, the index might be limited by per-machine cache boundaries or filesystem watcher delays. Ensure your project root is correctly detected so all relevant files are indexed and watched.