بنقرة واحدة
citation-grabber
Search for scientific papers and fetch citations in BibTeX or NBIB format from PubMed and CrossRef
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Search for scientific papers and fetch citations in BibTeX or NBIB format from PubMed and CrossRef
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | citation-grabber |
| description | Search for scientific papers and fetch citations in BibTeX or NBIB format from PubMed and CrossRef |
| version | 1.1.0 |
| usage | citation-grabber <title_or_doi_or_pmid_or_file> [--format bibtex|nbib] [--output <file>] [--quiet] |
| metadata | {"openclaw":{"emoji":"📚","os":["darwin","linux","win32"],"requires":{"bins":["python3"],"python":">=3.8"},"install":[{"id":"pip-deps","kind":"pip","packages":["requests>=2.25.0"],"label":"Install Python dependencies"}]}} |
Instantly fetch scientific paper citations from the command line.
The skill automatically ensures dependencies are installed. Manual installation:
pip3 install requests>=2.25.0
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"
BibTeX (Default):
python3 citation.py "Deep Learning" --format bibtex
NBIB (PubMed Format for EndNote/Zotero):
python3 citation.py "COVID-19 vaccine" --format nbib
Create a file papers.txt with paper titles/DOIs/PMIDs (one per line):
Attention Is All You Need
10.1038/nature14539
Deep Residual Learning for Image Recognition
Process all at once:
python3 citation.py papers.txt --output references.bib
python3 citation.py "Paper Title" --output my_citations.bib
Suppress progress messages (useful for scripting):
python3 citation.py "Paper Title" --quiet
| Option | Short | Description | Default |
|---|---|---|---|
--format | Output format: bibtex or nbib | bibtex | |
--output | -o | Save to file instead of stdout | stdout |
--quiet | -q | Suppress progress messages | false |
--version | Show version and exit | - | |
--help | -h | Show help message | - |
Get BibTeX for a Classic Paper:
python3 citation.py "The structure of DNA"
Get NBIB for a Medical Paper:
python3 citation.py "COVID-19 vaccine effectiveness" --format nbib
Process a List of Papers:
# Create papers.txt
echo "Attention Is All You Need" > papers.txt
echo "BERT: Pre-training of Deep Bidirectional Transformers" >> papers.txt
echo "Deep Residual Learning for Image Recognition" >> papers.txt
# Fetch all citations
python3 citation.py papers.txt --output all_refs.bib
Silent Mode for Scripts:
python3 citation.py "10.1038/nature14539" --quiet > paper.bib 2>/dev/null
--format nbib to get PubMed-native format--format bibtexNo citation found:
Timeout errors:
Wrong paper returned:
requests library (auto-installed by skill)