Logo van Verification Agent

Verification Agent

CommunityPopulair
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).

Overzicht

UitgeverMoizIbnYousaf
Repositoryai-agent-skills
Skillnaamverification-agent
Sterren
1.1K
Forks
133
Meegeleverde bestanden
17
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 17

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door MoizIbnYousaf op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Verification Agent in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/verification-agent
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Verification Agent in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Verification Agent automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Verification Agent niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill 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...

Waarom Verification Agent gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Verification Agent bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Verification Agent in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/verification-agent. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Verification Agent gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Verification Agent gebruiken?

Zoveel als je wilt. Je kunt Verification Agent gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Verification Agent gratis?

Ja. Deze skill is door MoizIbnYousaf op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇