Verification

From docxology/template · View interactive version

Verification is an AI agent skill from the GitHub repository docxology/template. Deterministic anti-hallucination gate for cited references. Resolves each entry in a manuscript .bib file against Crossref, OpenAlex, and arXiv; flags fabricated (identifier resolves to nothing), mismatched (title/author/year disagree), unverifiable (no identifier), unchecked (offline cache miss — n

How to use this skill

Skill file

Skill Descriptor — infrastructure/reference/verification

Module Overview

Given the references a manuscript claims to cite, prove (or disprove) that

each one exists and matches its cited metadata. This is the verification side of

the literature workflow; infrastructure/search/literature is the discovery

side.

Capabilities

id → arXiv API; bare title → Crossref title search with a similarity floor.

unchecked, anachronism.

SQLite cache and report unchecked on a miss — a skipped check never

launders into a clean pass.

"fabricated" is fast and stable.

CLI

uv run python -m infrastructure.reference.verification verify references.bib
uv run python -m infrastructure.reference.verification verify references.bib --live --as-of-year 2026 --fail-on-issues
uv run python -m infrastructure.reference.verification verify references.bib --json
uv run python -m infrastructure.reference.verification cache-clear

Python API

from infrastructure.reference.verification import ReferenceResolver, ResolutionCache, verify_bibfile

resolver = ReferenceResolver(cache=ResolutionCache("cache.db"), allow_network=True)
report = verify_bibfile("references.bib", resolver, as_of_year=2026)
print(report.summary_line())
assert not report.has_blocking

See Also

Provenance

The status taxonomy and cross-index/temporal-integrity ideas are an original,

Apache-2.0 distillation of patterns from

Imbad0202/academic-research-skills

(CC-BY-NC-4.0). No ARS code is vendored.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.