Logotipo de Citation Audit

Citation Audit

Comunidad
Mathews-Tom
citation-audit

Verifica que todas las citas de un manuscrito sean reales, estén atribuidas correctamente y se describan con precisión. Detecta artículos inexistentes, identificadores de arXiv incorrectos, afirmaciones invertidas y enlaces rotos consultando cada obra citada. El modo de corrección, opcional, aplica correcciones a los metadatos bibliográficos y propone cambios de redacción para corregir errores en las afirmaciones. Se activa con: «comprobar mis citas», «verificar referencias», «auditar citas», «mis referencias son reales», «comprobar bibliografía», «revisar referencias», «auditoría bibliográfica» y «verificación de citas». Complementa manuscript-review (revisión de coherencia en el paso 5); esta habilidad comprueba la veracidad de los datos.

Add to TypingMind

Descripción general

EditorMathews-Tom
Repositorioarmory
Nombre de la habilidadcitation-audit
Estrellas
318
Forks
47
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Mathews-Tom en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Citation Audit en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Mathews-Tom/armory/tree/main/skills/citation-audit
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mathews-Tom/armory.git /tmp/armory
mkdir -p .claude/skills
cp -r /tmp/armory/skills/citation-audit .claude/skills/citation-audit
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Citation Audit en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Citation Audit automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Citation Audit no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Citation Audit Skill

Purpose

Verify every citation in a manuscript against its actual source. LLMs hallucinate citations, invent arXiv IDs, misattribute findings, and confuse authors. This skill catches all of that by fetching and reading each cited work.

Why This Exists

LLMs are unreliable with citations in three distinct ways:

  1. Ghost papers — The paper does not exist. Title, authors, or venue are fabricated.
  2. Wrong metadata — The paper exists but the bib entry has the wrong arXiv ID, wrong authors, wrong year, or wrong venue.
  3. Inverted claims — The paper exists and the bib is correct, but the manuscript mischaracterizes what the paper says.

All three are invisible to structural audits (cross-reference checks, compilation tests). They require reading the actual cited work.

Inputs

  • The manuscript .tex file(s)
  • The .bib file
  • Web access (to fetch papers from arXiv, conference sites, URLs)

Execution

Phase 1: Extract citation contexts

For each \citep{}, \citet{}, \cite{} in the manuscript:

  1. Record the bib key
  2. Record the surrounding sentence or paragraph (the claim context)
  3. Classify the claim type:
    • FACTUAL: "X et al. found Y" / "X et al. measured Y"
    • METHODOLOGICAL: "We follow X" / "We use the benchmark from X"
    • POSITIONAL: "Unlike X, we..." / "X does not measure..."
    • PARENTHETICAL: "(X, 2024)" — no specific claim, just a reference
  4. For FACTUAL and POSITIONAL claims, extract the specific assertion the manuscript makes about the cited work

Phase 2: Verify bib entry metadata

For each bib entry, verify against the actual source:

For arXiv papers (eprint field present):

  1. Fetch https://arxiv.org/abs/{eprint_id}
  2. Compare: title, authors, year
  3. If the fetched paper has a DIFFERENT title/authors than the bib entry, this is a WRONG ID or GHOST PAPER

For conference/journal papers (booktitle or journal field):

  1. Search for the paper by title + author on the web
  2. Verify: venue, year, author list
  3. If the paper cannot be found at the stated venue, flag as UNVERIFIABLE or GHOST PAPER

For web resources (howpublished with URL):

  1. Fetch the URL
  2. Verify it loads and the content matches the described resource
  3. If the URL is dead or redirects to unrelated content, flag as DEAD LINK

For each entry, check:

  • Paper exists (reachable via arXiv, DOI, URL, or web search)
  • Title matches (exact or near-exact)
  • Authors match (at least first author correct)
  • Year matches
  • Venue matches (if applicable)
  • Entry type appropriate (@inproceedings for conferences, @article for journals, @misc for preprints/blogs)

Phase 3: Verify claim accuracy

For each FACTUAL or POSITIONAL claim:

  1. Read the cited paper (abstract + relevant sections at minimum)
  2. Compare the manuscript's claim against what the paper actually says
  3. Classify:
    • ACCURATE — The claim faithfully represents the cited work
    • INACCURATE — The claim mischaracterizes the cited work
    • INVERTED — The claim says the opposite of what the paper found
    • OVERCLAIMED — The claim is stronger than what the paper supports
    • UNDERCLAIMED — The cited work supports a stronger claim than stated
    • UNVERIFIABLE — Cannot access the paper to verify

For INACCURATE and INVERTED findings, provide:

  • What the manuscript claims
  • What the cited paper actually says
  • The specific section/page of the cited paper that contradicts the claim
  • A suggested correction

Phase 4: Check for missing citations

Scan the manuscript for:

  1. Claims that cite no source but should (empirical claims without attribution)
  2. Tools, benchmarks, or datasets mentioned by name without citation
  3. Methods described as "standard" or "well-known" that have a canonical citation

Output Format

Per-citation report

### [bib_key] — [VERDICT]

**Bib entry:** [title] by [authors] ([year])
**Actual paper:** [actual title] by [actual authors] ([actual year])
**Metadata match:** title [✓/✗] | authors [✓/✗] | year [✓/✗] | venue [✓/✗]

**Claim in manuscript (line N):** "[exact text]"
**What the paper actually says:** "[summary of actual finding]"
**Claim accuracy:** [ACCURATE / INACCURATE / INVERTED / OVERCLAIMED / UNDERCLAIMED]

**Fix required:** [description of what needs to change, or "None"]

Summary table

| Bib Key | Exists | Metadata | Claim | Verdict |
|---------|--------|----------|-------|---------|
| key1    | ✓      | ✓        | ✓     | PASS    |
| key2    | ✓      | ✗        | ✗     | FAIL    |
| key3    | ✗      | —        | —     | GHOST   |

Verdict categories

  • PASS — Paper exists, metadata correct, claims accurate
  • METADATA — Paper exists, bib entry has errors (wrong ID, wrong authors, wrong year)
  • CLAIM — Paper exists, metadata correct, but manuscript mischaracterizes it
  • GHOST — Paper does not exist as described
  • DEAD — URL/link is broken
  • UNVERIFIABLE — Cannot access the paper to verify

Severity

  • CRITICAL: GHOST papers, INVERTED claims
  • HIGH: Wrong arXiv IDs, wrong authors, INACCURATE claims
  • MEDIUM: Wrong year, wrong venue, OVERCLAIMED
  • LOW: Missing citations, incomplete bib entries, UNDERCLAIMED

Important notes

  • NEVER trust your own knowledge of papers. ALWAYS fetch and verify. Your training data contains hallucinated citations. The only way to verify is to read the actual source.
  • For arXiv papers, always fetch the abstract page to confirm the paper exists and matches.
  • For conference papers, search DBLP, ACM DL, or the conference site.
  • WebFetch and WebSearch are your primary tools. Do not skip verification because a citation "looks right."
  • Blog posts and documentation URLs change. Always check that the URL still works and points to the described content.
  • When a bib entry has both an eprint (arXiv ID) and a booktitle (venue), verify both independently.

Phase 5: Fix (when invoked with "fix" or "on")

When the user invokes with an argument containing "fix" or "on", execute Phases 1–4 as above, then apply fixes for every non-PASS citation.

What to auto-fix (no user confirmation needed)

These are mechanical corrections with a single correct answer:

METADATA errors (paper exists, bib entry wrong):

  • Wrong arXiv ID → replace eprint with the correct ID
  • Wrong authors → replace with authors from the actual paper
  • Wrong year → replace with year from the actual paper
  • Wrong title → replace with title from the actual paper
  • Wrong venue → replace with venue from the actual paper
  • Wrong entry type → change @misc/@inproceedings as appropriate

DEAD links:

  • URL redirects → update howpublished URL to the final destination
  • URL 404 but resource found at different URL → update URL
  • URL 404 and resource gone → flag as HUMAN-REQUIRED

Minor author corrections:

  • Misspelled author names → fix spelling
  • Missing authors from author list → add them
  • Collective author name where individual names are available → replace (keep collective name as a note if it is how the group identifies)

What requires HUMAN-REQUIRED decision

Present these and wait for the user:

GHOST papers:

  • Paper does not exist at all → present options: (a) Replace with a real paper that makes the same point (b) Remove the citation and adjust the prose (c) The user knows the paper exists and provides the correct reference

INVERTED or INACCURATE claims:

  • The manuscript says X about a paper that actually says Y → present:
    • What the manuscript claims
    • What the paper actually says
    • A suggested rewrite of the prose that accurately represents the paper
    • Whether the paper still supports the manuscript's argument (and how)
    • Let the user decide the final wording

Dead URLs with no replacement found:

  • Blog post / resource deleted with no archive or alternative

Fix procedure

  1. Apply all auto-fixes to the .bib file
  2. For each HUMAN-REQUIRED item, present the options clearly
  3. After user decisions, apply prose changes to the .tex file
  4. Verify: re-read the .bib and .tex to confirm all fixes applied
  5. Update the audit report: mark each finding as [FIXED], [RESOLVED], or [DEFERRED]

Safety rules

  • NEVER invent a replacement citation. If a ghost paper needs replacing, search for real papers that make the cited point. Present candidates to the user with abstracts. Let the user choose.
  • NEVER change the manuscript's argument. If an inverted claim needs fixing, present the rewrite as a suggestion, not an edit.
  • NEVER remove a citation without user confirmation, even if it is a ghost paper. The user may know something you do not.
  • When fixing URLs, always verify the new URL loads and contains the expected content before writing it.

Save report as

[name]-citation-audit.md in the manuscript directory.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Citation Audit?

Verifica que todas las citas de un manuscrito sean reales, estén atribuidas correctamente y se describan con precisión. Detecta artículos inexistentes, identificadores de arXiv incorrectos, afirmaciones invertidas y enlaces rotos consultando cada obra citada. El modo de corrección, opcional, aplica correcciones a los metadatos bibliográficos y propone cambios de redacción para corregir errores en las afirmaciones. Se activa con: «comprobar mis citas», «verificar referencias», «auditar citas», «mis referencias son reales», «comprobar bibliografía», «revisar referencias», «auditoría bibliográ...

¿Por qué usar Citation Audit en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Citation Audit está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Citation Audit en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Mathews-Tom/armory/tree/main/skills/citation-audit. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Citation Audit?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Citation Audit?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Citation Audit con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Citation Audit?

Sí. Mathews-Tom la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇