pubmed-database
Skill by tensology
PubMed Database is a skill for biomedical literature searches using PubMed and NCBI E-utilities. It helps build MeSH and field-tag queries, retrieve PMIDs and abstracts, and log search paths. It is aimed at researchers running systematic reviews or API-based literature monitoring.
Install pubmed-database
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tensology/decisionsai /tmp/decisionsai && mkdir -p ~/.claude/skills && cp -r /tmp/decisionsai/plugins/ecc/docs/ja-JP/skills/scientific-db-pubmed-database ~/.claude/skills/pubmed-databaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tensology/decisionsai /tmp/decisionsai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/decisionsai/plugins/ecc/docs/ja-JP/skills/scientific-db-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
PubMed Database is a skill that directs the assistant to search PubMed for biomedical literature instead of using general web search. It covers building queries with Boolean operators, MeSH terms, subheadings and field tags, along with publication type, date and availability filters. It also describes the four NCBI E-utilities endpoints (esearch, esummary, efetch and elink) for finding PMIDs, metadata, abstracts and related articles.
The skill includes a Python example that calls esearch, reading an email address and optional API key from environment variables. It recommends the NCBI history server for batch work and asks users to log each search string, database, date, filters and result count. It is aimed at researchers and teams running systematic review search paths or monitoring literature through the API.
Written from the project's SKILL.md and checked against it.
What it can do
- Query buildingCombines concepts with Boolean operators, MeSH terms, synonyms and PubMed field tags.
- Subheading syntaxPlaces MeSH subheadings before field tags, for example drug therapy[mh].
- FiltersApplies publication type, date range and free full text or abstract filters.
- E-utilities workflowUses esearch, esummary, efetch and elink to get PMIDs, metadata, abstracts and related articles.
- Batch retrievalUses history server parameters usehistory, WebEnv and query_key for long PMID lists.
- Search loggingRecords the search string, database, date, filters, result count and export format.
- Review checklistChecks field tags, date ranges, API key loading, error handling and rate limits.
What you need
- NCBI E-utilities access
- Python with the requests library for the example
- Optional NCBI API key stored in an environment variable
- An email address for NCBI requests
Try asking
- Build a PubMed query for type 2 diabetes RCTs published 2024 to 2026
- Search PubMed for hypertension RCTs and return the PMIDs
- Log my PubMed search string, filters and result count for a review
Good to know
- Rate limits must be respected; the example waits 0.35 seconds after each request.
- API keys should be read from environment variables and never committed or stored in command history.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/ecc/docs/ja-JP/skills/scientific-db-pubmed-database/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
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
Does this skill search PubMed directly?
Yes. It describes direct search workflows using NCBI E-utilities and says not to use general web search for biomedical literature.
Is an API key needed?
The source recommends an email address and API key for production scripts. It says the key should be stored in an environment variable.
Which PubMed fields can I search?
The source lists tags for title, abstract, title or abstract, author, journal abbreviation, MeSH term, major MeSH topic, publication type, publication date and language.
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 59 of 100. Grades: maintenance A, licence A, quality C. 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.
