Logo Fact Check

Fact Check

Cộng đồng
akitaonrails
fact-check

Kiểm chứng sự thật theo hướng phản biện trong các bài viết và tiểu luận của người dùng (thường là bài đăng blog từ akitaonrails-hugo hoặc bất kỳ tệp markdown/văn bản nào), đối chiếu từng khẳng định với các nguồn sơ cấp trực tuyến bằng các tác nhân con kiểm tra không giao diện, chi phí thấp, được khởi chạy qua CLI của các tác nhân lập trình (zcode, claude, codex, opencode, kimi, grok, agy). Dùng khi người dùng nói “kiểm chứng sự thật”, “kiểm tra sự thật/các khẳng định trong bài viết này”, “bóc tách / vạch lỗi / soi mói bài đăng của tôi”, “rà soát trước khi xuất bản”, “đoạn này có thể bị dùng để chống lại tôi ở điểm nào” hoặc gửi bản nháp và hỏi có điều gì sai hoặc không thể xác minh không. Không dùng để rà soát mã, kiểm tra bảo mật hoặc hiệu đính chính tả/ngữ pháp nếu không xác minh tính xác thực.

Add to TypingMind

Tổng quan

Nhà phát hànhakitaonrails
Kho mãmy-skills
Tên kỹ năngfact-check
Sao
268
Bản fork
31
Tệp đi kèm
5
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được akitaonrails công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Fact Check trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/akitaonrails/my-skills/tree/master/fact-check
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Fact Check trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Fact Check ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Fact Check với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Fact Check làm được gì?

Kiểm chứng sự thật theo hướng phản biện trong các bài viết và tiểu luận của người dùng (thường là bài đăng blog từ akitaonrails-hugo hoặc bất kỳ tệp markdown/văn bản nào), đối chiếu từng khẳng định với các nguồn sơ cấp trực tuyến bằng các tác nhân con kiểm tra không giao diện, chi phí thấp, được khởi chạy qua CLI của các tác nhân lập trình (zcode, claude, codex, opencode, kimi, grok, agy). Dùng khi người dùng nói “kiểm chứng sự thật”, “kiểm tra sự thật/các khẳng định trong bài viết này”, “bóc tách / vạch lỗi / soi mói bài đăng của tôi”, “rà soát trước khi xuất bản”, “đoạn này có thể bị dùng...

Vì sao nên dùng Fact Check trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Fact Check là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Fact Check trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/akitaonrails/my-skills/tree/master/fact-check. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Fact Check?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Fact Check với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Fact Check với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Fact Check có miễn phí không?

Kỹ năng này được akitaonrails phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇