pharmacy-mcp: Skill for Claude Code

.claude/skills/pubmed-pico-search/SKILL.md

pubmed-pico-search is a skill for Claude Code from u9401066/pharmacy-mcp. It costs 51 tokens per session (909 once invoked), scanned A, a copy of pubmed-pico-search, Apache-2.0.

A clinical-literature search helper that turns a treatment-comparison question into four parts: patient group, treatment, comparison, and outcome. This structure is called PICO and is commonly used to search medical research more precisely.

In plain words
What is it for?
Use it to search questions such as whether one treatment works better than another for a particular patient group and outcome, using a structured PICO search.
Why use it?
It removes the need to manually break a clinical question into search concepts and build the initial search plan. It helps avoid inventing missing clinical details by asking for clarification when key parts are unclear.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is u9401066/pharmacy-mcp's own configuration. It tells Claude Code how to work on pharmacy-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pharmacy-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/pharmacy-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/pharmacy-mcp/main/.claude/skills/pubmed-pico-search/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/pharmacy-mcp

Made for: Claude Code.

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-pico-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/u9401066/pharmacy-mcp/pubmed-pico-search/github.svg)](https://agentmods.dev/skills/u9401066/pharmacy-mcp/pubmed-pico-search)
Your own site
<a href="https://agentmods.dev/skills/u9401066/pharmacy-mcp/pubmed-pico-search"><img src="https://agentmods.dev/badge/skills/u9401066/pharmacy-mcp/pubmed-pico-search/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-pico-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/pharmacy-mcp/pubmed-pico-search"><img src="https://agentmods.dev/badge/skills/u9401066/pharmacy-mcp/pubmed-pico-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 909 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 100% copy Near-identical to another mod 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.00051 $0.00909
Opus 5.5 $0.00020 $0.00364
Sonnet 5.5 $0.00010 $0.00182
Haiku 4.5 $0.00005 $0.00091

Measured 3mo ago against content hash d462f988031f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pubmed-pico-search 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 3mo 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.

Origin

This is a copy

100% identical to pubmed-pico-search — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/pubmed-pico-search/SKILL.md · 114 lines

How it starts

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

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

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

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.

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

Read the full file on GitHub · 114 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. 3mo ago First seen · 114 lines · 51 tokens per session scan A d462f988031f

Subscribe to this mod's changes

pubmed-pico-search is a skill published in the GitHub repository u9401066/pharmacy-mcp (4 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 909 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to pubmed-pico-search, differing in 16 lines, and is treated as a copy.

Related

pubmed-pico-search compared with skills from other repositories

pubmed-pico-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pubmed-pico-searchu9401066/pharmacy-mcpSkill44mo agoApache-2.0A51Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38kyesterdayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k5d agoApache-2.0A205Claude Code