wiki-rag

Query wiki pages to answer codebase questions with cited references.

13|6|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/baekenough/second-brain --skill wiki-rag-baekenough
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-rag
Source: https://github.com/baekenough/second-brain/tree/main/.claude/skills/wiki-rag
Command: npx skills add https://github.com/baekenough/second-brain --skill wiki-rag-baekenough

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wiki-based codebase understanding is accelerated by leveraging a pre-compiled knowledge source rather than manually scanning raw files. This skill provides a fast, structured workflow to retrieve relevant wiki pages and synthesize concise, cited answers for codebase questions.

Core Features & Use Cases

  • Load and parse wiki/index.yaml to construct a catalog of pages.
  • Identify 3–7 relevant pages using title relevance, category cues, and linked relations, then read them in parallel.
  • Synthesize direct, cited answers with inline references to specific wiki pages and evaluate coverage to determine whether raw source exploration is needed.
  • Delegate logging and wiki-update actions to subagents to maintain a clean end-to-end workflow.

Quick Start

Ask a question about the codebase and let wiki-rag fetch, synthesize, and cite relevant wiki pages for an answer.

Frequently Asked Questions about wiki-rag

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

FAQPage Schema
How do I search a project wiki for codebase questions using RAG?

To search a project wiki for codebase questions using RAG, the skill loads wiki/index.yaml, identifies 3-7 relevant pages by title and category cues, and reads them in parallel to synthesize concise, cited answers with inline references.

What is the best way to answer codebase questions without scanning raw files?

The best way to answer codebase questions without scanning raw files is leveraging a pre-compiled wiki knowledge source. This approach retrieves relevant wiki pages via RAG, synthesizes direct cited answers, and evaluates coverage to determine if raw source exploration is still needed.

Do I need an index.yaml file to use a wiki RAG knowledge base?

Yes, you need an index.yaml file to construct a catalog of pages. The skill specifically loads and parses wiki/index.yaml to identify relevant pages using title relevance, category cues, and linked relations before reading them in parallel.

Can I automatically update wiki documentation when querying codebase answers?

Yes, you can automatically update wiki documentation when querying codebase answers. The skill delegates logging and wiki-update actions to subagents, maintaining a clean end-to-end workflow when updates are needed after synthesizing answers.

How does wiki RAG coverage evaluation work for codebase documentation?

Wiki RAG coverage evaluation works by assessing whether the retrieved wiki pages fully answer the codebase question. After synthesizing cited answers from 3-7 relevant pages, it evaluates coverage to determine whether further raw source exploration is needed.