rootcause-mcp: Skill for Claude Code

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

pubmed-systematic-search is a skill for Claude Code from u9401066/rootcause-mcp. It costs 48 tokens per session (1,297 once invoked), scanned A, a copy of pubmed-systematic-search, Apache-2.0.

A workflow for finding research papers in PubMed, a database of biomedical and health research. It expands a topic into standard medical terms, synonyms, and Boolean searches, then searches and collects the results.

In plain words
What is it for?
It helps build and inspect PubMed search queries, search across sources, remove duplicates, fetch article details, prepare exports, and save the search process.
Why use it?
It reduces the chance of missing relevant papers when a search must be thorough, such as for a systematic review, which is a structured review of existing research.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is u9401066/rootcause-mcp's own configuration. It tells Claude Code how to work on rootcause-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 rootcause-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/rootcause-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/rootcause-mcp/master/.claude/skills/pubmed-systematic-search/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/rootcause-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-systematic-search

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/pubmed-systematic-search"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/pubmed-systematic-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,297 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.00048 $0.01297
Opus 5 $0.00024 $0.00648
Sonnet 5 $0.00010 $0.00259
Haiku 4.5 $0.00005 $0.00130

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

Security

Grade A, and why

pubmed-systematic-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 9d 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-systematic-search — 2 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-systematic-search/SKILL.md · 184 lines

How it starts

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

系統性文獻搜尋

描述

這個 workflow 用在「要找得完整」而不是「先快速看一下」的情境。核心做法是先用 generate_search_queries 取得 MeSH、同義詞與建議查詢,再由 Agent 或使用者組裝成明確的 Boolean 查詢,最後用 unified_search 執行。

觸發條件

  • 「系統性搜尋」
  • 「完整搜尋」
  • 「文獻回顧」
  • 「comprehensive search」
  • 「systematic review」
  • 提到 MeSH、同義詞擴展、搜尋策略

正確工作流程

generate_search_queries
→ 整理 MeSH / 同義詞 / suggested_queries
→ 手動或由 Agent 組 Boolean 查詢
→ analyze_search_query
→ unified_search
→ fetch_article_details / prepare_export / save_pipeline

目前沒有公開的獨立合併工具工作流。每一次 unified_search 本身就會做多來源整合與去重;如果你跑多輪策略,做法應該是比較各輪結果、調整查詢,或把流程保存成 pipeline,而不是依賴舊版 merge 思路。


Step 1: 取得搜尋素材

generate_search_queries(
    topic="remimazolam ICU sedation",
    strategy="comprehensive"
)

strategy 選項

  • comprehensive: 預設,適合完整搜尋
  • focused: 收斂到較高證據等級
  • exploratory: 放寬,找更多變體與同義詞

你真正要用的欄位

  • mesh_terms: 標準詞彙與對應同義詞
  • all_synonyms: 可直接組 OR 群組
  • suggested_queries: 當作參考,不是最後答案
  • pubmed_translation: 檢查 PubMed 實際如何理解查詢

Step 2: 組裝 Boolean 查詢

範例:從素材組出可執行查詢

query = '''
("Intensive Care Units"[Title/Abstract] OR ICU[Title/Abstract] OR "critical care"[Title/Abstract])
AND
(remimazolam[Title/Abstract] OR "CNS 7056"[Title/Abstract] OR "ONO 2745"[Title/Abstract])
AND
(sedation[Title/Abstract] OR "procedural sedation"[Title/Abstract])
'''

兩個原則

  1. 主概念之間通常用 AND
  2. 同義詞與別名通常用 OR

Step 3: 執行前先分析

analyze_search_query(query=query)

這一步用來確認:

  • 查詢是否太寬或太窄
  • PubMed translation 是否符合預期
  • 有沒有拼字或概念錯置

Step 4: 執行搜尋

unified_search(
    query=query,
    sources="pubmed,europe_pmc,openalex",
    limit=50,
    ranking="quality",
    filters="year:2020-2025, species:humans, clinical:therapy",
    output_format="json"
)

常用調整方式

  • 想更完整:加入 options="preprints"
  • 想更快:加入 options="shallow"
  • 不要自動放寬:加入 options="no_relax"
  • 重視新近性:ranking="recency"
  • 重視證據品質:ranking="quality"

完整範例

情境:完整搜尋 remimazolam ICU sedation

# Step 1: 取得 MeSH 與同義詞素材
materials = generate_search_queries(
    topic="remimazolam ICU sedation",
    strategy="comprehensive"
)

# Step 2: 組裝查詢
query = '''
("intensive care"[Title/Abstract] OR ICU[Title/Abstract] OR "critical care"[Title/Abstract])
AND
(remimazolam[Title/Abstract] OR "CNS 7056"[Title/Abstract] OR "ONO 2745"[Title/Abstract])
AND
(sedation[Title/Abstract] OR "procedural sedation"[Title/Abstract])
'''

# Step 3: 先分析
analyze_search_query(query=query)

# Step 4: 再執行
unified_search(
    query=query,
    limit=50,
    ranking="quality",
    filters="year:2020-2025, species:humans, clinical:therapy",
    output_format="json"
)

Read the full file on GitHub · 184 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. 9d ago First seen · 184 lines · 48 tokens per session scan A 7cdd71a5794a

Subscribe to this mod's changes

pubmed-systematic-search is a skill published in the GitHub repository u9401066/rootcause-mcp (0 stars, last pushed 6d ago), licensed Apache-2.0. It adds 48 tokens to every session and 1,297 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pubmed-systematic-search, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

exporting-to-fhir

Convert OpenMed NER output (entities from openmed.analyzetext) into FHIR R4 resources — Condition, MedicationStatement, Observation — using OpenMed's built-in FHIR R4 export helpers in openmed.clinical.exporters. Covers the verified CodeableConcept builder (coding, codeableconcept, systemuri), deterministic fullUrl…

maziyarpanahi/openmed · 163 tokens

annotating-variants

Annotates VCF variants and normalizes HGVS nomenclature with public, license-free annotators (Ensembl VEP REST, VEP/SnpEff/ANNOVAR offline) and links variants to gnomAD population frequencies and the clinical context OpenMed extracts. Use when the user wants to predict variant consequences, map HGVS to genomic…

maziyarpanahi/openmed · 179 tokens

assembling-fhir-bundles

Package multiple FHIR R4 resources produced from OpenMed output into a single valid transaction Bundle ready to POST to an EHR, using OpenMed's verified bundle assembler openmed.clinical.exporters.fhir.tobundle. Covers deterministic urn:uuid fullUrls, automatic in-Bundle reference rewriting, request blocks…

maziyarpanahi/openmed · 131 tokens

auditing-part11-trails

Generates and verifies 21 CFR Part 11-style audit trails — who/what/when, electronic signatures, and tamper-evidence — for OpenMed pipelines in GxP and clinical-trial (GCP) settings. Use when the user runs OpenMed in a regulated/validated environment and needs an attributable, time-stamped, tamper-evident record of…

maziyarpanahi/openmed · 222 tokens

batch-processing-clinical-text

Run large-scale batch NER, PII extraction, or de-identification over many clinical notes on-device with OpenMed, with sharding, checkpointing, resumability, and append-only JSONL output. Use when the user needs to process a corpus or folder of notes, de-identify a dataset, run NER over thousands of documents, build a…

maziyarpanahi/openmed · 161 tokens

building-patient-timelines

Assemble a chronological patient timeline from OpenMed-extracted clinical events, normalizing dates and resolving relative time expressions on-device. Use when the user wants to build a patient timeline, order events from clinical notes, reconstruct a longitudinal history, plot a course of illness, or turn…

maziyarpanahi/openmed · 154 tokens