med-paper-assistant: Skill for Claude Code

.claude/skills/reference-management/SKILL.md

reference-management is a skill for Claude Code from u9401066/med-paper-assistant. It costs 22 tokens per session (752 once invoked), scanned A, original, Apache-2.0.

A reference-management workflow for saving, searching, inspecting and formatting scholarly citations, with PubMed used first for medical-paper metadata.

In plain words
What is it for?
Use it to save papers by PMID, list and search stored references, read downloaded PDFs, check whether a paper exists and format citation lists in common styles.
Why use it?
It keeps citation details organized and separates verified database information from notes supplied by an agent or a user.

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/reference-management/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 reference-management

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/reference-management"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/reference-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 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.00022 $0.00752
Opus 5 $0.00011 $0.00376
Sonnet 5 $0.00004 $0.00150
Haiku 4.5 $0.00002 $0.00075

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

Security

Grade A, and why

reference-management 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 8d 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.

.claude/skills/reference-management/SKILL.md · 59 lines

How it starts

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

Reference Management Skill

觸發:存這篇、save、儲存文獻、列出 references、citation、格式化、PDF、foam、wikilink

🔒 核心規則:MCP-to-MCP 優先

方法 資料來源 使用時機
save_reference_mcp(pmid) pubmed-search API 直取 永遠優先
save_reference(article) Agent 傳遞 metadata 僅 API 不可用時 fallback

信任層:🔒 VERIFIED(PubMed 原始)→ 🤖 AGENT(agent_notes)→ ✏️ USER(人類筆記,AI 不碰)


MCP Tools

工具 用途 關鍵參數
save_reference_mcp 用 PMID 儲存(推薦) pmid, agent_notes?, project?
save_reference API 不可用時備援 article (dict), agent_notes?
list_saved_references 列出所有已儲存文獻 project?
search_local_references 在已存文獻中搜尋 query
get_reference_details 取得單篇完整資訊+格式化引用 pmid
check_reference_exists 檢查是否已儲存 pmid
read_reference_fulltext 讀取已下載 PDF pmid, max_chars? (預設 10000)
format_references 格式化引用清單 pmids (逗號分隔), style?, journal?
set_citation_style 設定預設引用格式 style (vancouver/apa/harvard/nature/ama)
rebuild_foam_aliases 重建 Foam wikilink 檔案 project?

標準工作流

  1. pubmed-search 搜尋文獻
  2. 用戶選擇要儲存的文獻
  3. save_reference_mcp(pmid="...") → 成功則完成
  4. 失敗 → 改用 save_reference(article={...})

agent_notes 指南

好:"Key SR on remimazolam safety. Covers: CV stability, respiratory effects. Limitation: only ICU." 壞:"重要文獻" ← 太模糊。應包含:關聯性、關鍵發現、方法學優缺、可引用數據。


Read the full file on GitHub · 59 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. 8d ago First seen · 59 lines · 22 tokens per session scan A 20379b3f13e2

Subscribe to this mod's changes

reference-management is a skill published in the GitHub repository u9401066/med-paper-assistant (12 stars, last pushed 7d ago), licensed Apache-2.0. It adds 22 tokens to every session and 752 once invoked, about $0.0001 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

release-governance

Use when preparing, auditing, releasing, PDF-hardening, or rebuttal-hardening academic manuscripts, datasets, artifacts, reviewer packets, or claim registers involving multiple refs, local assets, human labels, agent-assisted drafts, wide tables, figure provenance, submission PDFs, or evidence-boundary checks.

yha9806/academic-writing-toolkit · 64 tokens

read

Read PDF page by page with structured output — key arguments, terms glossary, thesis connections. Use when reading academic papers, books, or articles.

yha9806/academic-writing-toolkit · 31 tokens

export

Convert thesis chapters and reading notes from Markdown to Word (.docx) and package for submission. Use when preparing materials for supervisors or examiners.

yha9806/academic-writing-toolkit · 31 tokens

human-eval-handoff-repair

Use when validating, repairing, or mapping human-evaluation handoff packages, filled annotation CSVs, rebuttal annotation UIs, or reviewer annotation returns across package versions. Applies to checking row alignment, detecting cross-snapshot contamination, converting old labels to current schemas, generating…

yha9806/academic-writing-toolkit · 78 tokens

proposal-import

Import an existing proposal (usually PDF) into the standard single-file format — extract text and references, strip personal data, mark gaps. Use when the user has a draft from Word, LaTeX, Overleaf or another tool, pastes the text of an older proposal, or wants to carry existing work over and continue it here.

hutzelmann/thesis-proposal-skills · 71 tokens

proposal-publish

Build a PDF (or docx fallback) from a proposal file via pandoc — compact layout, typst-first, with install guidance when tools are missing. Also offers a stripped hand-in export, and hands over to a workspace build script where one exists. Use when the user wants a PDF or something to email, print or hand to their…

hutzelmann/thesis-proposal-skills · 100 tokens