seb1n/fact-checking
Verify the accuracy of claims and statements by extracting individual assertions, identifying authoritative sources, cross-referencing evidence, and assigning confidence-scored verdicts.
npx skills add https://github.com/seb1n/awesome-ai-agent-skills --skill fact-checking
This skill enables an AI agent to systematically verify claims and statements. Rather than offering a simple true/false judgment, the agent extracts discrete checkable claims from the input, identifies authoritative sources for each, cross-references evidence, and produces a structured verdict with a confidence score and supporting reasoning. The approach is designed to handle everything from single factual assertions to full articles containing dozens of claims.
Provide the agent with a statement, paragraph, or full article to fact-check. You can optionally specify which claims to prioritize or request a particular output format.
Fact-check the following statement:
"Python is the most popular programming language in 2025 according to the TIOBE Index,
and it was created by James Gosling at Sun Microsystems in 1991."
User Request:
> Fact-check the key claims in this blog excerpt:
> "Rust has zero runtime overhead compared to C, making it the fastest systems language available. The Linux kernel adopted Rust as its primary development language in 2024, replacing C entirely. According to Stack Overflow's 2024 survey, Rust has been the most admired language for nine consecutive years."
Extracted Claims:
| # | Claim | Type |
|---|---|---|
| 1 | Rust has zero runtime overhead compared to C | Scientific/Technical |
| 2 | Rust is the fastest systems language available | Comparative |
| 3 | The Linux kernel adopted Rust as its primary language in 2024 | Historical |
| 4 | Rust replaced C entirely in the Linux kernel | Historical |
| 5 | Rust has been the most admired language for 9 consecutive years per Stack Overflow | Statistical |
Fact-Check Results:
| # | Verdict | Confidence | Evidence |
|---|---|---|---|
| 1 | Mostly True | 0.80 | Rust's zero-cost abstractions compile to machine code comparable to C. However, some runtime components (bounds checking, panic unwinding) introduce marginal overhead. Source: Rust Performance Book |
| 2 | Half True | 0.50 | Benchmarks show Rust and C performing within 0-5% of each other on most tasks, but neither consistently "wins." Fortran outperforms both in certain numerical workloads. Source: Benchmarks Game |
| 3 | Mostly False | 0.90 | Rust was accepted for driver and module development in Linux 6.1 (2022) and expanded in later releases, but it supplements C — it was never adopted as the "primary" language. Source: LWN.net kernel Rust coverage |
| 4 | False | 0.95 | C remains the dominant language of the Linux kernel. Rust is used in select new modules only. Source: kernel.org Git stats |
| 5 | Mostly True | 0.85 | Stack Overflow renamed "Most Loved" to "Most Admired" in 2023. Rust topped "Most Loved" from 2016-2022 (7 years) and "Most Admired" in 2023-2024 (2 years), totaling 9 years. Source: Stack Overflow Developer Survey Archives |
Overall Assessment: The blog post contains a mix of approximately true technical claims and significantly exaggerated statements about Rust's role in the Linux kernel. Readers should be cautious about the kernel-related claims.
User Request:
> Verify: "Global AI spending reached $200 billion in 2024, with 75% of Fortune 500 companies deploying generative AI in production. The average ROI for enterprise AI projects is 3.5x within the first year."
Extracted Claims:
| # | Claim | Type |
|---|---|---|
| 1 | Global AI spending reached $200 billion in 2024 | Statistical |
| 2 | 75% of Fortune 500 companies deployed generative AI in production | Statistical |
| 3 | Average ROI for enterprise AI projects is 3.5x in the first year | Statistical |
Fact-Check Results:
| # | Verdict | Confidence | Evidence |
|---|---|---|---|
| 1 | Mostly True | 0.75 | IDC estimated global AI spending at $184 billion for 2024, with Gartner projecting $196 billion. The $200 billion figure is within range of the higher estimates but not exact. Sources: IDC Worldwide AI Spending Guide (Oct 2024), Gartner AI Forecast (Nov 2024) |
| 2 | Half True | 0.60 | McKinsey's 2024 survey found 72% of organizations surveyed (not specifically Fortune 500) had adopted AI in some form, with 65% using generative AI. "In production" vs. "piloting" is a meaningful distinction the original claim does not make. Source: McKinsey Global AI Survey 2024 |
| 3 | Unverifiable | 0.30 | No credible large-scale study has published a generalizable "average ROI" figure for enterprise AI. Individual case studies vary wildly (0.5x to 10x+). BCG and MIT Sloan have cautioned against generalized ROI claims. Source: MIT Sloan Management Review (2024) |
Overall Assessment: The spending figure is approximately correct, the adoption statistic is in the right ballpark but imprecise, and the ROI claim lacks credible sourcing and should not be cited without qualification.
Take seb1n/fact-checking from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.