pharmacy-mcp: Skill for Claude Code

.claude/skills/pubmed-export-citations/SKILL.md

pubmed-export-citations is a skill for Claude Code from u9401066/pharmacy-mcp. It costs 43 tokens per session (929 once invoked), scanned A, a copy of pubmed-export-citations, Apache-2.0.

A workflow for exporting research-paper citations into formats used by reference managers and writing or analysis tools. Citation formats include RIS, BibTeX, CSV, and CSL.

In plain words
What is it for?
Exporting the latest or selected PubMed articles, including abstracts when needed, for reference management, academic writing, or data analysis.
Why use it?
It turns search results into files that can be imported into tools such as Zotero, EndNote, Mendeley, Excel, or LaTeX.

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-export-citations/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-export-citations

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/pharmacy-mcp/pubmed-export-citations"><img src="https://agentmods.dev/badge/skills/u9401066/pharmacy-mcp/pubmed-export-citations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 929 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.00043 $0.00929
Opus 5 $0.00022 $0.00464
Sonnet 5 $0.00009 $0.00186
Haiku 4.5 $0.00004 $0.00093

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

Security

Grade A, and why

pubmed-export-citations 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 10d 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-export-citations — 23 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-export-citations/SKILL.md · 135 lines

How it starts

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

引用匯出指南

描述

引用匯出現在統一使用 prepare_export。最常見的做法是先搜尋,再用 pmids="last" 匯出上一輪搜尋結果;若只想匯出指定文章,則直接傳 PMID 清單。


快速決策樹

需要匯出引用?
├── EndNote / Zotero / Mendeley → prepare_export(pmids="last", format="ris")
├── LaTeX / Overleaf → prepare_export(pmids="last", format="bibtex", source="local")
├── Excel / 分析 → prepare_export(pmids="last", format="csv", source="local")
└── 程式處理 → prepare_export(pmids="last", format="csl")

核心工具

prepare_export(
    pmids="last",
    format="ris",
    include_abstract=True,
    source="official"
)

pmids 可接受

  • "last"
  • "12345678,87654321"
  • ["12345678", "87654321"]
  • "PMID:12345678"

來源與格式

source 支援格式 何時用
official ris, medline, csl 預設首選,品質最好
local ris, bibtex, csv, medline, json 需要 BibTeX、CSV 或離線替代

常用格式

用途 呼叫方式
EndNote / Zotero / Mendeley prepare_export(pmids="last", format="ris")
LaTeX / Overleaf prepare_export(pmids="last", format="bibtex", source="local")
Excel / 數據分析 prepare_export(pmids="last", format="csv", source="local")
程式處理 prepare_export(pmids="last", format="csl")
MEDLINE / NBIB 交換 prepare_export(pmids="last", format="medline")

常見工作流程

1. 搜尋後直接匯出

unified_search(query="remimazolam ICU sedation", limit=30)
prepare_export(pmids="last", format="ris")

2. 匯出指定 PMID

prepare_export(
    pmids="30217674,28523456,35678901",
    format="ris"
)

3. 匯出 BibTeX 給 LaTeX

prepare_export(
    pmids="last",
    format="bibtex",
    source="local"
)

4. 同一批結果同時輸出兩種格式

prepare_export(pmids="last", format="ris")
prepare_export(pmids="last", format="csv", source="local")

建議搭配工具

先確認上次搜尋結果有哪些 PMID

get_session_pmids()

要先看文章細節再決定是否匯出

fetch_article_details(pmids="12345678,87654321")

回傳結果你要關注什麼

  • status
  • article_count
  • format
  • source
  • export_text

Read the full file on GitHub · 135 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. 10d ago First seen · 135 lines · 43 tokens per session scan A 0c6c2e80c302

Subscribe to this mod's changes

pubmed-export-citations is a skill published in the GitHub repository u9401066/pharmacy-mcp (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 929 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-export-citations, differing in 23 lines, and is treated as a copy.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens