clarity-gate

Verify documents for epistemic quality before RAG ingestion.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Nyua/personal-profile-webpage --skill clarity-gate-nyua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clarity-gate
Source: https://github.com/Nyua/personal-profile-webpage/tree/main/.agent/skills/my-skill/Clarity
Command: npx skills add https://github.com/Nyua/personal-profile-webpage --skill clarity-gate-nyua

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill prevents low-quality or hallucinated content from entering knowledge bases by performing pre-ingestion verification, ensuring documents meet epistemic standards.

Core Features & Use Cases

  • Epistemic Quality Assurance: Verifies documents for clarity, assumption visibility, and data consistency before RAG ingestion.
  • CGD & SOT Generation: Produces Clarity-Gated Documents (CGD) and validates Source of Truth (SOT) files.
  • Use Case: Before ingesting a batch of research papers into a RAG system, use this Skill to flag any claims presented as fact without proper hedging or sourcing, preventing the RAG from learning and propagating misinformation.

Quick Start

Run the clarity gate skill to verify the document 'research_paper_v1.md'.

Frequently Asked Questions about clarity-gate

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

FAQPage Schema
How do I prevent hallucinations in my RAG system from unverified documents?

To prevent hallucinations in RAG systems, you need pre-ingestion document verification to check claims for hypothesis labeling, uncertainty markers, and assumption visibility. This ensures only epistemically valid content enters your knowledge base.

What is pre-ingestion verification for RAG epistemic quality?

Pre-ingestion verification for RAG epistemic quality is the process of checking documents for clarity, data consistency, and temporal coherence before they are ingested. This prevents low-quality content from propagating misinformation.

How do I validate Source of Truth files for RAG ingestion?

You validate Source of Truth (SOT) files for RAG ingestion by checking them against formal specifications for data consistency and temporal coherence. This generates Clarity-Gated Documents that meet strict epistemic standards before entering the knowledge base.

Does RAG data validation require checking temporal coherence and assumptions?

Yes, RAG data validation requires checking temporal coherence and assumption visibility to ensure epistemic quality. Verifying these elements prevents outdated information and unstated assumptions from causing model hallucinations.

What is the best way to flag unverified claims before RAG ingestion?

The best way to flag unverified claims before RAG ingestion is using an epistemic quality assurance process that enforces uncertainty markers and hypothesis labeling. This identifies claims presented as fact without proper sourcing.