pubmed-database
Skill by sickn33
Searches PubMed directly through its REST API and E-utilities, with Boolean and MeSH query construction. It is for researchers doing systematic reviews, citation matching, and custom HTTP or API work.
Install pubmed-database
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/pubmed-database ~/.claude/skills/pubmed-databaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/pubmed-database ~/.gemini/antigravity-cli/skills/pubmed-databaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The PubMed Database skill gives an AI assistant direct access to PubMed, the U.S. National Library of Medicine's database of MEDLINE and life sciences literature. It helps build queries with Boolean operators, field tags, and MeSH terms, and it covers filtering by publication type, date, and free full text. It also explains how to call the NCBI E-utilities REST API for searches, record retrieval, and batch work.
The skill includes Python examples that use requests to run ESearch and EFetch, along with rate limit guidance and citation matching by journal, year, volume, page, and author. The source says Python workflows should prefer biopython (Bio.Entrez), and that this skill is meant for direct HTTP/REST work or custom API implementations. It is aimed at researchers running systematic reviews, literature monitoring, and custom data extraction.
Written from the project's SKILL.md and checked against it.
What it can do
- Advanced search query constructionBuilds PubMed queries with Boolean operators, field tags, phrase searching, and proximity searching.
- MeSH terms and controlled vocabularySearches MeSH terms with [mh] and [majr] tags, including subheadings such as drug therapy.
- Article type and publication filteringFilters results by publication type, publication date, and free full text or abstract availability.
- Programmatic access via E-utilities APIDescribes ESearch, EFetch, ESummary, EPost, and ELink endpoints for automated searches and downloads.
- Citation matching and article retrievalFinds articles by PMID, DOI, PMC ID, or partial citation details using ECitMatch.
- Systematic literature reviewsStructures searches with the PICO framework and multi-synonym strategies for reviews and meta-analyses.
- Search history and saved searchesCombines earlier searches with # references and describes My NCBI alerts and RSS feeds.
- Related articles and citation discoveryExplains PubMed similar articles and ELink neighbor lookups for related records.
- Export and citation managementCovers export as .nbib, CSV, XML, and citation styles such as AMA, APA, and MLA.
What you need
- NCBI contact email, read from the NCBI_CONTACT_EMAIL environment variable
- Optional NCBI API key, read from the NCBI_API_KEY environment variable
- Python with the requests library for the inline examples
Try asking
- Build a PubMed query for recent free full-text RCTs on hypertension.
- Write a Python script that runs an ESearch and fetches abstracts for a PMID list.
- Turn my PICO question on type 2 diabetes into a systematic review search.
Good to know
- Supporting reference files (api_reference.md, search_syntax.md, common_queries.md) are not bundled and must be supplied separately.
- Without an API key, requests are limited to 3 per second. With a key, the limit is 10 per second.
- The example ESearch and EFetch code returns at most 100 IDs per call, not the full result set.
- The source lists the license as Unknown.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/pubmed-database/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md18 KB
Alternatives to pubmed-database
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
pubmed-database: common questions
Is this skill a replacement for biopython?
No. The source says Python workflows should prefer biopython (Bio.Entrez), and this skill is for direct HTTP/REST work or custom API implementations.
What rate limits apply to PubMed API calls?
The source gives 3 requests per second without an API key and 10 requests per second with an API key. It also says to always include a User-Agent header.
Can it export results to a reference manager?
The source says results can be exported as .nbib files for Zotero, Mendeley, and EndNote, and as CSV or XML.
How do I install pubmed-database?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pubmed-database free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pubmed-database safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pubmed-database?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
