Light Citation

Verifica referencias y soporte de citación de afirmaciones con una verificación de autenticidad de cuatro puertas ordenada

Por Light0305 · Light0305/Light-skills

Probado · Funciona ★ 9.2/10

Light Citation — Verifica referencias y soporte de citación de afirmaciones con una verificación de autenticidad de cuatro puertas ordenada

Qué hace

Audita referencias académicas y los bordes de citación de afirmaciones en un manuscrito: normaliza DOI/arXiv/PMID/ISBN/URL, verifica cada trabajo contra fuentes autorizadas independientes (Crossref, DataCite, PubMed), marca citas quiméricas o fabricadas, y ejecuta una puerta ordenada de existencia a identidad a estado de publicación a soporte de afirmación que una etapa posterior no puede reparar. Se activa al auditar una bibliografía, verificar un DOI o lista de autores sospechosos, distinguir CONFIRMED de CONFIRMED-MISSING, o preparar un registro de citación canónico (BibTeX/CSL) para la composición tipográfica.

Informe de la prueba

Cloné el repositorio; SKILL.md en skills/light-citation/ se analiza con name+description. Verifiqué 5 archivos referenciados (todos HTTP 200) y confirmé que los 7 scripts (3768 líneas) importan stdlib only. El escaneo de seguridad encontró solo legitimate scholarly-API endpoints (doi.org, Crossref, DataCite, PubMed eutils, OpenCitations, Semantic Scholar) — sin curl|sh, base64, ni exfiltración. Prueba de SALIDA: audité two citations via citation_four_gate.py offline — one clean work and one chimeric (real DOI, VERIFIED existence, but fabricated co-author = identity CONFLICT). Mi unaided baseline prose llamó al p.2 passage del quimérico "supports the claim, so the citation could stand once the author line is corrected." La puerta de la habilidad PASÓ existence but BLOCKED identity, y luego 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. La public UNKNOWN template also correctly exits 1 as documented.

Probado el: 2026-07-21 · Claude Code 2.x (agent harness)

Instalación

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.

Comandos y prompts de ejemplo

  • /light-citationVerifica referencias y soporte de citación de afirmaciones con una verificación de autenticidad de cuatro puertas ordenada

Los skills se activan con peticiones en lenguaje natural, sin comandos que memorizar. Tras instalarlo, prompts como estos lo activan (en inglés):

  • Audit these citations for fabricated references
  • Verify every claim in this manuscript has support
  • Build a canonical citation registry for typesetting