Verifies documents for clarity and accuracy before they are added to RAG systems.

Install

mkdir -p .claude/skills/clarity-gate && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7250" && unzip -o skill.zip -d .claude/skills/clarity-gate && rm skill.zip

Installs to .claude/skills/clarity-gate

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Pre-ingestion verification for epistemic quality in RAG systems with 9-point verification and Two-Round HITL workflow
117 chars · catalog descriptionno explicit “when” trigger
Intermediate

Key capabilities

  • →Perform 9-point epistemic verification
  • →Generate Clarity-Gated Documents (CGD)
  • →Validate Source of Truth (SOT) files
  • →Execute HITL claim tracking
  • →Compute deterministic document hashes

How it works

The tool enforces the presence of uncertainty markers in claims where epistemic quality is required. It uses structural validation rules and HITL verification records to ensure documents meet the Clarity Gate Format Specification.

Inputs & outputs

You give it
Raw document text
You get back
Clarity-Gated Document (.cgd.md)

When to use clarity-gate

  • →Pre-ingestion document review
  • →Check for hallucination risks
  • →Validate source of truth

About this skill

Clarity Gate v2.1

Purpose: Pre-ingestion verification system that enforces epistemic quality before documents enter RAG knowledge bases. Produces Clarity-Gated Documents (CGD) compliant with the Clarity Gate Format Specification v2.1.

Core Question: "If another LLM reads this document, will it mistake assumptions for facts?"

Core Principle: "Detection finds what is; enforcement ensures what should be. In practice: find the missing uncertainty markers before they become confident hallucinations."


Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Critical Limitation

Clarity Gate verifies FORM, not TRUTH.

This skill checks whether claims are properly marked as uncertain—it cannot verify if claims are actually true.

Risk: An LLM can hallucinate facts INTO a document, then "pass" Clarity Gate by adding source markers to false claims.

Solution: HITL (Human-In-The-Loop) verification is MANDATORY before declaring PASS.


When to Use

  • Before ingesting documents into RAG systems
  • Before sharing documents with other AI systems
  • After writing specifications, state docs, or methodology descriptions
  • When a document contains projections, estimates, or hypotheses
  • Before publishing claims that haven't been validated
  • When handing off documentation between LLM sessions

What This Skill Does NOT Do

  • Does not classify document types (use Stream Coding for that)
  • Does not restructure documents
  • Does not add deep links or references
  • Does not evaluate writing quality
  • Does not check factual accuracy autonomously (requires HITL)

When not to use it

  • →Classifying document types
  • →Restructuring document content
  • →Autonomous factual accuracy verification

Prerequisites

Python 3

Limitations

  • →Verifies form, not truth
  • →Requires HITL for final validation

How it compares

Unlike tools that detect existing hedges, this skill enforces the inclusion of uncertainty markers for claims that require them.

Compared to similar skills

clarity-gate side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
clarity-gate (this skill)16moReviewIntermediate
firecrawl-scraper2410moCautionBeginner
embedding-strategies84moNo flagsIntermediate
pinecone38moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

mobile-design

sickn33

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or native mobile apps.

149231

unity-developer

sickn33

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.

142357

architect-review

sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

109320

angular

sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern patterns.

100129

frontend-slides

sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

95195

minecraft-bukkit-pro

sickn33

Master Minecraft server plugin development with Bukkit, Spigot, and Paper APIs. Specializes in event-driven architecture, command systems, world manipulation, player management, and performance optimization. Use PROACTIVELY for plugin architecture, gameplay mechanics, server-side features, or cross-version compatibility.

9078

Search skills

Search the agent skills registry