Perform a structured familiarization pass over RAG reference material so an agent knows what it knows. Use this skill whenever an agent has newly ingested reference material into the RAG corpus and needs to build active knowledge of it — not just passive retrieval. Trigger when the user says anything like "familiarize yourself with the corpus", "read through the reference material", "build your knowledge base", "scan the new docs", "do a familiarization pass", or "learn what's in the RAG". Also trigger proactively after any corpus ingestion event. The skill reads source documents from .claude/reference/<collection>/, processes them systematically, and produces four structured knowledge artifacts that belong in the agent's always-on context rather than in retrieval.
Builds active, always-on knowledge from RAG source material. Produces four artifacts that function as the agent's internal map of what it knows — so it can reason about the corpus before issuing any retrieval query.
Source material location: .claude/reference/<collection>/
Output location: .claude/knowledge/<collection>/
Run: Once after initial ingestion, then after any significant corpus update.
RAG is pull-only. An agent retrieves only what it already knows to ask for. Without a familiarization pass, blind spots in the agent's prior knowledge become permanent blind spots — the corpus sits inert.
The four artifacts produced here are loaded into system-prompt context (not retrieved), so the agent always knows what it knows and where to look before formulating any retrieval query.
.claude/reference/<collection>/.If no collection is specified by the user, process all collections found
under .claude/reference/.
For each file in the inventory:
Processing order: High-priority documents first. See
references/priority-order.md for the priority table for UMRS collections.
For collections not listed there, process in this order:
After processing all documents, write the following four files to
.claude/knowledge/<collection>/. These are the always-on artifacts.
concept-index.mdFor each document processed, one entry containing:
See references/artifact-formats.md for the exact schema.
cross-reference-map.mdA structured map of relationships across documents:
This map is the agent's conflict-resolution reference. When two sources disagree, consult this artifact first.
style-decision-record.mdProject-specific resolutions to cross-reference tensions. Captures:
Seed this artifact with decisions derivable from the corpus alone. Leave explicit placeholders for decisions that require project owner input.
See references/artifact-formats.md for the schema and placeholder format.
term-glossary.mdCanonical terminology extracted from the domain reference documents. For each term:
Priority sources for canonical terms (in order):
When sources conflict on a term, log it in the cross-reference map and apply the priority order above.
Write .claude/knowledge/<collection>/README.md containing:
Report completion with:
Do not summarize the entire corpus in the report — the artifacts exist for that. The report is a completion notice, not a document dump.
Re-run this skill (or the relevant steps) when:
style-decision-record.md only)For incremental updates (single new document), run Steps 2–3 for that document only, then update all four artifacts for any entries that changed.
references/priority-order.md — Processing priority for UMRS collectionsreferences/artifact-formats.md — Exact schemas for the four artifact types