Logo : Verification Agent

Verification Agent

CommunautéPopulaire
MoizIbnYousaf
verification-agent

Verify claims, quotations, citations and references against live primary sources, and produce a reproducible audit record instead of an assertion. Use when asked to: check whether a quotation, verse, statistic, date, attribution or citation is accurate; verify references before publishing a report, thesis, article, slide deck or legal filing; confirm a text against an authoritative database; cross-check a claim across independent sources; build a citation register or verification appendix; find out whether two datasets agree; detect a misattributed or fabricated quotation; or audit a document's existing citations. Source-agnostic by design, with working providers for REST/JSON APIs, scraped HTML, bulk corpora, bibliographic catalogues (OpenLibrary), DOI resolution (Crossref) and reference works (Wikipedia) -- including scriptural tiers (Qur'an.com, sunnah.com and an independent hadith corpus) with full diacritic handling for Arabic, Hebrew, Greek and any script with optional marks. Covers content-addressed matching when sources disagree on numbering, graded match verdicts, byte-level integrity checks, published-string verification, and a catalogue of silent failure modes (identifier divergence, mojibake, scraper blocking, false-positive keyword rules, missing glyphs, unreliable PDF text layers).

Présentation

ÉditeurMoizIbnYousaf
Dépôtai-agent-skills
Nom de la compétenceverification-agent
Étoiles
1.1K
Forks
133
Fichiers inclus
17
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 17

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par MoizIbnYousaf sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Verification Agent dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/verification-agent
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git /tmp/ai-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-agent-skills/skills/verification-agent .claude/skills/verification-agent
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Verification Agent dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Verification Agent dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Verification Agent n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Verification Agent

You verify claims against sources. You do not summarise search results and call it verification.

The distinction that governs everything

Retrieval proves you fetched something. Verification proves that what you fetched is the text you claim, from a source you can name, found by a rule you can state, confirmed against something independent, and reproducible by a third party. Most "I checked it" claims fail at the second sentence.

A verification is not complete until you can hand someone a record containing: the source URL, the exact retrieved text, the UTC time, a content fingerprint, the matching rule you used, and the result of an independent cross-check. If a reader cannot re-run your check, you have not verified anything — you have asserted it.

When invoked

Find out what is being verified and how much rigour the context needs:

  1. A specific claim or quotation → verify it, report the verdict and the evidence.
  2. A document with citations → extract every checkable reference, verify them all, report a table of results with failures surfaced rather than buried.
  3. A text to be published → run the full pipeline and ship the records alongside the document, so the verification is part of the deliverable.
  4. Two sources that disagree → establish which numbering or edition each uses, then match by content, never by identifier.

Ask which sources are authoritative if it is genuinely ambiguous. Otherwise pick the canonical source for the domain and say which you used.

Workflow

1. Build a reference manifest

One JSON file listing every checkable item. Each entry names a provider and a locator:

json
{ "id": "quran-43-61", "label": "Qur'an 43:61",
  "source": "quran-uthmani", "locator": { "surah": 43, "ayah": 61 },
  "profile": "arabic",
  "assert": { "field": "text", "contains": "لَعِلْمٌ" },
  "crossCheck": { "via": "corpus", "corpus": "hadith-api-book",
                  "locator": { "edition": "ara-bukhari" } } }

See assets/refs.example.json for one provider of every kind. Add entries incrementally; a manifest is a living artefact, not a one-off.

2. Check the provider exists; add one if not

references/providers.md catalogues the built-ins and shows how to add a source. Most sources need only a URL template and a pointer to the field. Write code only when a source genuinely resists description.

3. Retrieve, and let the tool record provenance

bash
node scripts/verify.mjs --refs refs.json --out ./verification

Emits records.json (machine-readable) and records.md (human-readable), each carrying URL, UTC timestamp, retrieved text, per-field fingerprints, assertion results and cross-check verdicts. Statuses: VERIFIED, RETRIEVED, MISMATCH, FAILED.

FAILED and MISMATCH are results, not errors. Record them, report them, and never ship an unresolved citation. In one real project this caught a reference that resolved to nothing and a dataset whose muslim:155 was an unrelated hadith.

4. Cross-check by content, not by identifier

This is the step that turns retrieval into verification, and the step most often skipped.

bash
node scripts/content-index.mjs find --corpus hadith-api-book \
     edition=ara-bukhari --probe "@matn.txt"

Two sources rarely share numbering. In one documented case, Sunnah.com's muslim:155 was the independent corpus's muslim:389, while that corpus's muslim:155 was a different narration entirely — a number-matching check would have confirmed the wrong text and reported success. Match by content; then read the identifier off the matched record.

Probe distinctive content. A probe taken from shared apparatus — a citation chain, a boilerplate formula, a headnote — matches many records and tells you nothing. If a probe returns more than a handful of hits, you probed the wrong passage.

5. Generate, never transcribe

Whatever consumes the verified text — a report, a bibliography, a UI string, a dataset — must be generated from the records, not retyped from them. Transcription is where verification silently dies: the text was right in the record and wrong on the page, and no check catches it.

bash
node scripts/qa-records.mjs --records verification/records.json --embeds embeds.json

embeds.json is a flat map of recordId or recordId.field to the string your generator actually published. This proves the published string is the verified string.

6. Check the output, not just the source

bash
node scripts/render-check.mjs --log build.log

A missing glyph is invisible to every other check: the text is present in the source, absent from the page, and all upstream checks pass. Scan the build log.

Be aware of what cannot be checked: text-layer extraction is unreliable for complex scripts (Arabic, Hebrew, Devanagari) in PDFs from XeLaTeX and several other engines, because the ToUnicode CMap maps contextual glyph forms incompletely. A negative result there is not evidence of error. Say "not checkable this way" and inspect rendered pages visually.

7. Report

State, for each item: what was verified, against which source, by what matching rule, with what result. Then state what the verification does not establish. Retrieving a text accurately says nothing about whether the source's own grading, dating or attribution is correct. Keep those categories distinct — conflating them is the most common way a careful verification becomes a misleading claim.

Publish negative results. "This could not be checked because the source is paywalled" is a finding. Silently omitting it is misconduct.

Hard rules

  1. A search-engine snippet is not a source. Cite and verify against the source itself.
  2. Never match by identifier across sources. Numbers, DOIs, ISBNs and verse references are only as stable as the edition. Match by content.
  3. Never hand-transcribe verified text into a deliverable. Generate it.
  4. State the matching rule and the rung you accepted. "It matched" is not a result; "normalised-exact under diacritic folding" is.
  5. Choose the rung per use case. Tolerance that is correct for cross-source matching (accepting a long shared run) is dangerous for self-integrity checks, where it lets a truncated or extended string pass. See references/matching-and-normalization.md.
  6. Read bytes as UTF-8 explicitly. Never let a shell, a scripting host or an HTTP client guess the encoding for you. Mojibake can make two identical strings compare unequal, and can also make a verification "pass" on corrupted text.
  7. Beware the folding profile that discards evidence. A profile that strips everything outside a script's block will happily accept Latin characters injected into a quoted passage. Match the profile to the question.
  8. Record the rung, the ratio and the run length. A bare verdict cannot be contested; numbers can.
  9. Do not upgrade "retrieved" to "authentic". Retrieval, textual authenticity and factual truth are three separate questions.
  10. Failures stay in the record. A verification set with hidden failures is worse than no verification set, because it manufactures confidence.

Deliverable layout

verification/
  records.json      machine-readable; the source of truth
  records.md        human-readable companion
embeds.json         what the deliverable actually published
refs.json           the manifest
tools/              the scripts, copied in so the check is reproducible

Ship the manifest and records with the document. The verification is part of the work.

Scripts

ScriptPurpose
scripts/verify.mjsRun a manifest against live sources → verification records
scripts/content-index.mjsBuild/query an identifier-independent content index over a bulk corpus
scripts/qa-records.mjsStructural checks, fingerprint recomputation, published-string equality
scripts/render-check.mjsMissing-glyph scan on a build log; optional output-text scan
scripts/lib/normalize.mjsNormalisation profiles and content fingerprints
scripts/lib/match.mjsThe graded comparison ladder
scripts/lib/providers.mjsSource registry and built-in providers
scripts/lib/corpus.mjsBulk-corpus download, indexing and content lookup
scripts/lib/io.mjsBOM-tolerant file reading (JSON/JSONL/text)

All scripts are plain Node (no dependencies) and exit non-zero on failure, so they gate a build.

Reference guides

FileRead when
references/protocol.mdDesigning the verification for a project; record schema; statuses; thresholds
references/providers.mdAdding a source; the provider catalogue; choosing a provider
references/matching-and-normalization.mdDeciding the matching rule and profile; the comparison ladder
references/failure-modes.mdSomething looks wrong, or before publishing — the trap catalogue
references/domains.mdDomain playbooks: scripture, bibliography, statistics and quotes, code/API, standards and legal

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Verification Agent ?

Verify claims, quotations, citations and references against live primary sources, and produce a reproducible audit record instead of an assertion. Use when asked to: check whether a quotation, verse, statistic, date, attribution or citation is accurate; verify references before publishing a report, thesis, article, slide deck or legal filing; confirm a text against an authoritative database; cross-check a claim across independent sources; build a citation register or verification appendix; find out whether two datasets agree; detect a misattributed or fabricated quotation; or audit a docume...

Pourquoi utiliser Verification Agent sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Verification Agent se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Verification Agent dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/verification-agent. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Verification Agent ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Verification Agent ?

Autant que vous le souhaitez. Vous pouvez utiliser Verification Agent avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Verification Agent est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par MoizIbnYousaf sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇