citation-bib-crossref

Audits LaTeX papers for mismatches between \cite keys and .bib entries.

6|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/yakeworld/Synthos --skill citation-bib-crossref-yakeworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: citation-bib-crossref
Source: https://github.com/yakeworld/Synthos/tree/main/skills/private/extended/research-tools/synthos-akne-bridge/citation-bib-crossref
Command: npx skills add https://github.com/yakeworld/Synthos --skill citation-bib-crossref-yakeworld

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Citation integrity issues in LaTeX paper libraries—orphan \cite keys with no matching .bib entry, zombie .bib entries never cited, and missing bibliography files—cause compilation failures and weaken literature support, and are hard to detect manually across many papers. ## Core Features & Use Cases - Bidirectional Cross-Reference Audit: Extracts \cite keys from .tex files and entry keys from .bib files, then computes D8 (bib entry count) and D10a (cite-to-bib match percentage) per paper. - Severity-Graded Reporting: Classifies problems as severe (D8=0, missing .bib), moderate (D10a<100%), mild (D8<30), or mixed (orphans and zombies both >5), listing every orphan and zombie label. - Use Case: Before batch-compiling a 65-paper library, run the scan script over the paper root directory to get a per-paper D8/D10a table and a graded problem list, then feed the metrics into a quality gate before compilation. ## Quick Start Run the d8-d10a-scan.py script on my papers directory and report which papers have orphan citations, zombie bib entries, or missing .bib files.

Frequently Asked Questions about citation-bib-crossref

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check for unmatched citations between .tex and .bib files?

Run the d8-d10a-scan.py script with the paper root directory as argument. It extracts all \cite keys from .tex files and entry keys from .bib files, then reports orphans (cited but missing from bib) and zombies (in bib but never cited) per paper.

What are orphan citations and zombie bib entries in LaTeX?

Orphan citations are \cite keys with no matching .bib entry, which cause compilation warnings or failures. Zombie entries are .bib records never referenced by any \cite, indicating unused or stale bibliography content.

How is citation match percentage calculated for a LaTeX paper?

The D10a metric equals the count of \cite keys found in the .bib entry set divided by total \cite keys, times 100. A paper with 62 cite keys and no .bib file scores 0.0%, while full bidirectional matching scores 100%.

Which .tex and .bib files does the scanner use per paper?

It prefers 01-manuscript/paper.tex for citations and 06-references/references.bib for entries, falling back to any paper.tex or .tex with citations and any .bib found by walking the directory tree.

When should I run a citation integrity audit on a paper library?

Run it before batch compilation, after bulk citation changes, during periodic library maintenance, and before quality-gate reviews. The D8 and D10a metrics are designed to feed a data-honesty quality gate that blocks compilation when checks fail.