fact-check-and-citation

Featured

Verify every statistical claim by fetching cited URLs + checking the data appears on the page. Crossref-first for academic; Tavily-fallback for industry. Replaces fabricated/unsourced stats. Builds APA 7 References block, ≤10 entries, all link-resolvable. The single most important anti-hallucination gate in the pipeline. Use after section-drafter (before humanizer if humanizer might break citations) or after humanizer (preferred — humanizer doesn't touch quoted material).

AI & Automation 43 stars 13 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 89/100

Stars 20%
55
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Fact-Check and Citation The single most important anti-hallucination step. Without it, LLM-fabricated statistics make it to publication. With it, every cited fact is real and verifiable. Without exception. ## When to invoke - After `section-drafter` completes (Stage: humanizer-complete OR section-drafted) - Before `assembly` (final draft.md assembly) - Auto-triggered by `repair-orchestrator` when any C01 (fabricated citation) veto fires - User can manually invoke `/factcheck workspace/{task_id}/draft.md` ## Inputs - `workspace/{task_id}/sections/*.json` — each has `claims[]` array - `workspace/{task_id}/research.json` — Tier-1 source candidates already discovered - `references/apa-citation-rules.md` ## Workflow ### Step 1: Extract all statistical claims Scan the draft for every claim that includes a number, percentage, dollar amount, or named source. Build claims list: | Field | Description | |---|---| | claim_text | The exact sentence or phrase containing the statistic | | value | The numeric value (e.g., "42%", "$1.2M", "3x") | | attribution | Named source if present (e.g., "HubSpot", "Gartner 2025") | | url | Cited URL if present (markdown link or parenthetical) | | location | Heading or line number where the claim appears | ### Step 2: Spawn fact-checker agent ```bash # Internal — fact-checker is the agent that does the actual verification work ``` Invoke `agents/fact-checker.md` with: - `sections_dir = workspace/{task}/sections/` - `mode = "fact-check"` - `...

Details

Author
XuanRanL
Repository
XuanRanL/loamwright-SEO-Skill
Created
2 weeks ago
Last Updated
3 days ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category