rootcause-mcp: Skill for Claude Code

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

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

A skill for exporting PubMed citations in formats used by reference managers and research tools. PubMed is a biomedical research database, and a citation export contains an article's bibliographic details.

In plain words
What is it for?
Use it to export the latest PubMed search results or selected PMIDs as RIS, BibTeX, CSV, CSL, MEDLINE, JSON, or related formats.
Why use it?
It avoids manually reformatting search results or article identifiers for tools such as Zotero, EndNote, Mendeley, LaTeX, or spreadsheets.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/pubmed-export-citations.svg)](https://agentmods.dev/skills/u9401066/rootcause-mcp/pubmed-export-citations)
Your own site
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/pubmed-export-citations"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/pubmed-export-citations.svg" alt="Measured on agentmods" 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 8d ago against content hash 0c6c2e80c302, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 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.

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. 8d 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/rootcause-mcp (0 stars, last pushed 5d 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

detecting-pv-signals

Computes disproportionality signals — PRR, ROR, EBGM, and IC (BCPNN) — over FAERS / OpenFDA drug-event data to flag potential safety signals. Use when the user wants to mine spontaneous-report data for drug-reaction associations, build a 2x2 contingency table, compute a Proportional Reporting Ratio or Reporting Odds…

maziyarpanahi/openmed · 218 tokens

structuring-radiology-reports

Converts free-text radiology narratives into structured findings and impression — with measurements, laterality, anatomy, and follow-up recommendations — after OpenMed NER. Use when the user has a CT/MRI/X-ray/ultrasound/mammography report and needs the sections split (technique, comparison, findings, impression)…

maziyarpanahi/openmed · 195 tokens

coding-icd10

Suggests candidate ICD-10-CM diagnosis codes (and ICD-10-PCS procedure codes) for diagnoses and procedures extracted by OpenMed, with rationale and a human-coder caveat. Use when the user wants to code a problem list, map a diagnosis span to a billable ICD-10-CM code, route a finding to the right chapter, cross-walk…

maziyarpanahi/openmed · 209 tokens

deidentifying-clinical-text

Remove, mask, or replace PHI/PII in clinical free text on-device with OpenMed's deidentify(). Use when the user needs to de-identify medical notes, strip patient identifiers, redact PHI before sharing or analysis, anonymize discharge summaries, or pick a de-id method (mask vs remove vs replace vs hash vs shiftdates).…

maziyarpanahi/openmed · 144 tokens

evaluating-with-leakage-gates

Evaluate an OpenMed de-identification or clinical NER model against the leakage-first release gates G1a through G8, which gate releases on residual PHI leakage rather than on F1. Use when the user wants to run the OpenMed eval harness on a synthetic golden set, decide whether a de-id model is RELEASABLE or…

maziyarpanahi/openmed · 158 tokens

extracting-sdoh

Extracts social determinants of health (SDOH) — housing instability, food insecurity, unemployment, transportation barriers, social isolation, financial strain — from clinical narrative and maps the spans to ICD-10-CM Z-codes (Z55–Z65). Use after running OpenMed NER when the user wants SDOH surfacing, Z-code…

maziyarpanahi/openmed · 163 tokens