rag-curator

Index and validate RAG corpus knowledge nodes using standard-library Python scripts.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/arbgjr/smart_alarm --skill rag-curator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-curator
Source: https://github.com/arbgjr/smart_alarm/tree/main/.claude/skills/rag-curator
Command: npx skills add https://github.com/arbgjr/smart_alarm --skill rag-curator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Rag Curator streamlines the management and quality control of the project knowledge base by automating the ingestion, indexing, and upkeep of RAG corpus nodes, ensuring consistent access to relevant information.

Core Features & Use Cases

  • Index ADRs: Copy ADRs from project decisions into corpus/nodes/decisions for quick retrieval.
  • Index Learnings: Move extracted learnings into corpus/nodes/learnings to preserve institutional knowledge.
  • Validate Quality: Check completeness and consistency of corpus nodes to prevent information gaps.
  • Clean Obsolete: Remove outdated or irrelevant knowledge to keep the corpus current.

Quick Start

Use the rag-curator to index ADRs and maintain the corpus.

  • Index ADRs for all projects: python3 .claude/skills/rag-curator/scripts/index_adrs.py --all
  • Index ADRs for a specific project: python3 .claude/skills/rag-curator/scripts/index_adrs.py --project-id PROJECT_ID

Frequently Asked Questions about rag-curator

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

FAQPage Schema
How do I index ADRs into a RAG corpus for multiple projects?

To index ADRs into a RAG corpus, run the Python script index_adrs.py using the --all flag. This copies architectural decision records into corpus/nodes/decisions for consistent retrieval across projects.

What is the best way to validate RAG corpus quality and consistency?

The best way to validate RAG corpus quality is using the curator's validation scripts. They check completeness and consistency of corpus nodes to prevent information gaps during retrieval.

Can I use Python standard libraries only to maintain a RAG knowledge base?

Yes, you can use Python standard libraries to maintain a RAG knowledge base. The curator relies entirely on standard libraries to run scripts that index and validate corpus data without external dependencies.

How do I clean obsolete learnings from a RAG corpus?

To clean obsolete learnings from a RAG corpus, use the curator's cleanup scripts. They remove outdated or irrelevant knowledge nodes from corpus/nodes/learnings to keep the corpus current.

Does the rag-curator support indexing learnings for a specific project?

Yes, the curator supports indexing learnings for a specific project. You can target individual projects by passing the project ID argument to the Python indexing scripts.

Why does my RAG corpus return outdated information during retrieval?

Your RAG corpus returns outdated information because obsolete nodes are not cleaned. Run the curator's validation to check node completeness and remove outdated knowledge to keep the corpus current.