شعار Fact Check

Fact Check

المجتمع
akitaonrails
fact-check

تحقق نقدي ومضاد من الحقائق الواردة في مقالات المستخدم ومقالاته الإنشائية (عادةً منشورات مدونة من akitaonrails-hugo أو أي ملف Markdown/نصي)، وذلك بمراجعة كل ادعاء استنادًا إلى مصادر أولية على الإنترنت عبر وكلاء فرعيين رخيصين للتحقق، يعملون من دون واجهة رسومية ويُشغّلون عبر واجهات سطر الأوامر لوكلاء البرمجة (zcode، claude، codex، opencode، kimi، grok، agy). استخدمها عندما يقول المستخدم «تحقق من الحقائق»، أو «تحقق من حقائق/ادعاءات هذا المقال»، أو «فكك منشوري / دمّره / دقق في تفاصيله»، أو «مراجعة ما قبل النشر»، أو «ما الذي يمكن استخدامه ضدي في هذا النص؟»، أو يرسل مسودة ويسأل إن كان فيها شيء خاطئ أو يتعذر التحقق منه. لا تستخدمها لمراجعة الشيفرة، أو تدقيق الأمان، أو التدقيق اللغوي من دون التحقق من الحقائق.

Add to TypingMind

نظرة عامة

الناشرakitaonrails
المستودعmy-skills
اسم المهارةfact-check
النجوم
268
التفريعات
31
الملفات المرفقة
5
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 5

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها akitaonrails على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Fact Check في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/akitaonrails/my-skills/tree/master/fact-check
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Fact Check في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Fact Check تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Fact Check بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Fact Check؟

تحقق نقدي ومضاد من الحقائق الواردة في مقالات المستخدم ومقالاته الإنشائية (عادةً منشورات مدونة من akitaonrails-hugo أو أي ملف Markdown/نصي)، وذلك بمراجعة كل ادعاء استنادًا إلى مصادر أولية على الإنترنت عبر وكلاء فرعيين رخيصين للتحقق، يعملون من دون واجهة رسومية ويُشغّلون عبر واجهات سطر الأوامر لوكلاء البرمجة (zcode، claude، codex، opencode، kimi، grok، agy). استخدمها عندما يقول المستخدم «تحقق من الحقائق»، أو «تحقق من حقائق/ادعاءات هذا المقال»، أو «فكك منشوري / دمّره / دقق في تفاصيله»، أو «مراجعة ما قبل النشر»، أو «ما الذي يمكن استخدامه ضدي في هذا النص؟»، أو يرسل مسودة ويسأل إن كان فيها شيء خاط...

لماذا تستخدم Fact Check على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Fact Check عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Fact Check في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/akitaonrails/my-skills/tree/master/fact-check. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Fact Check؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Fact Check؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Fact Check معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Fact Check مجانية؟

نشرها akitaonrails على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇