rc-validate

rc-validate is a skill for Claude Code, Codex from lhl/realitycheck. It costs 22 tokens per session (397 once invoked), scanned A, original, Apache-2.0.

A validation tool for a Reality Check database, checking that stored claims and sources follow the expected structure and references.

In plain words
What is it for?
Run it after adding data or before committing changes; it can report JSON, treat warnings as failures, or attempt simple fixes.
Why use it?
It catches missing fields, invalid IDs, duplicate records, missing vector representations, and broken links between records.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/lhl/realitycheck/rc-validate
Any agent
npx skills add lhl/realitycheck --skill rc-validate
Clone the repo
git clone --depth 1 https://github.com/lhl/realitycheck

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rc-validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/lhl/realitycheck/rc-validate.svg)](https://agentmods.dev/skills/lhl/realitycheck/rc-validate)
Your own site
<a href="https://agentmods.dev/skills/lhl/realitycheck/rc-validate"><img src="https://agentmods.dev/badge/skills/lhl/realitycheck/rc-validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00022 $0.00397
Opus 5 $0.00011 $0.00198
Sonnet 5 $0.00004 $0.00079
Haiku 4.5 $0.00002 $0.00040

Measured 3d ago against content hash e34ce5b4b9bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rc-validate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/amp/skills/rc-validate/SKILL.md · 69 lines

What it actually says

Data Validation

Validate Reality Check database integrity and referential consistency. Run after adding data or before committing.

When This Skill Activates

  • "Validate the database"
  • "Check data integrity"
  • "Run validation"

Validate Reality Check database integrity and referential consistency.

Usage

rc-validate
# or: uv run python scripts/validate.py

Options

  • --strict: Fail on warnings (not just errors)
  • --json: Output results as JSON
  • --fix: Attempt to auto-fix simple issues (use with caution)

Checks Performed

  1. Schema validation - All records match expected schema
  2. ID format - Claim IDs match DOMAIN-YYYY-NNN format
  3. Referential integrity - All source_ids point to existing sources
  4. Embedding completeness - All records have vector embeddings
  5. Required fields - No missing required fields
  6. Duplicate detection - No duplicate IDs

Output

Validation Results:
- Claims: 42 checked, 0 errors, 1 warning
- Sources: 15 checked, 0 errors, 0 warnings
- Chains: 3 checked, 0 errors, 0 warnings
- Predictions: 8 checked, 0 errors, 0 warnings

Status: OK (1 warning)

When to Run

  • After adding new claims/sources
  • Before committing data changes
  • As part of CI/CD pipeline
  • When debugging data issues

  • check
  • rc-stats
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 69 lines · 22 tokens per session scan A e34ce5b4b9bd

Subscribe to this mod's changes

rc-validate is a skill published in the GitHub repository lhl/realitycheck (41 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 397 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bigquery-graph

Skill for Graph Query Language (GQL) or SQL/PGQ queries against a property graph. Includes path finding, multi-hop traversal, topological connection, shortest path, node reachability, edge connectivity, and semantic graph queries.

google/adk-python · 52 tokens

bigquery-ai-ml

Skill for BigQuery AI and Machine Learning queries using standard SQL and AI. functions (preferred over dedicated tools).

google/adk-python · 31 tokens

gget

Fast CLI/Python queries to 20+ bioinformatics databases. Use for quick lookups: gene info, BLAST searches, AlphaFold structures, enrichment analysis. Best for interactive exploration, simple queries. For batch processing or advanced BLAST use biopython; for multi-database Python workflows use bioservices.

synthetic-sciences/openscience · 66 tokens

molecular-cloning

Molecular cloning simulation and design. PCR amplicon prediction, restriction enzyme digestion, Golden Gate and Gibson assembly simulation, primer design, CRISPR sgRNA design, and plasmid annotation. For protein-level sequence analysis use biopython or esm; for database lookups use gene-database or ensembl-database.

synthetic-sciences/openscience · 70 tokens

x-osv

CLI for Google OSV database. Query vulnerabilities for packages, scan local projects for vulnerable dependencies. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill). Required Tool: Install osv-scanner for project scanning (see https://github.com/google/osv-scanner).

x-cmd/x-cmd · 72 tokens

glycobiology

Glycosylation site prediction and glycobiology analysis. N-glycosylation motif finding, O-glycosylation hotspot prediction, glycan structure resources. Lightweight, pure Python. For protein function queries use uniprot-database; for structure analysis use alphafold-database.

synthetic-sciences/openscience · 67 tokens