validate-bib

Validate LaTeX bibliography entries against in-text citations and metadata.

127|22|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/flonat/claude-code-flonat --skill validate-bib-flonat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-bib
Source: https://github.com/flonat/claude-code-flonat/tree/main/skills/validate-bib
Command: npx skills add https://github.com/flonat/claude-code-flonat --skill validate-bib-flonat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill meticulously checks your LaTeX bibliography (.bib files or embedded \bibitem entries) against your citations in .tex files, catching missing entries, typos, unused references, and metadata errors to prevent compilation issues and ensure academic integrity.

Core Features & Use Cases

  • Cross-reference Checking: Identifies citation keys used in your text but not defined in your bibliography, and vice-versa.
  • Typo Detection: Uses fuzzy matching to suggest corrections for common citation key misspellings.
  • Metadata Validation: Checks for required fields in .bib entries, year reasonableness, and author formatting.
  • Preprint Staleness: Detects if a cited preprint has since been published and flags it for an update.
  • Use Case: Before submitting a paper, run this Skill to guarantee that every \cite{} command points to a valid, complete, and correctly formatted bibliography entry, avoiding last-minute compilation errors.

Quick Start

Run validate-bib on the current project to check all citations and bibliography entries.

Frequently Asked Questions about validate-bib

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

FAQPage Schema
How do I check my LaTeX bibliography for missing citation keys?

To validate your LaTeX bibliography for missing citations, cross-reference your .bib file or embedded \bibitem entries against in-text \cite commands to identify any references used in text but absent from the bibliography.

How does fuzzy matching detect mistyped citation keys in a .bib file?

Fuzzy matching detects mistyped citation keys by comparing the text inside your \cite commands against defined .bib entry labels, suggesting corrections for common misspellings to prevent unresolved reference compilation errors.

Can I validate embedded \bibitem entries without an external .bib file?

Yes, you can validate embedded \bibitem entries without an external .bib file. The validation process scans both standalone .bib files and inline \bibitem lists within your .tex documents to check metadata and citation consistency.

How do I check if a cited preprint has been published and needs updating?

To check if a cited preprint has been published and needs updating, run a preprint staleness check on your .bib file. This flags outdated preprints and suggests updating them to their published versions for academic integrity.

What is the best way to verify year correctness and author formatting in BibTeX entries?

The best way to verify year correctness and author formatting in BibTeX entries is to perform deep metadata validation on your .bib file, which checks for required fields, year reasonableness, and proper author name formatting.

Why does my LaTeX document fail to compile due to unused references?

Your LaTeX document might fail to compile or clutter the output due to unused references, which are entries defined in your .bib file but never cited in the text. Cross-reference checking identifies these unused entries for removal.