Skip to content
Skillpedia
Web scraping48k · #3921

pubmed-database

Helps your agent directly access the PubMed database. It allows advanced searches and processing of scientific article information. Useful for researching biomedical data.

What it does

This tool lets you search for scientific articles in the PubMed database, which contains information on health and life sciences. You can perform advanced searches using specific terms, article types, and dates.

When to use it

  • ✓Looking for articles on a specific health topic.
  • ✓Conducting academic research or a literature review.
  • ✓Getting detailed information about scientific research.

Example of what to ask your AI

“Find articles about diabetes treatments published in the last 2 years.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pubmed-database/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pubmed-database/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

You can type in search terms, like disease or treatment names, and the tool will search the PubMed database. It allows you to refine your search with filters like article type or publication date.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill pubmed-database

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/pubmed-database/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Supporting material availability

This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:

  • <support-root>/references/api_reference.md
  • <support-root>/references/search_syntax.md
  • <support-root>/references/common_queries.md

Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.

PubMed Database

Overview

PubMed is the U.S. National Library of Medicine's comprehensive database providing free access to MEDLINE and life sciences literature. Construct advanced queries with Boolean operators, MeSH terms, and field tags, access data programmatically via E-utilities API for systematic reviews and literature analysis.

When to Use This Skill

This skill should be used when:

  • Searching for biomedical or life sciences research articles
  • Constructing complex search queries with Boolean operators, field tags, or MeSH terms
  • Conducting systematic literature reviews or meta-analyses
  • Accessing PubMed data programmatically via the E-utilities API
  • Finding articles by specific criteria (author, journal, publication date, article type)
  • Retrieving citation information, abstracts, or full-text articles
  • Working with PMIDs (PubMed IDs) or DOIs
  • Creating automated workflows for literature monitoring or data extraction

Core Capabilities

1. Advanced Search Query Construction

Construct sophisticated PubMed queries using Boolean operators, field tags, and specialized syntax.

Basic Search Strategies:

  • Combine concepts with Boolean operators (AND, OR, NOT)
  • Use field tags to limit searches to specific record parts
  • Employ phrase searching with double quotes for exact matches
  • Apply wildcards for term variations
  • Use proximity searching for terms within specified distances

Example Queries:

# Recent systematic reviews on diabetes treatment
diabetes mellitus[mh] AND treatment[tiab] AND systematic review[pt] AND 2023:2024[dp]

# Clinical trials comparing two drugs
(metformin[nm] OR insulin[nm]) AND diabetes mellitus, type 2[mh] AND randomized controlled trial[pt]

# Author-specific research
smith ja[au] AND cancer[tiab] AND 2023[dp] AND english[la]

When to consult search_syntax.md:

  • Need comprehensive list of available field tags
  • Require detailed explanation of search operators
  • Constructing complex proximity searches
  • Understanding automatic term mapping behavior
  • Need specific syntax for date ranges, wildcards, or special characters

Grep pattern for field tags: \[au\]|\[ti\]|\[ab\]|\[mh\]|\[pt\]|\[dp\]

2. MeSH Terms and Controlled Vocabulary

Use Medical Subject Headings (MeSH) for precise, consistent searching across the biomedical literature.

MeSH Searching:

  • [mh] tag searches MeSH terms with automatic inclusion of narrower terms
  • [majr] tag limits to articles where the topic is the main focus
  • Combine MeSH terms with subheadings for specificity (e.g., diabetes mellitus/therapy[mh])

Common MeSH Subheadings:

  • /diagnosis - Diagnostic methods
  • /drug therapy - Pharmaceutical treatment
  • /epidemiology - Disease patterns and prevalence
  • /etiology - Disease causes
  • /prevention & control - Preventive measures
  • /therapy - Treatment approaches

Example:

# Diabetes therapy with specific focus
diabetes mellitus, type 2[mh]/drug therapy AND cardiovascular diseases[mh]/prevention & control

3. Article Type and Publication Filtering

Filter results by publication type, date, text availability, and other attributes.

Publication Types (use [pt] field tag):

  • Clinical Trial
  • Meta-Analysis
  • Randomized Controlled Trial
  • Review
  • Systematic Review
  • Case Reports
  • Guideline

Date Filtering:

  • Single year: 2024[dp]
  • Date range: 2020:2024[dp]
  • Specific date: 2024/03/15[dp]

Text Availability:

…

FAQ

What is PubMed?

PubMed is a free database with millions of scientific articles on health and life sciences, maintained by the US government.

What are MeSH terms?

MeSH are standardized terms used to organize and describe scientific articles, making searches more precise.

Can I download the articles?

You can find links to free full-text articles or get abstracts. Full-text access depends on the article and publication.

Details

Original description by the author

Direct REST API access to PubMed. Advanced Boolean/MeSH queries, E-utilities API, batch processing, citation management. For Python workflows, prefer biopython (Bio.Entrez). Use this for direct HTTP/REST work or custom API implementations.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#3921
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills