Fact Checker logo

Fact Checker

Community
minicoohei
fact-checker

記事内の事実主張(数値、日付、固有名詞、統計)を自動抽出し、Web検索で裏付け確認するスキル。 「ファクトチェックして」「事実確認して」「裏付けを取って」等のリクエストで発動。 信頼度スコア付きレポートを出力。

Overview

Publisherminicoohei
Repositoryai-agent-camp
Skill namefact-checker
Stars
346
Forks
13
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by minicoohei on GitHub. Read the source before you install it.

Installation

Install the Fact Checker AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/minicoohei/ai-agent-camp/tree/main/.claude/skills/fact-checker
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/minicoohei/ai-agent-camp.git /tmp/ai-agent-camp
mkdir -p .claude/skills
cp -r /tmp/ai-agent-camp/.claude/skills/fact-checker .claude/skills/fact-checker
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fact Checker in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fact Checker on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fact Checker is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

トリガーワード

「ファクトチェック」「事実確認」「裏付け」「情報の真偽」

Fact Checker - ファクトチェックエージェント

概要

記事やドキュメント内の事実主張(Factual Claims)を自動的に抽出し、Web検索を使って裏付け確認を行うスキルです。 Gemini API を使って主張を構造化抽出し、各主張に対してグラウンディング検索で検証を実施します。 最終的に、信頼度スコア付きの Markdown レポートを出力します。

主張カテゴリ

カテゴリ識別キー説明例
数値・統計numbers数字を含む主張「市場規模は500億ドル」「成長率15%」
日付・時系列dates日付や時系列に関する記述「2024年に発表された」「設立から10年」
固有名詞names人名、組織名、製品名「OpenAIのCEOサム・アルトマン」
因果関係causation「〜により〜が起きた」型の主張「AIの普及により雇用構造が変化」
引用・出典citations既存の引用や出典の正確性「Gartnerの調査によると〜」

検証レベル

判定意味基準
✅ 確認済 (Verified)複数の信頼できるソースで裏付け2つ以上の独立した情報源が一致
⚠️ 要確認 (Needs Review)部分的に一致、または情報が古い可能性ソースが1つ、または数値に軽微な差異
❌ 不一致 (Discrepancy)ソースと矛盾する情報を発見信頼できるソースと明確に矛盾
ℹ️ 検証不能 (Unverifiable)検索で裏付けが見つからない公開情報として確認できない

クイックスタート

bash
# 記事全体をファクトチェック
python skills/fact-checker/scripts/fact_checker.py --input article.md

# 数値・統計のみをチェック
python skills/fact-checker/scripts/fact_checker.py --input article.md --category numbers

# 詳細モードで出力先を指定
python skills/fact-checker/scripts/fact_checker.py --input article.md --output report.md --depth thorough

# テストモード(API不要、サンプル記事で動作確認)
python skills/fact-checker/scripts/fact_checker.py --test

パラメータ

ParameterRequiredDefaultDescription
--input, -iYes*-入力ファイルパス(Markdown/テキスト)
--output, -oNooutput/fact_report_{timestamp}.md出力レポートのパス
--category, -cNoallチェック対象カテゴリ: all, numbers, dates, names, causation, citations
--depth, -dNoquick検証深度: quick(高速、主要な主張のみ), thorough(全主張を詳細検証)
--testNofalseテストモード(API不要、サンプル記事で動作確認)

*--test 使用時は --input は不要

出力フォーマット

Markdown レポートが生成されます:

markdown
# ファクトチェックレポート

**対象ファイル**: article.md
**検証日時**: 2026-02-12 15:30:00
**検証深度**: quick

## サマリー
- 検出した主張: 12件
- ✅ 確認済: 7件
- ⚠️ 要確認: 3件
- ❌ 不一致: 1件
- ℹ️ 検証不能: 1件

## 詳細

### 主張1: 「AIの市場規模は2025年に1900億ドルに達する」
- **カテゴリ**: 数値・統計
- **判定**: ⚠️ 要確認
- **信頼度**: 65%
- **理由**: 数値が最新データと若干異なる。複数ソースで1840〜2000億ドルの範囲
- **出典**:
  - [Statista - AI Market Size](https://example.com/source1)
  - [Grand View Research](https://example.com/source2)

### 主張2: 「OpenAIは2015年にサンフランシスコで設立された」
- **カテゴリ**: 固有名詞 / 日付・時系列
- **判定**: ✅ 確認済
- **信頼度**: 95%
- **理由**: 複数の公式ソースで確認済み
- **出典**:
  - [Wikipedia - OpenAI](https://example.com/source3)
  - [OpenAI公式サイト](https://example.com/source4)

処理フロー

  1. 記事読み込み: 入力ファイル(Markdown/テキスト)を読み込む
  2. 主張抽出: Gemini API で事実主張を構造化 JSON として抽出
  3. 検索クエリ生成: 各主張に対して最適な検索クエリを生成
  4. 検証実行: Gemini のグラウンディング検索で各主張を検証
  5. レポート生成: 検証結果を Markdown レポートとして出力

環境設定

必須: Gemini API Key

bash
# .env に追加
GEMINI_API_KEY=your_api_key_here
# または
GOOGLE_API_KEY=your_api_key_here

依存パッケージ

txt
google-genai>=1.0.0
pyyaml>=6.0
python-dotenv>=0.19.0

使用例

bash
# ブログ記事のファクトチェック
python skills/fact-checker/scripts/fact_checker.py \
  --input docs/blog-post.md --depth thorough

# ニュース記事の数値のみチェック
python skills/fact-checker/scripts/fact_checker.py \
  --input news_article.txt --category numbers

# プレスリリースの固有名詞と日付をチェック
python skills/fact-checker/scripts/fact_checker.py \
  --input press_release.md --category names --output output/press_check.md

# テスト実行(API キー不要)
python skills/fact-checker/scripts/fact_checker.py --test

関連スキル

  • article-writer: 記事作成スキル(作成後のファクトチェックに連携可能)
  • proofreading-agent: 校正エージェント(文法・表現チェック)
  • seo-audit: SEO監査(コンテンツの正確性確認に補完的)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fact Checker AI skill do?

記事内の事実主張(数値、日付、固有名詞、統計)を自動抽出し、Web検索で裏付け確認するスキル。 「ファクトチェックして」「事実確認して」「裏付けを取って」等のリクエストで発動。 信頼度スコア付きレポートを出力。

Why use Fact Checker on TypingMind?

Because you install it once and use it with any model. Fact Checker is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fact Checker in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/minicoohei/ai-agent-camp/tree/main/.claude/skills/fact-checker. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fact Checker?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fact Checker?

As many as you like. As long as a model supports skills, you can use Fact Checker with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fact Checker AI skill free?

It is published on GitHub by minicoohei. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇