clarity-gate
Pre-ingestion verification for epistemic quality in RAG systems with 9-point verification and Two-Round HITL workflow
Author
Category
AI Skill DevelopmentInstall
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Clarity Gate — Pre-ingest Cognitive Quality Verification Tool for RAG Systems
Skill Overview
Clarity Gate is an open-source pre-ingest verification system designed to ensure documents entering a RAG knowledge base carry correct cognitive-quality markings, preventing LLMs from presenting unverified guesses as confident hallucinations.
Use Cases
Core Features
FAQ
How is Clarity Gate different from traditional fact-checking tools?
Traditional fact-checking tools focus on whether content matches sources (accuracy), whereas Clarity Gate focuses on whether a statement is properly qualified (cognitive quality). For example, treating "revenue is expected to reach 50 million" as a factual assertion might pass accuracy checks, but would fail cognitive-quality checks because a prediction is being presented as a fact. Clarity Gate fills the gap of enforcing cognitive constraints before ingestion.
Can Clarity Gate automatically verify the truth of facts?
No. Clarity Gate verifies form rather than veracity — it checks whether statements are properly marked as uncertain, but it cannot determine whether the statements themselves are true. This is why the two-round HITL verification is mandatory — LLMs can fabricate facts and add source markers to pass checks. HITL ensures real human verification before statements enter the knowledge base.
How do I use Clarity Gate in Claude?
There are several ways: 1) upload the dist/clarity-gate.skill file in the claude.ai web app; 2) use the same skill file in Claude Desktop; 3) when using Claude Code, clone the repository — it will auto-detect skills in the .claude/skills/ directory. To run it, simply say "Run clarity gate on this document" to start verification.