bib-filter

Filter .bib files down to entries cited in .tex projects, handling cross-references and nocite*.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps manage large bibliographies by filtering out entries not cited in a LaTeX project, ensuring your bibliography is concise and accurate.

Core Features & Use Cases

  • Filtering Unused Entries: Remove entries from a .bib file that are not cited in a .tex project.
  • Use Case: Before submitting a paper, use this Skill to remove unused references from your bibliography to reduce file size and improve readability.

Quick Start

Run the bib-filter skill with the path to your LaTeX project directory.

Frequently Asked Questions about bib-filter

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

FAQPage Schema
How do I remove unused bibliography entries from a .bib file in a LaTeX project?

Filtering unused bibliography entries involves parsing your LaTeX project files to identify all citation keys and then removing matching entries from your .bib file. This ensures your final bibliography is concise and accurate before paper submission.

Does bib-filter work with LaTeX projects that use multiple .bib files?

Yes, bib-filter explicitly supports LaTeX projects with multiple .bib files. It scans all .tex files to find citation keys and processes each .bib file to remove uncited entries across the entire project.

How does bibliography filtering handle the \nocite{*} command in LaTeX?

Bibliography filtering correctly handles the \nocite{*} command by recognizing it as a directive to include all entries. This prevents the filter from incorrectly removing references from your .bib file when this specific command is present in your .tex project.

What is the best way to clean up a large bibliography before submitting an academic paper?

The best way to clean up a large bibliography before submission is to filter out unused entries based on your .tex project citations. This reduces file size and improves readability by ensuring only cited references remain in your final document.

Are cross-references preserved when filtering unused .bib entries?

Yes, cross-references are preserved during .bib entry filtering. The Skill handles edge cases like cross-references correctly to maintain the structural integrity of your bibliography while removing genuinely unused citation entries.