skills/pubmed-database/SKILL.md
Make sure to use this skill whenever the user asks about biomedical or life sciences literature, medical research, clinical trials, systematic reviews, meta-analyses, drug studies, or any topic that might be in PubMed or MEDLINE — even if they don't mention PubMed explicitly. Also invoke for questions about specific PMIDs, DOIs, journal articles, abstracts, or citation lookups. Trigger phrases include: pubmed, medline, ncbi, biomedical research, medical literature, clinical trial, systematic review, meta-analysis, randomized controlled trial, RCT, MeSH terms, PMID, biomedical journal, life sciences paper, find article by author, find study on, search medical literature, evidence-based medicine, drug efficacy study, cancer research papers, diabetes research, cardiovascular study, neurology research, infectious disease literature, genomics paper, CRISPR study, COVID-19 research, vaccine efficacy study, find papers on, what does the literature say about, research on treatment of, studies on, cite this paper, look up this PMID, what papers exist on, what is the evidence for, find me studies about, medical journal search, biomedical database, abstract for paper, find citation, citation lookup, journal article search.
npx skillsauth add mikkelkrogsholm/skills pubmed-databaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search and retrieve biomedical literature from the NCBI PubMed database via the E-utilities REST API. Access 35+ million citations from MEDLINE, life sciences journals, and online books. No authentication required.
Invoke this skill when the user wants to:
bun run skills/pubmed-database/cli/src/cli.ts search --query "<query>" [flags]
Key flags:
--query <q> — required; full PubMed query syntax supported (Boolean, MeSH, field tags, date ranges, wildcards)--max <n> — number of results (default 20)--start <n> — offset for pagination (default 0)--sort <order> — relevance (default), pub_date, first_author--limit <n> — client-side cap--format json|table|plainReturns { meta: { total, returnedCount, retstart }, results: [{ pmid, title, authors, source, pubDate, doi }] }.
bun run skills/pubmed-database/cli/src/cli.ts fetch --ids <pmids> [--format text|medline]
--ids — comma-separated PMIDs (required)--format text (default) — abstract text; medline — MEDLINE tagged formatReturns plain text (not JSON).
bun run skills/pubmed-database/cli/src/cli.ts detail <pmid> [--format json|plain]
Returns complete bibliographic record including volume, issue, pages, DOI, PMC ID, publication types, citation count.
bun run skills/pubmed-database/cli/src/cli.ts cite-match \
[--journal <j>] [--year <y>] [--volume <v>] [--page <p>] [--author <a>]
Returns { results: [{ citation, pmid, found }], rawResponse }.
Natural workflow: search → fetch or detail.
search to find relevant PMIDs for a topic.fetch --ids <pmid> to read the full abstract.detail <pmid> for complete bibliographic metadata (journal, volume, DOI, PMC ID, citation count).Use PubMed query syntax in --query for precise results:
diabetes mellitus, type 2[mh]AND systematic review[pt]AND 2020:2024[dp]AND insulin resistance[tiab]AND free full text[sb]Pagination: Use --start to page through results. --max is the page size (how many PMIDs ESearch retrieves).
Unknown PMID for a paper? Use cite-match with whatever citation details you have — journal, year, volume, page.
bun run skills/pubmed-database/cli/src/cli.ts search \
--query "GLP-1[tiab] AND obesity[mh] AND randomized controlled trial[pt] AND 2022:2024[dp]" \
--max 5 --sort pub_date --format table
bun run skills/pubmed-database/cli/src/cli.ts fetch --ids 38123456
bun run skills/pubmed-database/cli/src/cli.ts detail 20536893 --format plain
bun run skills/pubmed-database/cli/src/cli.ts cite-match \
--journal "N Engl J Med" --year 2021 --volume 385 --page 1487
bun run skills/pubmed-database/cli/src/cli.ts search \
--query "(long covid[tiab] OR post-acute covid[tiab]) AND systematic review[pt]" \
--max 5 --format table
bun run skills/pubmed-database/cli/src/cli.ts search \
--query "Fauci AS[au] AND 2020:2024[dp]" --max 5
| Format | Best for |
|--------|----------|
| json | Default — data processing, reading fields programmatically |
| table | Quick human-readable overviews |
| plain | Single-record views (detail) |
Extended documentation is in references/:
references/api_reference.md — full E-utilities API docsreferences/search_syntax.md — PubMed query syntax, field tags, Boolean operatorsreferences/common_queries.md — example queries for diseases, study types, populationsAll errors are written to stderr as { "error": "...", "code": "..." } with exit code 1.
development
Make sure to use this skill whenever the user asks about food waste deals, madspild tilbud, discounted groceries near expiry, yellow-label products, cheap food items, last-chance food, or reduced-price items at Danish supermarkets — even if they just mention wanting cheap groceries or food waste near a ZIP code or city without naming Salling or a specific store. Also use this skill when the user asks about food waste at Netto, føtex, Bilka, Salling, BR, or any Salling Group store. Trigger phrases include: madspild, food waste, food waste tilbud, madspild netto, madspild bilka, madspild føtex, cheap food, discounted groceries, near-expiry food, reduced price groceries, yellow label, salling food waste, salling group tilbud, find food waste near me, food waste deals Copenhagen, madspild i nærheden, tilbud på dagligvarer, cheap grocery deals, netto tilbud, føtex tilbud, bilka tilbud, where can I find cheap food, what food waste is available near ZIP, food waste near zip code.
testing
Make sure to use this skill whenever the user asks about public transport in Denmark, train schedules, bus times, metro departures, journey planning between Danish cities, or travel routes using Danish public transport — even if they just ask how to get from one place to another in Denmark without naming Rejseplanen specifically. Also use this skill when the user asks about departures or arrivals at a Danish station, next train/bus/metro from a stop, or wants to look up a Danish transit stop or station. Trigger phrases include: rejseplanen, offentlig transport, tog, bus, metro, s-tog, letbane, rejse, afgange, ankomster, køreplan, how to get from, next train, next bus, departures from, arrivals at, rejsetid, togplan, bustider, DSB, Movia, Midttrafik, Nordjyllands Trafikselskab, FynBus, Sydtrafik, offentlig transport Danmark, public transport Denmark, Danish train, Danish bus, hvornår kører, hvordan kommer jeg til, find station, find stop, disruptions, driftsforstyrrelser, forsinkelser, delays, nearby stops, nærmeste stationer, cykel, bike access, wheelchair, kørestol, stoppesteder i nærheden.
tools
Make sure to use this skill whenever the user asks about medical preprints, clinical research papers, epidemiology studies, public health research, or any biomedical literature that may be available as a preprint — even if they don't mention medRxiv explicitly. Also invoke this skill when the user wants to find the latest research on a medical topic before journal publication, look up a specific paper by DOI, or browse available research categories. Trigger phrases include: medrxiv, medical preprint, clinical preprint, preprint server, clinical research, epidemiology study, public health paper, infectious disease research, oncology preprint, cardiology study, neurology research, COVID research, vaccine efficacy study, clinical trial results, biomedical literature, latest medical research, unpublished medical study, preprint doi lookup, find medical paper, search medrxiv, medical research database, health research paper, preprint search, medrxiv search, find clinical study, research on disease, find papers about treatment, what's the latest research on, new studies about, recent publications on, preprint about.
development
Make sure to use this skill whenever the user mentions anything related to Danish job searching, job listings, job vacancies, employment opportunities in Denmark, or the Danish government job portal — even if they don't mention jobnet.dk explicitly. Also invoke this skill for questions about specific job titles, occupations, employers, or regions in a Danish employment context. This skill covers the official Danish public job portal operated by STAR (Styrelsen for Arbejdsmarked og Rekruttering). Trigger phrases include: danish jobs, danish job search, jobnet, jobnet.dk, find job denmark, danish employment, job i danmark, job på jobnet, offentlige job, stillinger i det offentlige, public sector jobs denmark, government jobs denmark, STAR jobs, job ledige stillinger, ledig stilling, søg job, job opslag, job vacancy denmark, stillingopslag, jobopslag, sygepleje job, ingeniør job, lærer job, pædagog job, it-job denmark, jobs in copenhagen, jobs in aarhus, jobs in odense, deltidsjob, fuldtidsjob, fastansættelse, tidsbegrænset ansættelse, fleksjob, sygeplejerske job, social worker job denmark, occupation search denmark, esco occupation, job deadline, ansøgningsfrist, søg efter job, full time job denmark, part time job denmark.