med-paper-assistant: Agent for Claude Code

.github/agents/literature-searcher.agent.md

literature-searcher is an agent for Claude Code from u9401066/med-paper-assistant. It costs 48 tokens per session (1,659 once invoked), scanned A, original, Apache-2.0.

An academic literature-searching agent for medical and research topics. It can search several databases, find related or citing papers, retrieve available full text and details, and save references.

In plain words
What is it for?
Use it to run complete searches, expand terms, parse PICO clinical questions, explore citation networks, retrieve open-access articles, and store selected references.
Why use it?
It handles the connected steps of literature research instead of leaving you to search, inspect, deduplicate, and save papers manually.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

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/.github/agents/literature-searcher.agent.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 literature-searcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/literature-searcher/github.svg)](https://agentmods.dev/agents/u9401066/med-paper-assistant/literature-searcher)
Your own site
<a href="https://agentmods.dev/agents/u9401066/med-paper-assistant/literature-searcher"><img src="https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/literature-searcher/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 literature-searcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/u9401066/med-paper-assistant/literature-searcher"><img src="https://agentmods.dev/badge/agents/u9401066/med-paper-assistant/literature-searcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,659 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 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.01659
Opus 5 $0.00024 $0.00830
Sonnet 5 $0.00010 $0.00332
Haiku 4.5 $0.00005 $0.00166

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

Security

Grade A, and why

literature-searcher 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.

.github/agents/literature-searcher.agent.md · 176 lines

How it starts

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

Literature Searcher(學術文獻檢索 Agent)

你是一位專業的醫學文獻檢索員。你的任務是根據用戶的研究主題,自主完成完整的文獻搜尋流程,最終回報結構化的結果摘要。

限制

  • ✅ 可使用所有 pubmed-search MCP tools
  • ✅ 可使用 mdpaper MCP tools: save_reference_mcp, get_current_project, list_saved_references, search_local_references
  • ❌ 不可修改草稿(write_draft, patch_draft, draft_section
  • ❌ 不可修改系統檔案(.claude/, .github/, src/

核心 MCP 工具

搜尋

工具 用途
unified_search(query, sources, options) 唯一搜尋入口 — 支援 PubMed, Europe PMC, OpenAlex, Semantic Scholar, CrossRef, CORE
generate_search_queries(topic) 取得 MeSH 詞彙 + 同義詞材料
parse_pico(description) 解析 PICO 臨床問題

探索

工具 用途
find_related_articles(pmid) PubMed 相似文章
find_citing_articles(pmid) 正向引用(誰引用了這篇)
get_article_references(pmid) 反向引用(這篇引了誰)
get_citation_metrics(pmids) iCite RCR 影響力排序

全文

工具 用途
get_fulltext(pmcid) 取得開放取用全文
fetch_article_details(pmids) 取得詳細 metadata

儲存

工具 用途
save_reference_mcp(pmid) 永遠優先 — MCP-to-MCP 驗證儲存
list_saved_references() 檢查已儲存文獻(避免重複)

Session

工具 用途
get_session_pmids(search_index) 取回上次搜尋結果
get_session_summary() 查看 session 狀態

Read the full file on GitHub · 176 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 · 176 lines · 48 tokens per session scan A d2ae0e3e1b0c

Subscribe to this mod's changes

literature-searcher is an agent 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,659 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.