agentleFS
yf8578yf8578/claude-skills-collection/citation-grabber/SKILL.md

citation-grabber

Skill1 starsChanged 8 months agoMITView on GitHub

Search for scientific papers and fetch citations in BibTeX or NBIB format from PubMed and CrossRef

  • Installs packages

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create a file papers.txt with paper titles/DOIs/PMIDs (one per line), then:

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Citation Grabber

Instantly fetch scientific paper citations from the command line.

Features

  • 🔍 Search by title, DOI, or PubMed ID
  • 📚 Supports BibTeX and NBIB output formats
  • 🔄 Dual source: PubMed + CrossRef
  • 📦 Batch processing from text files
  • ✨ Smart fallback between data sources

Installation

Via Skills Collection

# From the skills collection repository
./scripts/install.sh citation-grabber

Standalone

# Clone the standalone repository
git clone https://github.com/yf8578/citation-grabber.git
cd citation-grabber
pip install -r requirements.txt

Usage

Single Paper

By Title:

python3 citation.py "Attention Is All You Need"

By DOI:

python3 citation.py "10.1038/nature14539"

By PubMed ID:

python3 citation.py "12345678"

Output Formats

BibTeX (Default):

python3 citation.py "Deep Learning" --format bibtex

NBIB (PubMed Format for EndNote/Zotero):

python3 citation.py "COVID-19 vaccine" --format nbib

Batch Processing

Create a file papers.txt with paper titles/DOIs/PMIDs (one per line), then:

python3 citation.py papers.txt --output references.bib

Quiet Mode

Suppress progress messages:

python3 citation.py "Paper Title" --quiet

Requirements

  • Python 3.8+
  • requests library (auto-installed)
  • Internet connection

Links

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.