validate-bib

Cross-validate manuscript citations against BibTeX entries and report mismatches.

5|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/mgaldino/agents-workflow --skill validate-bib-mgaldino
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-bib
Source: https://github.com/mgaldino/agents-workflow/tree/main/skills-docs/validate-bib
Command: npx skills add https://github.com/mgaldino/agents-workflow --skill validate-bib-mgaldino

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps researchers ensure that every citation referenced in your manuscript has a matching BibTeX entry, preventing missing or orphaned references across your project.

Core Features & Use Cases

  • Identify the main document (RMarkdown, Quarto, or LaTeX) and any BibTeX files referenced in it.
  • Extract citations from text using common patterns for RMarkdown/Quarto and LaTeX.
  • Cross-check citations against all defined BibTeX entries, reporting orphaned citations, missing entries, and potential typos.
  • Generate a concise report suitable for project reviews or integration into CI pipelines.

Quick Start

Run the validator on your project to produce a report of citation mismatches.

Frequently Asked Questions about validate-bib

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

FAQPage Schema
How do I cross-validate citations between my manuscript and BibTeX files?

To cross-validate citations, run the validator on your main manuscript to extract in-text citations and check them against your BibTeX entries. It generates a report identifying orphaned citations, missing records, and potential typos.

Does this citation validator work with Quarto and RMarkdown files?

Yes, the citation validator works with Quarto and RMarkdown files, as well as LaTeX documents. It automatically identifies the main document and extracts citations using the appropriate patterns for each format.

How do I check for unused or orphaned BibTeX references in my project?

You can check for orphaned BibTeX references by running this validator, which cross-references your manuscript text with your .bib files to report unused entries and citations missing a corresponding BibTeX record.

Can I validate citations across multiple .bib files at the same time?

Yes, you can validate citations across multiple .bib files. The validator detects all BibTeX files referenced in your main document and cross-checks your in-text citations against all defined entries.

What is the best way to ensure bibliography consistency before publishing?

The best way to ensure bibliography consistency is to cross-validate your manuscript citations against your BibTeX entries, verifying required fields and reporting mismatches to prevent missing or orphaned references.