realitycheck-validate

Validate Reality Check database integrity and referential consistency across claims, sources, and chains.

38|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/lhl/realitycheck --skill realitycheck-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: realitycheck-validate
Source: https://github.com/lhl/realitycheck/tree/main/integrations/amp/skills/realitycheck-validate
Command: npx skills add https://github.com/lhl/realitycheck --skill realitycheck-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill validates the integrity and referential consistency of the Reality Check database, catching discrepancies before they propagate.

Core Features & Use Cases

  • Schema validation: Ensures all records conform to the defined schema.
  • Referential integrity checks: Verifies that all source IDs reference existing sources.
  • Consistency verification: Detects invalid IDs, missing embeddings, and duplicates to maintain data quality.

Quick Start

rc-validate

or: uv run python scripts/validate.py

Frequently Asked Questions about realitycheck-validate

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

FAQPage Schema
How do I validate referential integrity in a database after adding new records?

To validate referential integrity after data additions, run a validation script that verifies all source IDs reference existing records. This enforces schema conformance and detects invalid IDs, missing embeddings, and duplicates before committing changes.

What is the best way to check schema conformance and data quality in a CI workflow?

The best way to check schema conformance in a CI workflow is to integrate a validation script that runs before commits. This enforces schema rules, verifies ID formats, and detects missing embeddings and duplicates to maintain database consistency automatically.

How does duplicate detection work when validating data consistency?

Duplicate detection during data consistency validation works by scanning database records to identify redundant entries. Along with checking for missing embeddings and invalid IDs, this process ensures claims, sources, and chains maintain strict referential integrity.

Can I run data integrity checks during local development before committing?

Yes, you can run data integrity checks during local development before committing. By executing a validation script locally, you enforce schema conformance, verify ID formats, and detect duplicates or missing embeddings before changes propagate to the main database.

Why does database validation fail with missing embeddings?

Database validation fails with missing embeddings because the consistency verification process requires embeddings to be present for all records. This check is enforced alongside schema conformance and referential integrity to ensure complete data quality across claims and sources.