← Browse

@lhl/rc-stats

A

Show statistics about the Reality Check database including counts for claims, sources, chains, and predictions.

skillclaude

Install

agr install @lhl/rc-stats --target claude

Writes 1 file into .claude/skills/, pinned to git-300184ac.

  • .claude/skills/rc-stats/SKILL.md

Document


name: rc-stats description: Show statistics about the Reality Check database including counts for claims, sources, chains, and predictions. license: Apache-2.0 compatibility: opencode metadata: project: realitycheck

Database Statistics

Show statistics about the Reality Check database including counts for claims, sources, chains, and predictions.

Show statistics about the Reality Check database.

Usage

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

Output

Reality Check Database Statistics
=================================

Claims:      42
Sources:     15
Chains:       3
Predictions:  8
Definitions:  5

By Domain:
  TECH:     18 claims
  LABOR:    12 claims
  ECON:      8 claims
  GOV:       4 claims

By Type:
  [T] Theory:      15
  [F] Fact:        12
  [H] Hypothesis:   8
  [P] Prediction:   5
  [A] Assumption:   2

By Evidence Level:
  E2: 14
  E3: 12
  E4: 10
  E5:  6

Notes

  • Stats are computed from the live LanceDB database
  • Use this to get a quick overview of the knowledge base
  • For detailed exploration, use $rc-search

Related Skills

  • rc-search
  • rc-validate

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-300184acf64f2026-07-31