- Home
- Skills
- Technical Documentation
- BibTeX Cleaner
Works with the AI Agents you already use
BibTeX Cleaner
Clean a .bib file: duplicate keys, missing fields, malformed entries, and unused references.
Free
BibTeX Cleaner
Example session with this skill installed
Clean my bib file references.bib and check if any are unused in main.tex. Report all missing fields.
- Read your context and instructions
- Compiled the bibtex cleaner
I have analyzed references.bib and cross-referenced it with main.tex. A cleaned file references.clean.bib has been generated, and the audit results are summarized below.
BibTeX report — references.bib
Entries: 24 | Duplicates: 1 | Missing fields: 3 | Unused: 2
Audit Summary
| Issue Type | Details |
|---|---|
| Duplicate Keys | doe2021 appears on line 14 and line 102. |
| Missing Fields | wang2023 (article): missing journal, year. |
| Missing Fields | cite:miller2020 (inproceedings): missing booktitle. |
| Unused Entries | archived_tech_2015, survey_draft_v1. |
| Malformed Braces | brown2022: unclosed brace in title field. |
Cleaned Bibliography Preview
@article{doe2021,
author = {Doe, John},
title = {Advances in Neural Systems},
journal = {AI Journal},
year = {2021},
volume = {12},
pages = {45-60}
}
@article{wang2023,
author = {Wang, Li},
title = {Data Processing Scales},
% MISSING: journal, year
}
Next steps
- Review
references.clean.biband manually add the missingjournalandyearforwang2023. - Delete the unused entry
archived_tech_2015if it is no longer needed for the final submission. - Update your LaTeX preamble to point to the new
references.clean.bibfile.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing a bibliography for a large paper or thesis often leads to broken builds and inconsistent citations. This skill identifies malformed entries, resolves duplicate keys, and finds unused references that bloat your files. It ensures your BibTeX file is technically sound and ready for compilation without manual auditing.
What it does
- Duplicate resolution identifies identical keys across the file and preserves the entry with the most data.
- Field validation checks every entry against required BibTeX standards to flag missing journals, years, or publishers.
- Usage analysis cross-references your
.bibwith.texor.typfiles to isolate citations not actually used in the document. - Syntax repair detects and reports malformed braces or broken entry structures that prevent successful compilation.
How it works
- Source analysis where the skill reads your
.bibfile and any associated LaTeX or Typst source files. - Validation run using a cleaning script to generate a cleaned
.bibcopy and a detailed Markdown report. - Conflict resolution where duplicates are merged or renamed based on data richness.
- Final verification through a report review to address missing fields manually before the next build.
Frameworks & tools
This skill uses a Python-based cleaning utility and a standard BibTeX checklist to validate entry types such as @article, @book, and @inproceedings. It is compatible with LaTeX and Typst workflows.
Why this beats prompting it yourself
Generic LLM prompts often hallucinate missing DOI numbers or change citation keys, which breaks your in-text citations. This skill follows strict guardrails to never fabricate data and uses a systematic script-based approach to keep the file technically consistent.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Technical Documentation.
- Parsing is heuristic; unusual BibTeX syntax may need manual fixes.
- Does not verify that metadata is true, only that fields exist.
- Does not reformat citation style; that belongs to the bibliography style.
@stringand@preambleblocks are ignored, not validated.- Unused detection depends on the source files you provide.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 27 days ago
- Free with an Agensi account
- Software
Python
Permissions
File Scopes