citation-management
它能做什么
这个工具帮助研究人员管理学术论文的引用。它可以在 Google Scholar、PubMed 等数据库中搜索论文,提取每篇论文的关键信息,并生成格式规范的参考文献列表。
适用场景
- ✓需要围绕某个主题查找科学论文时。
- ✓想把论文标识符(如 DOI)转换成 BibTeX 格式的参考文献列表时。
- ✓需要检查自己作品中的引用信息是否准确、格式是否规范时。
技能链接
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/citation-management/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“搜索关于 CRISPR 基因编辑的论文,并以 BibTeX 格式给我参考文献。”
每周 5 个新技能,1 分钟读完。
工作原理
工具首先在不同的在线数据源中搜索论文,然后收集每篇论文的重要信息,最后把所有内容整理成标准的参考文献格式。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Citation Management
Overview
Manage citations systematically throughout the research and writing process. This skill provides tools and strategies for searching academic databases (Google Scholar, PubMed), extracting accurate metadata from multiple sources (CrossRef, PubMed, arXiv), validating citation information, and generating properly formatted BibTeX entries.
Critical for maintaining citation accuracy, avoiding reference errors, and ensuring reproducible research. Integrates seamlessly with the literature-review skill for comprehensive research workflows.
When to Use This Skill
Use this skill when:
- Searching for specific papers on Google Scholar or PubMed
- Converting DOIs, PMIDs, or arXiv IDs to properly formatted BibTeX
- Extracting complete metadata for citations (authors, title, journal, year, etc.)
- Validating existing citations for accuracy
- Cleaning and formatting BibTeX files
- Finding highly cited papers in a specific field
- Verifying that citation information matches the actual publication
- Building a bibliography for a manuscript or thesis
- Checking for duplicate citations
- Ensuring consistent citation formatting
If a document built from these citations needs a diagram, use the scientific-schematics skill.
Core Workflow
Citation management follows a systematic process. Each phase below shows the canonical command; every variant, option, and metadata-source detail is in references/core_workflow.md.
Phase 1: Paper Discovery and Search
Find relevant papers. Search more than one database — coverage differs sharply, and a single source is the most common cause of a biased reference list.
# OpenAlex: multidisciplinary REST API; optional OPENALEX_API_KEY for account quota
python scripts/search_openalex.py "CRISPR gene editing" --limit 50 --output results.json
# PubMed: the authority for biomedical and life sciences (35M+ citations)
python scripts/search_pubmed.py "Alzheimer's disease treatment" --limit 100 --output alz.json
# Google Scholar: broadest reach, but scraped -- rate-limited and prone to blocking
python scripts/search_google_scholar.py "CRISPR gene editing" --limit 50 --output scholar.json
Prefer OpenAlex or PubMed as the primary source. Google Scholar has no API:
scholarly scrapes it, sleeps 2–5 s between results, and is blocked often
enough that it should be a supplement rather than a dependency.
Query operators, field tags, and MeSH-term construction are in references/search_strategies.md.
Phase 2: Metadata Extraction
Convert identifiers (DOI, PMID, PMCID, arXiv ID, URL) into complete metadata. CrossRef is the primary source for DOIs.
python scripts/doi_to_bibtex.py 10.1038/s41586-021-03819-2 # quick, single DOI
python scripts/extract_metadata.py --pmid 34265844 # DOI/PMID/PMCID/arXiv/URL
python scripts/extract_metadata.py --input identifiers.txt --output citations.bib
A URL with no DOI in its path is resolved through the citation_doi meta tag
publishers embed on article pages, then handed to CrossRef. Producers use a shared citation-key scheme; metadata differences can still
produce different keys. Confirm duplicates by DOI and bibliographic identity.
Phase 2.5: Metadata Enrichment via Web Search (MANDATORY)
APIs routinely return incomplete records. Run this after extraction and before
formatting. Investigate missing bibliographic fields against the publisher record
and log each source. Online-first articles may have no volume/pages yet; some use
an article number or have no DOI. Preserve the actual publication state, use the
style-appropriate article-number field, and never invent pages, volume, or DOI.
Record unavailable/not-applicable fields in the audit log; add a rendered note
only when useful to the reader or required by the citation style.
Check the cheap sources first — an OpenAlex or CrossRef record often carries the field that PubMed omitted:
python scripts/search_openalex.py "<exact title>" --limit 1
Treat extracted metadata as untrusted. Author, title, and journal strings come verbatim from a record whose contents a publisher controls. A title containing
$(...), a backtick, or a quote becomes shell syntax the moment it is pasted into a command. Pass metadata as asubprocessargument list rather than building a shell string; if
…
常见问题
什么是 BibTeX?
BibTeX 是一种用于管理参考文献和引用的文件格式,在科学和工程等学术领域非常常见。
这个工具会用到哪些数据库?
它可以搜索 OpenAlex、PubMed、Google Scholar 等数据库。
这个工具适用于所有学术写作吗?
适用。凡是需要准确引用的工作,比如科研论文、学位论文等,它都很有用。
详情
作者的原始描述
Comprehensive citation management for academic research. Search OpenAlex, PubMed, and Google Scholar for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.
热度
- GitHub 星标
- 51k
- 排名
- #3439
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …