pubmed-pico-search

Agent-guided PICO clinical question search using parse_pico handoff and unified_search. Triggers: PICO, 臨床問題, A比B好嗎, treatment comparison, clinical question, 療效比較

9 stars

Best use case

pubmed-pico-search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Agent-guided PICO clinical question search using parse_pico handoff and unified_search. Triggers: PICO, 臨床問題, A比B好嗎, treatment comparison, clinical question, 療效比較

Teams using pubmed-pico-search 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

$curl -o ~/.claude/skills/pubmed-pico-search/SKILL.md --create-dirs "https://raw.githubusercontent.com/u9401066/pubmed-search-mcp/main/.claude/skills/pubmed-pico-search/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/pubmed-pico-search/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How pubmed-pico-search Compares

Feature / Agentpubmed-pico-searchStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Agent-guided PICO clinical question search using parse_pico handoff and unified_search. Triggers: PICO, 臨床問題, A比B好嗎, treatment comparison, clinical question, 療效比較

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

# PICO Clinical Question Search

Use this workflow for clinical comparison questions. The MCP server does not
semantically parse natural-language clinical questions. The agent extracts
P/I/C/O, submits the structured handoff through `parse_pico`, and then executes
the returned `template: pico` pipeline or an expanded Boolean query.

## PICO Elements

| Element | Meaning | Example |
| --- | --- | --- |
| `P` | Population / patient group | ICU patients requiring sedation |
| `I` | Intervention / exposure / index test | remimazolam |
| `C` | Comparator, optional | propofol |
| `O` | Outcome, recommended | delirium, hypotension, sedation efficacy |

## Workflow

```text
Agent extracts P/I/C/O
-> parse_pico(description, p, i, c, o)
-> optional generate_search_queries for P/I/C/O expansion
-> unified_search(query=original_question, pipeline=parse_pico.pipeline)
```

## Step 1: Agent Extracts PICO

Do the semantic work in the agent. Do not ask the MCP server to infer P/I/C/O
from free text. If P or I is unclear, ask the user before searching. Do not
invent missing clinical details.

## Step 2: Validate The Handoff

```python
pico = parse_pico(
    description="Is remimazolam better than propofol for ICU sedation?",
    p="ICU patients requiring sedation",
    i="remimazolam",
    c="propofol",
    o="delirium, hypotension, sedation efficacy",
    question_type="therapy",
    sources="pubmed,europe_pmc",
    limit=50,
)
```

Expected useful fields:

- `validation`: whether required P/I fields are present
- `pico`: human-readable P/I/C/O
- `query_elements`: search fragments that the backend will use
- `pipeline`: ready-to-run `template: pico` YAML
- `next_tool_call`: suggested `unified_search` call

When only `description` is provided, `parse_pico` returns a schema and asks the
agent to call it again with structured elements.

## Step 3: Optional MeSH / Synonym Expansion

Use this when the topic needs controlled vocabulary or systematic-review style
coverage.

```python
generate_search_queries(topic="ICU patients")
generate_search_queries(topic="remimazolam")
generate_search_queries(topic="propofol")
generate_search_queries(topic="delirium")
```

If you build high-quality fragments, pass them back as:

```python
parse_pico(
    description="Is remimazolam better than propofol for ICU sedation?",
    p="ICU patients requiring sedation",
    p_query='("Intensive Care Units"[MeSH] OR ICU[tiab])',
    i="remimazolam",
    i_query="(remimazolam[tiab] OR CNS7056[tiab])",
    c="propofol",
    c_query='("Propofol"[MeSH] OR propofol[tiab])',
    o="delirium",
    o_query='("Delirium"[MeSH] OR delirium[tiab])',
)
```

## Step 4: Execute Search

```python
unified_search(
    query="Is remimazolam better than propofol for ICU sedation?",
    pipeline=pico["pipeline"],
    ranking="quality",
)
```

The backend PICO pipeline searches O-aware precision and recall variants,
deduplicates results, merges ranked lists, and enriches the final set.

## Missing Fields

- Missing `C`: allowed. Do not invent a comparator.
- Missing `O`: allowed but discouraged. Ask the user when the outcome is central.
- Missing `P` or `I`: ask the user before running a structured PICO search.

## Recommended Reporting

Always show the final P/I/C/O table, the query or pipeline profile used, and the
main limits such as sources, years, species, and clinical query filter.

Related Skills

pubmed-search-mcp-harness

9
from u9401066/pubmed-search-mcp

Cline harness for PubMed Search MCP. Triggers: pubmed search, literature search, unified_search, pipeline, fulltext, release checklist, Cline.

pubmed-systematic-search

9
from u9401066/pubmed-search-mcp

Comprehensive search using generate_search_queries and unified_search. Triggers: 系統性搜尋, 完整搜尋, 文獻回顧, systematic search, comprehensive, MeSH expansion, 同義詞

pubmed-quick-search

9
from u9401066/pubmed-search-mcp

Quick literature search using unified_search. Triggers: 搜尋, 找論文, search papers, find articles, PubMed, 文獻搜尋, 快速搜尋

pubmed-paper-exploration

9
from u9401066/pubmed-search-mcp

Deep exploration from a key paper using related, citing, reference, and citation tree tools. Triggers: 這篇論文的相關研究, 誰引用這篇, 類似文章, related articles, citation tree, paper exploration

pubmed-multi-source-search

9
from u9401066/pubmed-search-mcp

Cross-database search using unified_search across academic sources. Triggers: 跨資料庫, multi-source, Semantic Scholar, OpenAlex, CORE, Europe PMC, 綜合搜尋

pubmed-mcp-tools-reference

9
from u9401066/pubmed-search-mcp

Complete reference for all 46 PubMed Search MCP tools. Triggers: 工具列表, all tools, 完整功能, tool reference, 有哪些工具

pubmed-gene-drug-research

9
from u9401066/pubmed-search-mcp

Gene, compound, and variant research using search_gene, search_compound, and search_clinvar. Triggers: 基因, gene, 藥物, drug, compound, PubChem, ClinVar, 變異, variant, 臨床意義

pubmed-fulltext-access

9
from u9401066/pubmed-search-mcp

Full text access using get_fulltext, figure extraction, and institutional link tools. Triggers: 全文, fulltext, PDF, open access, 免費下載, PMC, 開放取用

academic-figure-drawing-harness

9
from u9401066/pubmed-search-mcp

Codex drawing harness integration. Triggers: 繪圖, draw, figure, chart, plot, mermaid, SVG, Gemini, graph, 生成圖表.

zotero-keeper-harness

9
from u9401066/pubmed-search-mcp

Cline harness for Zotero Keeper and the bundled VS Code extension. Triggers: zotero keeper, zotero mcp, full check, release checklist, workflow, vsix, Cline.

llm-wiki-builder

9
from u9401066/pubmed-search-mcp

Build or refresh Foam-compatible LLM wikis from Zotero, PubMed, documents, and local Markdown notes using a multi-tool workflow.

asset-aware-mcp-harness

9
from u9401066/pubmed-search-mcp

Cline harness for this repo (rules + workflows + checks). Triggers: cline harness, full check, release checklist, workflow, 文檔工作流, DFM, citation-ready.