med-paper-assistant: Skill for Claude Code

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

pubmed-systematic-search is a skill for Claude Code from u9401066/med-paper-assistant. It costs 48 tokens per session (1,297 once invoked), scanned A, original, Apache-2.0.

A workflow for finding research papers as completely as possible. It expands a topic with MeSH terms, which are PubMed's standard subject labels, plus synonyms, then builds and checks a Boolean search query.

In plain words
What is it for?
Use it for systematic reviews, literature reviews, or comprehensive searches across PubMed and other academic sources, followed by reviewing, saving, or exporting the results.
Why use it?
It reduces the chance of missing relevant papers because of different words or spellings. It also supports multi-round searches and saved search pipelines.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

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

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/med-paper-assistant/pubmed-systematic-search/github.svg)](https://agentmods.dev/skills/u9401066/med-paper-assistant/pubmed-systematic-search)
Your own site
<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/pubmed-systematic-search"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/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/med-paper-assistant/pubmed-systematic-search"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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 11d ago against content hash 3e3fd8c549e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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

Copies of this mod

3 near-identical copies found in the catalogue:

.claude/skills/pubmed-systematic-search/SKILL.md · 186 lines

How it starts

The opening of the file, as written. The whole thing — 186 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 · 186 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. 11d ago First seen · 186 lines · 48 tokens per session scan A 3e3fd8c549e6

Subscribe to this mod's changes

pubmed-systematic-search is a skill published in the GitHub repository u9401066/med-paper-assistant (12 stars, last pushed 10d 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

citation-manager

Format and manage citations — APA, MLA, Chicago, IEEE, and Vancouver styles with BibTeX export.

inbharatai/claude-skills · 25 tokens

manuscript-reframe

Reframe report-like academic drafts into paper-form scientific arguments while preserving or explicitly renegotiating author intent; requires an approved old-versus-proposed spine, evidence and argument baselines, analysis-role control, and post-edit drift review.

yha9806/academic-writing-toolkit · 53 tokens

peer-review

Review another author's manuscript, paper, thesis chapter, proposal, or preprint as an external reviewer. Use when asked to evaluate novelty, significance, gap-contribution fit, claim-evidence adequacy, methods, evaluation, overclaim risks, structure, writing, required revisions, or recommendation without rewriting…

yha9806/academic-writing-toolkit · 70 tokens

revision-escalation

A revision-control guide for writing, coding, manuscripts, rebuttals, and restructuring work. It says to stop applying local edits after the same problem remains unresolved through three attempts and check the underlying requirements or structure.

yha9806/academic-writing-toolkit · 68 tokens

extremerouter-web-search

Web search via ExtremeRouter /v1/search using Tavily / Exa / Brave / Serper / SearXNG / Google PSE / Linkup / SearchAPI / You.com / Perplexity. Use when the user wants to search the web, look up information, find articles, or query a search engine.

rsalmn/ExtremeRouter · 73 tokens

verify

Fact-check claims encountered during reading — dates, names, events, citations. Use when encountering historical facts or disputed claims.

yha9806/academic-writing-toolkit · 26 tokens