Skip to content

Manage LaTeX paper citations by harvesting, validating, deduplicating, and formatting BibTeX entries.

CCM score
45 of 100
skills.sh installs
2.2K
GitHub stars
483
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers four actions: harvest, validate, add, and format, applied to a .tex or .bib file
  • Includes scripts for validating cite keys, harvesting missing citations from Semantic Scholar, and auto-fixing placeholders
  • Enforces a rule against adding citations that already exist and against fabricating entries not found via API
  • Designed for authors preparing papers in LaTeX who need references checked before compilation

Install

$ npx -y skills add lingzhi227/agent-research-skills --skill citation-management -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Citation Management

Manage the full lifecycle of citations in a LaTeX paper.

Input

  • $0 — Action: harvest, validate, add, format
  • $1 — Path to .tex or .bib file

Scripts

Validate citations (check all cite keys resolve)

python ~/.claude/skills/citation-management/scripts/validate_citations.py \
  --tex paper/main.tex --bib paper/references.bib --check-figures --figures-dir paper/figures/

Reports: missing citations, unused bib entries, duplicate keys, duplicate sections, duplicate labels, undefined references, missing figures.

Generate BibTeX from paper database

python ~/.claude/skills/deep-research/scripts/bibtex_manager.py \
  --jsonl paper_db.jsonl --output references.bib

Search for a specific paper to add

python ~/.claude/skills/deep-research/scripts/search_semantic_scholar.py \
  --query "attention is all you need" --max-results 5 \
  --api-key "$(grep S2_API_Key /Users/lingzhi/Code/keys.md 2>/dev/null | cut -d: -f2 | tr -d ' ')"

Details

Repository
github.com/lingzhi227/agent-research-skills
Categories
Research & Academic, Technical Documentation, Writing & Content
First seen
Jun 3, 2026

More from lingzhi227/agent-research-skills

All 31

Similar to Citation Management

More Research & Academic