Light Citation
Verifierar referenser och påstående-citatstöd med en ordnad fyrstegs äkthetskontroll
Testad · Fungerar
Vad den gör
Granskar scholarly references and the claim-citation edges in a manuscript: normalizes DOI/arXiv/PMID/ISBN/URL, verifies each work against independent authoritative sources (Crossref, DataCite, PubMed), flags chimeric or fabricated citations, and runs an ordered existence to identity to publication-status to claim-support gate that a later stage cannot repair. Utlöses when auditing a bibliography, checking a suspicious DOI or author list, distinguishing CONFIRMED from CONFIRMED-MISSING, or preparing a canonical citation registry (BibTeX/CSL) for typesetting.
Testrapport
Klonade repot; SKILL.md at skills/light-citation/ parsas med name+description. Punktkontrollerade 5 refererade filer (alla HTTP 200) och bekräftade the 7 scripts (3768 lines) import stdlib only. Security scan found only legitimate scholarly-API endpoints (doi.org, Crossref, DataCite, PubMed eutils, OpenCitations, Semantic Scholar) — no curl|sh, base64, or exfiltration. OUTPUT test: audited two citations via citation_four_gate.py offline — one clean work and one chimeric (real DOI, VERIFIED existence, but fabricated co-author = identity CONFLICT). Min unaided baseline prose called the chimeric one's p.2 passage "supports the claim, so the citation could stand once the author line is corrected." The skill's gate PASSED existence but BLOCKED identity, and then mechanically BLOCKED claim_support (allowed_for_declared_purpose=false, exit 1) even though I supplied a fully-formed valid support edge with matching claim hashes — it structurally refuses to let a good support edge launder a chimeric citation, which my baseline did not. The public UNKNOWN template also correctly exits 1 as documented.
Testad: 2026-07-21 · Claude Code 2.x (agent harness)
Installation
git clone --depth 1 https://github.com/Light0305/Light-skills.git /tmp/light-citation-src mkdir -p ~/.claude/skills cp -R /tmp/light-citation-src/skills/light-citation ~/.claude/skills/light-citation # Deps: python3 only (scripts import stdlib only — no pip install needed; tested on 3.13). # Offline: citation_four_gate.py runs with no network (ordered-gate enforcement + registry validation). # Online: full verification (verify_refs.py, citation_registry.py --online) needs internet access to # Crossref / DataCite / PubMed eutils; optional OpenAlex or Semantic Scholar keys are used only in # request headers, never written to output. No API key required for the core free/no-key path. # This skill is stage 10 of a larger "Light" paper pipeline; it can also be run standalone on a bib.
Kommandon och exempelprompter
/light-citationVerifierar referenser och påstående-citatstöd med en ordnad fyrstegs äkthetskontroll
Skills triggas av vanliga förfrågningar — inga kommandon att memorera. Efter installationen aktiverar prompter som dessa skillen (på engelska):
Audit these citations for fabricated referencesVerify every claim in this manuscript has supportBuild a canonical citation registry for typesetting