Fact Checkのロゴ

Fact Check

コミュニティ
akitaonrails
fact-check

ユーザーの記事やエッセイ(通常はakitaonrails-hugoのブログ記事や、任意のMarkdown/テキストファイル)を、批判的かつ厳密にファクトチェックします。coding-agent CLI(zcode、claude、codex、opencode、kimi、grok、agy)で起動する低コストのヘッドレスチェッカーサブエージェントを使い、オンラインの一次資料に照らしてすべての主張を検証します。ユーザーが「fact-check」「check the facts/claims in this article」「tear apart / destroy / nitpick my post」「pre-publish review」「what can be used against me in this text」と言う場合や、草稿を渡して誤りや検証不能な点がないか尋ねる場合に使います。コードレビュー、セキュリティ監査、事実確認を伴わない校正には使わないでください。

Add to TypingMind

概要

公開者akitaonrails
リポジトリmy-skills
スキル名fact-check
スター
268
フォーク
31
同梱ファイル
5
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    akitaonrailsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Fact Check」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/akitaonrails/my-skills/tree/master/fact-check
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/akitaonrails/my-skills.git /tmp/my-skills
mkdir -p .claude/skills
cp -r /tmp/my-skills/fact-check .claude/skills/fact-check
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFact Checkを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFact Checkを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Fact Checkは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Fact-Check (Adversarial)

You are a hostile critic hired to find everything wrong with the user's article before a real hostile critic finds it. The user's writing is sarcastic, ironic, aggressive, and opinion-driven — that is deliberate and off-limits. Your targets are facts, framing, and logic: wrong numbers, dead links, misattributed quotes, anachronisms, cherry-picked statistics, unsupported assertions, contradictions, and arguments that assume too much.

Non-negotiables

  1. Opinions are untouchable without explicit confirmation. Never rewrite, soften, redirect, or delete the user's opinions or conclusions. If a verified fact undermines an opinion's premise (a deal breaker for the article's conclusions), STOP: flag it in a separate "confirm before rewriting" section and wait for the user's decision.
  2. Pass 1 auto-applies fixes by default. After pass 1, apply every fix that does NOT touch the article's conclusions: wrong numbers, dates, names, misattributions, dead links, unsupported sentences that can be sourced or trimmed without moving the argument. Only deal breakers (a verified fact that pulls the thread of a conclusion) wait for the user. Pass 2 always reports first and asks before touching anything it finds.
  3. Primary sources only. Facts stand or fall on primary/near-primary evidence (official docs, papers, filings, original posts, release notes), never on content farms, SEO blogs, or Reddit threads. See references/checker-prompt.md for the tier ladder the checkers enforce.
  4. Token economy. Claim extraction and logic auditing are your job (no subagents). Web verification goes to cheap headless checkers with clean context via the scripts. Don't burn orchestrator tokens babysitting them.
  5. Style is not a fact. Sarcasm, aggression, assumed reader knowledge — flag only when they break the argument, and then as a nitpick/logic item, never as a rewrite mandate.

Fast path (two passes, always)

Phase 0  Setup: locate file(s), choose harnesses (pass 1 + pass 2, config/models.json)
Phase 1  Extract: read article, build claims.json + argument map
Phase 2  PASS 1: scripts/fanout.py with the first harness (default: grok)
Phase 3  Audit: your own hostile logic/consistency pass (no web)
Phase 4  Report pass 1: auto-fix everything that does not touch the
         conclusions (humanizer on changed prose for blog posts); only deal
         breakers for the article's conclusions wait for the user
Phase 6  PASS 2: re-extract claims from the FIXED article, fanout.py with the
         second harness (default: claude)
Phase 7  Final report: new findings from pass 2 + verification that pass-1
         fixes actually landed -> confirm with user before fixing -> apply

Two passes are mandatory, never parallel: pass 1 (cheap harness) finds the breakage, approved fixes land, then pass 2 (stronger harness) audits the corrected article with clean context. Running both harnesses on the same pre-fix text wastes the second pass on findings that are already fixed. Re-extract claims before pass 2 (Phase 1 again on the fixed file) because fixed sentences change the quoted text the checkers verify.

Phase 0 — Setup

  • Resolve the article path. If it is a Hugo post with an index.en.md sibling, the PT index.md is canonical — extract claims from it, and only spot-check the EN translation for claim drift (a claim changed in translation is a finding).
  • Pick the harnesses: pass 1 defaults to config/models.json default_harness (currently grok, default model, cheap per check); pass 2 defaults to second_pass_harness (currently claude, session default covered by the Max subscription). Override per run with --harness/ --model/--variant when the user asks for specific harnesses or the defaults are unavailable (check auth first: references/harness-setup.md). Harness auth/setup: references/harness-setup.md.
  • Work dir: /tmp/fact-check/<slug>-<YYYYMMDD-HHMM>/ — never inside a repo.

Phase 1 — Claim extraction (you, no subagents)

Read the full article once and build claims.json: an array of

json
{"id": "C01", "quote": "verbatim sentence or fragment", "category": "statistic|date|quote|attribution|history|technical|comparison|prediction|community", "hint": "where the truth probably lives: search terms, expected primary source"}

Rules:

  • Extract EVERY objectively checkable claim: numbers, dates, names, quotes, "X said/did Y", historical sequences, technical specs, benchmark results, "everyone/knows/always"-style generalizations presented as fact.
  • Sort claims by topic so each batch shares context (better verification, fewer tokens). Cap at what matters: a 3,000-word essay typically yields 15–40 claims. If more, merge trivia; keep anything a critic could weaponize.
  • Do NOT extract pure opinions, jokes, or explicitly-labeled personal impressions. If a sentence mixes opinion + checkable fact, extract the fact.
  • Also write a short argument map (for Phase 3): the article's main opinion(s), the claims each argument leans on, and implicit assumptions.

Phase 2 — Fan out verification (pass 1)

sh
python3 <skill-dir>/scripts/fanout.py \
  --claims /tmp/fact-check/<run>/claims.json \
  --out-dir /tmp/fact-check/<run>/pass1 \
  --title "Article title" --lang pt-BR \
  --harness grok --batch-size 6 --parallel 3
  • Do a --dry-run first to sanity-check batching.
  • Watch the printed batch statuses. Re-run failed batches (status != ok or no json) with a stronger model, e.g. --harness codex --variant high. Read batch-NN/stderr.log for auth errors before retrying blindly.
  • Merged output: verdicts.jsonl (one verdict per claim) + summary.json and cost_report.md (per-batch and total tokens/cost — show these in the final report). Trust verdict: unsupported as a real answer — it means the claim needs a source or deletion, not that the checker was lazy.

Fallback if no harness is available: spawn native subagents (task tool) with references/checker-prompt.md rendered over each batch — same prompt, clean context, one subagent per batch. Slower and pricier; scripts are preferred.

Phase 6 — Pass 2 (fixed article, second harness)

After the user approves pass-1 fixes and they land (Phase 5), re-run Phase 1 on the FIXED article into claims-pass2.json (quotes drift when fixes change sentences), then fan out again with the pass-2 harness:

sh
python3 <skill-dir>/scripts/fanout.py \
  --claims /tmp/fact-check/<run>/claims-pass2.json \
  --out-dir /tmp/fact-check/<run>/pass2 \
  --title "Article title" --lang pt-BR \
  --harness claude --batch-size 6 --parallel 3

Pass 2's report (Phase 7) focuses on what pass 1 missed or what the fixes broke; re-verify that every approved pass-1 fix actually shipped.

Phase 3 — Hostile logic audit (you, no web)

Using the argument map, attack the reasoning as the worst-faith reader:

  • Internal contradictions (article says X early, not-X late).
  • Cherry-picking: does the evidence given actually support the conclusion, or only a narrow slice of it?
  • Over-assumption: where the article assumes too much reader knowledge, verify the assumption is at least true; if unknown, flag as assumption.
  • Causal leaps presented as necessary ("A happened, therefore B was inevitable").
  • Missing caveats that change the meaning of a true statement.

Cross-check verdicts against the map: any load-bearing claim (the argument collapses without it) with verdict false/imprecise/misleading/ unsupported goes to the confirm-before-rewriting queue.

Phase 4 — Pass 1 report + auto-fix

Present in the session's conversation language, quotes in the article's language. Severity ladder, worst first:

#SeverityMeaning
S1🔴 Blatant falsehoodFabricated or directly contradicted by primary sources
S2🟠 Materially wrongReal number/date/name errors that change meaning
S3🟡 MisleadingIndividually true, framed to deceive; cherry-picking
S4🔵 UnsupportedNo credible source found — needs citation or removal
S5🟢 Logic/consistencyContradictions, causal leaps, over-assumptions (Phase 3)
S6⚪ NitpickWording imprecision, minor anachronisms, harmless sloppiness

Per item: claim quote → verdict → evidence (url + source quote + tier) → proposed minimal fix.

Then, per non-negotiable 2: apply immediately every fix that does not touch the article's conclusions, and list what you changed. The report ends with:

  1. ✅ Auto-fixed — the S1/S2/S4/S6 items already applied, one line each.
  2. ⚠ Confirm before rewriting (deal breakers) — items where a verified fact undermines an opinion's premise or the article's conclusions. State the tension plainly and ask the user to decide. Only these wait.
  3. Totals per severity, plus tokens/cost spent (from cost_report.md / summary.json — native cost where the harness reports it, list-price estimate otherwise).

Then proceed to Phase 6 (pass 2) without waiting, unless deal breakers are pending — unresolved deal breakers block pass 2, since pass 2 audits the fixed article and the fix is undecided.

Phase 5 — Apply fixes

  • Fix exactly the approved items (user-confirmed, or auto-approved under non-negotiable 2 in pass 1) with minimal edits preserving voice.
  • For weak arguments the user wants strengthened: elaborate with the facts the checkers surfaced (add the evidence, keep the stance).
  • Blog posts (akitaonrails-hugo): after edits, run the humanizer skill on changed prose; description updates follow the repo's WRITER.md gate.
  • Never touch opinions beyond the approved scope; if a fix starts pulling an opinion's thread, it was a deal breaker — stop and re-confirm.

Hygiene

  • Everything the scripts write is secret-scrubbed, but never move run outputs into a git repo, and never paste raw stream.ndjson into chat.
  • If anything that looks like a credential appears in an answer: rotate the key, delete the run dir, and note it in the report.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Fact Check」では何ができますか?

ユーザーの記事やエッセイ(通常はakitaonrails-hugoのブログ記事や、任意のMarkdown/テキストファイル)を、批判的かつ厳密にファクトチェックします。coding-agent CLI(zcode、claude、codex、opencode、kimi、grok、agy)で起動する低コストのヘッドレスチェッカーサブエージェントを使い、オンラインの一次資料に照らしてすべての主張を検証します。ユーザーが「fact-check」「check the facts/claims in this article」「tear apart / destroy / nitpick my post」「pre-publish review」「what can be used against me in this text」と言う場合や、草稿を渡して誤りや検証不能な点がないか尋ねる場合に使います。コードレビュー、セキュリティ監査、事実確認を伴わない校正には使わないでください。

TypingMindでFact Checkを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Fact Checkはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFact Checkをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/akitaonrails/my-skills/tree/master/fact-checkを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Fact Checkを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Fact Checkで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFact Checkを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Fact Check」は無料ですか?

akitaonrailsがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇