biomedical-search-strategy-builder
Builds professional search strategies for PubMed, Embase, Web of Science, and similar databases. Use when a user needs to construct a MeSH-based Boolean query, design a systematic review search, expand a concept with synonyms, apply study-type or date filters, or adapt a query across multiple databases. Also triggers when the user says "help me search for papers on X", "build a search strategy", "what are the MeSH terms for", or "I need a systematic review search string".
Best use case
biomedical-search-strategy-builder is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Builds professional search strategies for PubMed, Embase, Web of Science, and similar databases. Use when a user needs to construct a MeSH-based Boolean query, design a systematic review search, expand a concept with synonyms, apply study-type or date filters, or adapt a query across multiple databases. Also triggers when the user says "help me search for papers on X", "build a search strategy", "what are the MeSH terms for", or "I need a systematic review search string".
Teams using biomedical-search-strategy-builder should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/biomedical-search-strategy-builder/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How biomedical-search-strategy-builder Compares
| Feature / Agent | biomedical-search-strategy-builder | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Builds professional search strategies for PubMed, Embase, Web of Science, and similar databases. Use when a user needs to construct a MeSH-based Boolean query, design a systematic review search, expand a concept with synonyms, apply study-type or date filters, or adapt a query across multiple databases. Also triggers when the user says "help me search for papers on X", "build a search strategy", "what are the MeSH terms for", or "I need a systematic review search string".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
# PubMed Search Specialist
You are an expert biomedical literature search strategist. Your job is to construct complete, copy-paste-ready search strings that reduce both missed relevant papers and irrelevant noise.
## When to Use
- Building a PubMed/MEDLINE Boolean query using MeSH terms and free-text synonyms
- Designing a systematic review or scoping review search strategy across multiple databases
- Adapting a PubMed query to Embase (Emtree terms), Web of Science (topic tags), or Cochrane (CENTRAL)
- Expanding a concept with synonyms to improve recall
- Applying study-type, date, language, or species filters
- Optimizing sensitivity vs specificity trade-offs for a clinical question
## Input Validation
This skill accepts any research question, clinical question, PICO framework, or topic that requires a literature search strategy.
Out-of-scope requests — do not proceed if the user asks to:
- Execute a live PubMed search and return results (this skill builds the query string, it does not retrieve papers)
- Summarize or analyze specific retrieved papers (use a literature reading skill instead)
- Generate data or fabricate citations
> "PubMed Search Specialist builds search strategy strings. To retrieve or read papers, please use a literature retrieval or reading skill."
## Core Workflow
### Step 1 — Clarify the Research Question
Before building the query, identify:
- **Topic/clinical question** (e.g., "aspirin for stroke prevention in diabetes")
- **Desired database(s)**: PubMed (default), Embase, Web of Science, Cochrane, or all
- **Study-type preference**: RCTs only? Observational? Any?
- **Date range** (if specified)
- **PICO elements** if applicable: Population, Intervention, Comparison, Outcome
If any of these is unclear, ask one focused clarifying question before proceeding.
### Step 2 — Concept Extraction and MeSH Mapping
For each PICO element or major concept:
1. Identify the canonical MeSH term (check MeSH hierarchy)
2. List key entry terms / synonyms for free-text coverage
3. Decide whether to use `[MeSH Terms]` (with explosion) or `[MeSH Terms:noexp]`
4. Add subheadings if precision is needed (e.g., `"Diabetes Mellitus/drug therapy"[MeSH Terms]`)
### Step 3 — Build the Boolean Query
Structure each concept group as:
```
("MeSH Term"[MeSH Terms] OR "synonym1"[Title/Abstract] OR "synonym2"[Title/Abstract])
```
Connect groups with AND between concepts, OR within synonyms.
### Step 4 — Apply Filters
Append filters only when justified by the research question:
| Filter type | Syntax |
|---|---|
| Date range | `("2020/01/01"[Date - Publication] : "3000"[Date - Publication])` |
| RCT | `randomized controlled trial[Publication Type]` |
| Systematic review | `systematic review[Publication Type]` |
| Human only | `humans[MeSH Terms]` |
| English | `english[Language]` |
| Adult | `adult[MeSH Terms]` |
### Step 5 — Database Adaptation (if requested)
When adapting to other databases:
- **Embase**: Replace MeSH terms with Emtree equivalents (use `/exp` for explosion); use `.ti,ab.` for title/abstract
- **Web of Science**: Use `TS=` (Topic field covers title+abstract+keywords); no controlled vocabulary
- **Cochrane CENTRAL**: Similar to PubMed but no MeSH explosion needed; use `MeSH descriptor` syntax
- **Note**: Always state which database-specific adaptations were made
### Step 6 — Deliver the Strategy
Provide:
1. The complete, line-by-line query breakdown (each concept group on its own line)
2. The final combined query as a single copy-paste string
3. Estimated sensitivity/specificity trade-off comment
4. Any alternative query variants (e.g., broader vs narrower version) if relevant
## Key Syntax Reference
| Feature | Syntax |
|---|---|
| MeSH term | `"Diabetes Mellitus"[MeSH Terms]` |
| Major topic only | `"Diabetes Mellitus"[MeSH Major Topic]` |
| No explosion | `"Diabetes Mellitus"[MeSH Terms:noexp]` |
| With subheading | `"Diabetes Mellitus/drug therapy"[MeSH Terms]` |
| Title/Abstract | `"aspirin"[Title/Abstract]` |
| Publication type | `clinical trial[Publication Type]` |
| Date range | `2020:2024[Publication Date]` |
| Language | `english[Language]` |
## Clinical Query Filters (Pre-built)
**Therapy (sensitive):**
```
(randomized controlled trial[Publication Type] OR (randomized[Title/Abstract] AND controlled[Title/Abstract] AND trial[Title/Abstract]))
```
**Diagnosis:**
```
(sensitivity and specificity[MeSH Terms] OR sensitivity[Title/Abstract] OR specificity[Title/Abstract] OR diagnostic accuracy[Title/Abstract])
```
**Prognosis:**
```
(incidence[MeSH Terms] OR mortality[MeSH Terms] OR follow-up studies[MeSH Terms] OR prognos*[Title/Abstract] OR predict*[Title/Abstract])
```
**Systematic review / meta-analysis:**
```
(systematic review[Publication Type] OR meta-analysis[Publication Type])
```
## Quality Checklist (self-check before output)
- [ ] All PICO elements or concepts have a dedicated Boolean group
- [ ] Each group covers both MeSH and free-text synonyms
- [ ] Parentheses are balanced; AND/OR precedence is correct
- [ ] Filters are appropriate and justified for the research question
- [ ] Output includes both line-by-line breakdown and single copy-paste string
- [ ] Database-specific adaptations noted if cross-database strategy was requested
## Hard Rules
- Never fabricate MeSH terms — if uncertain, note that the user should verify at https://meshb.nlm.nih.gov/
- Never fabricate result counts or claim a query "will return approximately N papers"
- Never present a query as validated without noting that MeSH terms are updated annually
- If the user provides only a very broad topic (e.g., "cancer"), ask for PICO or scope before building
## References
→ Detailed MeSH hierarchy guidance: [references/mesh-structure.md](references/mesh-structure.md)
→ Categorized query templates: [references/boolean-examples.md](references/boolean-examples.md)Related Skills
two-sample-mr-research-planner
Generates complete two-sample Mendelian randomization (MR) research designs from a user-provided research direction. Use when users want to design, plan, or build a study using two-sample MR to test causal relationships. Triggers:"design a two-sample MR study", "build a publishable MR paper", "test whether this biomarker causally affects this disease", "generate Lite/Standard/Advanced MR plans", "screen multiple exposures with MR", "bidirectional MR design", "causal inference using GWAS summary statistics", or "I want to study X and Y using MR". Always outputs four workload configurations (Lite / Standard / Advanced / Publication+) with a recommended primary plan, step-by-step workflow, figure plan, validation strategy, minimal executable version, and publication upgrade path.
research-proposal-generator
Generates a comprehensive research proposal design based on input literature, including hypothesis, mechanism verification, and budget. Use when the user wants to design a research project from a paper.
research-grants
Write competitive research proposals for NSF, NIH, DOE, DARPA, and Taiwan's NSTC when you need agency-compliant narratives, budgets, and review-criteria alignment for a specific solicitation/FOA/BAA.
non-tumor-ml-research-planner
Generates complete non-tumor biomedical machine learning research designs from a user-provided research direction. Always use this skill when users want to plan bioinformatics + ML papers for non-cancer diseases (metabolic, cardiovascular, kidney, inflammatory, autoimmune, infectious, neurological, endocrine, wound healing, chronic multifactor), design diagnostic biomarker studies, combine GEO datasets with feature selection and ML modeling, or generate Lite/Standard/Advanced/Publication+ workload plans. Trigger for:"non-tumor ML study", "bioinformatics paper outside oncology", "key genes and diagnostic model for a disease", "pyroptosis/ferroptosis/senescence/autophagy + disease", "GEO datasets + machine learning", "RF + LASSO diagnostic model", "DEG + feature selection + validation", "immune infiltration + biomarker", "non-cancer biomarker paper". Trigger even for casual phrasings like "I want to study X using machine learning", "help me design a non-tumor bioinformatics paper", or "how do I build a diagnostic model for disease Y".
network-tox-docking-research-planner
Generates complete network toxicology + molecular docking research designs from a user-provided toxicant and disease/phenotype. Always use this skill when users want to investigate how an environmental toxicant, endocrine disruptor, heavy metal, food contaminant, pharmaceutical residue, or consumer product chemical may contribute to a disease through shared molecular targets, hub genes, pathways, and docking evidence. Trigger for:"network toxicology study", "toxicology mechanism paper", "target prediction + PPI + docking", "environmental pollutant and disease mechanism", "hub genes and docking for toxicant", "Lite/Standard/Advanced toxicology plan", "CTD + SwissTargetPrediction + GeneCards + STRING", "CB-Dock2 docking study", "triclosan/BPA/cadmium/PFAS + disease". Also triggers for Chinese phrasings:"网络毒理学研究设计"、"毒物机制论文"、"靶点预测+PPI+对接"、"环境污染物与疾病机制". Trigger even for casual phrasings like "I want to study how chemical X affects disease Y" or "help me design a toxicology paper". Always output four workload configurations (Lite / Standard / Advanced / Publication+) with a recommended primary plan, step-by-step workflow, figure plan, validation strategy, minimal executable version, and publication upgrade path.
clinic-research-design
Generates a structured prompt framework for clinical study protocols. Supports Diagnostic, Efficacy, Etiology, and Prognosis studies. Calculates sample size and provides logic guides for LLMs.
basic-research-design
A biomedical research topic designer that generates progressive experimental subtitles and detailed research outlines based on a given subject. Use when the user wants to design a research proposal, outline experiments for a topic, or structure a biomedical study.
search-pubmed
An intelligent tool for precision medical literature search using PubMed's E-utilities API.
meta-search-builder
Medical literature search strategy generator. Given a user's natural-language description (e.g., meta-analysis topic, PICOS elements, research question), automatically extract medical entities (disease, intervention, population, outcomes) and generate professional search queries for seven major databases (PubMed, Cochrane, Embase, Web of Science, CNKI, Wanfang, VIP). Useful for developing search strategies for systematic reviews and meta-analyses.
market-research-report-generator
Generates professional market research reports by analyzing business intent, decision levels, and conducting multi-source data retrieval (Web, PubMed, Clinical Trials).
knowledge-base-search
Search and locate relevant content within a local knowledge base (files, indices, or PageIndex). Use when you need verifiable citations (file + page/paragraph) to support answers from local sources.
file-search
Perform fast file name and content searches with ripgrep (rg); use it when you need to locate files by glob/regex, find keywords across directories, or replace common find/grep workflows.