pubmed

pubmed is a skill for Claude Code, Codex from iblai/medical-healthcare-agents. It costs 37 tokens per session (753 once invoked), scanned A, original, MIT.

A connection to PubMed, the National Library of Medicine’s searchable index of biomedical research papers and citations.

In plain words
What is it for?
Searching for studies, retrieving abstracts and citation details, finding trials or reviews, supporting medical-necessity appeals, and checking drug or device research.
Why use it?
It makes clinical literature easier to find, read in structured form, and use in evidence reviews without manually collecting each record.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Searching for studies, retrieving abstracts and citation details, finding trials or reviews, supporting medical-necessity appeals, and checking drug or device research.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iblai/medical-healthcare-agents/pubmed
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iblai/medical-healthcare-agents --skill pubmed
Clone the repo
git clone --depth 1 https://github.com/iblai/medical-healthcare-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pubmed

README.md
[![agentmods](https://agentmods.dev/badge/skills/iblai/medical-healthcare-agents/pubmed/github.svg)](https://agentmods.dev/skills/iblai/medical-healthcare-agents/pubmed)
Your own site
<a href="https://agentmods.dev/skills/iblai/medical-healthcare-agents/pubmed"><img src="https://agentmods.dev/badge/skills/iblai/medical-healthcare-agents/pubmed/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pubmed

Your own site · 80×15
<a href="https://agentmods.dev/skills/iblai/medical-healthcare-agents/pubmed"><img src="https://agentmods.dev/badge/skills/iblai/medical-healthcare-agents/pubmed.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 753 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00753
Opus 5 $0.00018 $0.00377
Sonnet 5 $0.00007 $0.00151
Haiku 4.5 $0.00004 $0.00075

Measured 12d ago against content hash e22fd6e0dfad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pubmed scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pubmed/SKILL.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PubMed / NCBI E-utilities

What it is

PubMed is the NLM/NCBI index of over 37 million biomedical citations including MEDLINE, life science journals, and online books. The NCBI E-utilities REST API provides programmatic access to search (ESearch), fetch (EFetch), and summarize (ESummary) records. Agents use it to retrieve primary literature evidence for clinical questions, PA appeal support, research synthesis, and evidence-based guideline summaries. An institutional API key raises rate limits significantly above the unauthenticated tier.

When to use this skill

  • Search for clinical evidence supporting or refuting a treatment approach or drug use
  • Retrieve abstracts and citation metadata for a set of PMIDs to feed into a systematic review workflow
  • Find RCTs or meta-analyses relevant to a specific diagnosis, intervention, or outcome
  • Support a prior authorization appeal by surfacing peer-reviewed literature on medical necessity
  • Look up pharmacological or safety studies for a drug or device under evaluation

Credentials

This skill wraps a public API. Copy ~/.openclaw/.env.example to ~/.openclaw/.env and optionally set the following variable for increased rate limits:

  • PUBMED_BASE_URL - E-utilities base URL (https://eutils.ncbi.nlm.nih.gov/entrez/eutils)
  • PUBMED_API_KEY - NCBI API key registered at ncbi.nlm.nih.gov/account; raises rate limit to 10 requests/sec (vs. 3/sec unauthenticated) — optional but recommended for production

Key operations

  • GET /esearch.fcgi?db=pubmed&term={query}&retmax={n} — search PubMed and return list of PMIDs
  • GET /efetch.fcgi?db=pubmed&id={pmids}&rettype=abstract&retmode=xml — fetch full abstracts in XML for a list of PMIDs
  • GET /esummary.fcgi?db=pubmed&id={pmids}&retmode=json — lightweight citation metadata (title, authors, journal, year, DOI)
  • GET /esearch.fcgi?db=pubmed&term={query}&datetype=pdat&mindate={YYYY}&maxdate={YYYY} — date-range-limited search
  • GET /esearch.fcgi?db=pubmed&term={query}+AND+meta-analysis[pt] — filter to publication type (meta-analysis, RCT, review)
  • GET /elink.fcgi?dbfrom=pubmed&id={pmid}&cmd=prlinks — retrieve publisher full-text link for open-access articles

Read the full file on GitHub · 38 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 38 lines · 37 tokens per session scan A e22fd6e0dfad

Subscribe to this mod's changes

pubmed is a skill published in the GitHub repository iblai/medical-healthcare-agents (10 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 753 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.