serenakeyitan/open-exam-skills/citation-check
Claude Code and agent skill by serenakeyitan/open-exam-skills
- community
Checking that the SKILL.md file is still in the repository.
Verify citations, claims, and numbers before answering.
Install
npx vskill@latest install serenakeyitan/open-exam-skills/citation-checkSKILL.md
Citation & Hallucination Checker v2
Verification tool with vision + web search. Validates every claim against authoritative sources or provided documents. Works with content in any language.
Design principle: Deterministic verification. Same input → Same output.
Output Contract
- Pass 1 outputs a numbered claim list in the required format.
- Pass 2 outputs a verification report with status for every claim.
- If any claim is unverified, hallucinated, or misquoted, block final output until fixed.
Two Verification Modes
Mode 1: Search Verification (Default)
- Searches web for authoritative sources
- Validates citations actually exist
- Checks if cited sources say what's claimed
- Finds original data for statistics
Mode 2: Doc-Only Verification
- User provides source document(s)
- EVERYTHING must trace to those docs
- Flags anything that appears to come from external knowledge
- Trigger: "only use this document" / "verify against the PDF only" / "don't search the web"
Two-Pass Architecture
Critical: Always use two separate passes. Never interleave extraction and verification.
Pass 1: Extraction Only
- Read entire document/slides/images
- Extract ALL claims using the Claim Extraction Rules below
- Output numbered list:
[claim_id] | [claim_text] | [claim_type] | [location] - NO verification in this pass
- Present extraction to user for confirmation before proceeding
Pass 2: Verification Only
- Take Pass 1 output as fixed input
- Verify each claim_id in sequential order
- NO re-extraction allowed — work only with Pass 1 claims
- Apply Status Decision Tree to each claim
- Generate final report
This prevents "discovering new claims" mid-verification and ensures consistency.
Claim Extraction Rules (Exhaustive)
Extract ONLY these claim types. Apply rules strictly — no judgment calls.
EXTRACT as claims:
| Type | Pattern | Example | |
|---|---|---|---|
| Statistic | Any number with unit/context (%, $, count, ratio, decimal) | "92.3% accuracy", "$4.7B market" | |
| Comparative | X is [comparative] than Y | "3x faster than baseline" | |
| Temporal | Time-bound assertion | "In 2024, adoption reached..." | |
| Attribution | Claim tied to source | "According to WHO...", "Smith et al. found..." | |
| Causal | X causes/leads to/results in Y | "This reduces latency by..." | |
| Existence | Asserts something exists/is true | "There are 500M users", "The model supports..." | |
| Ranking | Position claims | "largest", "first", "top 3" | |
| Quote | Direct quotation | Any text in quotation marks attributed to source |
DO NOT extract as claims:
| Type | Example | Reason | |
|---|---|---|---|
| Definitions | "Machine learning is a subset of AI" | Definitional, not factual claim | |
| Opinions marked as such | "We believe...", "In our view..." | Explicitly subjective | |
| Hypotheticals | "If adoption continues...", "Could potentially..." | Speculative | |
| Questions | "What drives growth?" | Not an assertion | |
| Future predictions without source | "Will reach $10B by 2030" | Unless citing a forecast report | |
| Methodology descriptions | "We used PyTorch 2.0" | Process, not factual claim | |
| Acknowledgments | "Thanks to our collaborators" | Not verifiable |
Extraction Output Format
Status Decision Tree
Apply this tree to EVERY claim. Follow exactly — no shortcuts.
Numerical Precision Rules (Academic Standard)
Default mode: Strict academic precision. Exact numbers only.
| Rule | Source | Claim | Status | |
|---|---|---|---|---|
| Exact match required | 96.555% | 96.555% | ✓ Verified | |
| Any rounding = error | 96.555% | 97% | ✗ Numerical Error | |
| Any rounding = error | 96.555% | 96.6% | ✗ Numerical Error | |
| Truncation = error | 96.555% | 96.5% | ✗ Numerical Error | |
| Sig figs must match | 0.834 | 0.83 | ✗ Numerical Error | |
| Units must match | 96.555% | 0.96555 | ✗ Numerical Error | |
| Direction matters | +12% growth | +15% growth | ✗ Hallucination | |
| Order of magnitude | $4.7B | $47B | ✗ Hallucination |
Numerical Error Output Format
Confidence Classification
| Level | Criteria | Use when | |
|---|---|---|---|
| exact | ≥95% word overlap OR identical number with identical units | Direct quote, exact statistic | |
| paraphrase | Same fact, different words, no interpretation added | Restated finding | |
| interpretation | Inference drawn from source data | Calculated from source, synthesized |
Rule: When uncertain between levels, use the MORE CONSERVATIVE option and flag for review.
Mandatory Search Templates
Run ALL applicable templates. Do not stop after first result.
For Academic Citations
For Statistics (Market size, usage numbers, etc.)
For Company/Product Claims
For Health/Medical Claims
For Government/Policy Claims
Source Authority Hierarchy
When multiple sources found, prefer in this order:
| Rank | Source Type | Examples | |
|---|---|---|---|
| 1 | Primary source | Original study, official report, raw data | |
| 2 | Government/institutional | WHO, CDC, World Bank, national statistics offices | |
| 3 | Peer-reviewed publication | Nature, Science, IEEE, ACM | |
| 4 | Industry reports (named) | Gartner, McKinsey, Statista (with methodology) | |
| 5 | Reputable news citing primary | NYT, Reuters citing original source | |
| 6 | Secondary compilations | Wikipedia (check their sources) |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/citation-check/SKILL.md
Popularity
- Repository stars
- 139
- Repository forks
- 21
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/serenakeyitan/open-exam-skills/citation-check)