citation-management

Harvest missing LaTeX citations and augment BibTeX entries with Semantic Scholar data.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill citation-management-embers-of-the-fire
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: citation-management
Source: https://github.com/Embers-of-the-Fire/agent-research-skills-opencode/tree/main/.opencode/skills/citation-management
Command: npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill citation-management-embers-of-the-fire

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

BibTeX citation management for LaTeX papers: harvests missing citations from drafts, validates keys against .bib files, deduplicates entries, and formats bibliographies to ensure clean, error-free references.

Core Features & Use Cases

  • Harvest missing citations from LaTeX sources using Semantic Scholar data to populate a bib file.
  • Validate that all \cite keys exist in the BibTeX collection, report unused entries, and detect duplicates.
  • Format and export a clean BibTeX bibliography ready for compilation, with optional auto-generation of placeholder entries for missing keys.

Quick Start

Run a harvest cycle on your LaTeX draft to automatically generate candidate BibTeX entries for missing citations.

Frequently Asked Questions about citation-management

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

FAQPage Schema
How do I harvest missing BibTeX citations from a LaTeX draft?

To harvest missing BibTeX citations, scan your LaTeX .tex draft files and cross-reference \cite keys against your .bib file, optionally fetching missing bibliographic data from the Semantic Scholar API to populate new entries.

Why does my BibTeX compilation fail with undefined citation references?

BibTeX compilation fails when \cite keys in your LaTeX draft do not exist in the .bib file, an issue resolved by validating keys, detecting duplicates, and auto-generating placeholder entries for missing references.

Can I automatically retrieve DOIs and bibliographic data for missing LaTeX citations?

Yes, you can retrieve DOIs and structured bibliographic data for missing LaTeX citations by accessing the Semantic Scholar API, ensuring deterministic BibTeX entries and reproducible compilation outputs.

What is the best way to validate BibTeX keys against a LaTeX file?

The best way to validate BibTeX keys is to systematically scan the LaTeX draft, confirm every \cite key exists in the .bib collection, report unused entries, and flag duplicate records.

Do I need a Semantic Scholar API key to manage LaTeX references?

A Semantic Scholar API key is optional for LaTeX reference management; the Skill can harvest and format BibTeX entries locally, using the API primarily to retrieve external bibliographic data and DOIs.

How do I deduplicate and format a BibTeX bibliography for compilation?

Deduplicate and format a BibTeX bibliography by scanning .bib entries for redundancies, validating keys against the LaTeX draft, and exporting a clean, structured file ready for reproducible compilation.