Index Codebase — AI skill for Claude Code
Index a codebase directory for RAG-enhanced PRD generation.
How to install Index Codebase
Installs to ~/.claude/skills/cdeust-ai-prd-generator-plugin-index-codebase/SKILL.md
mkdir -p ~/.claude/skills/cdeust-ai-prd-generator-plugin-index-codebase && curl -fsSL https://raw.githubusercontent.com/cdeust/ai-prd-generator-plugin/HEAD/commands/index-codebase.md -o ~/.claude/skills/cdeust-ai-prd-generator-plugin-index-codebase/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Index Codebase does
name: index-codebase description: Index a codebase directory for RAG-enhanced PRD generation allowed-tools: Bash, Read, Write, Glob, Grep, WebFetch argument-hint: "[directory-path-or-github-url]"
Index Codebase
Step 1 — Detect mode
Check your available tools list. If a tool named `mcp__ai-prd-generator__check_health` exists, you are in **Cowork mode**. Otherwise you are in **CLI Terminal mode**.
**Cowork mode:**
Call `check_health` MCP tool. Note the `environment` field:
- `env
Alternatives in AI
- Qwen Code — A command-line AI workflow tool adapted from Gemini CLI, optimized for Qwen3-Coder models with enhanced parser 20.8k ★
- PRD: Agent Builder — Create Your Own Sub-Agent — Your ecosystem, your rules 1.9k ★
- Swift Agent Skills — A curated directory of open-source AI agent skills for Swift and Apple platform development 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Deeptutor Claude Skill
Claude Code skill adapting DeepTutor's graph-enhanced RAG tutoring methodology. Knowledge graphs, dual-loop so
Sync Diagrams
Store and synchronize digrams with codebase in ai/diagrams directory
The Pragmatic PM
PM leadership toolkit with 43 skills, 5 agents, 4 workflows. Covers PRD generation, OKR lifecycle, pricing, AI
Sympo
Multi-agent LLM orchestration for PRD-to-WBS generation with evaluation harness, ablations, and human study.
Local Doc RAG Skill
Index Any Local Documentation as AI Skill – Claude Code Knowledge 2026
Claude Light
claude_light.py is an interactive CLI chat tool for querying and editing a codebase using Claude. By combining
Related Agents
RAG Coder
Context-aware coder that grounds all code generation in actual codebase using RAG to eliminate hallucinations
RAG Retriever
PROACTIVELY use this agent for dynamic external knowledge access during response generation. Specializes in do
Ecc RAG Pipeline Reviewer
Reviews RAG (Retrieval-Augmented Generation) pipelines for retrieval quality, chunking strategy, embedding cho