/everything-claude-code:pubmed-databasefrom everything-claude-code
Searches biomedical literature via PubMed and NCBI E-utilities with MeSH queries, PMID lookup, citation retrieval, and API-based monitoring.
Ships in everything-claude-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
当任务需要从 PubMed 获取生物医学文献而非一般网络搜索时,使用此技能。
从研究问题开始,将其拆分为概念,然后用布尔运算符组合概念。
concept_1 AND concept_2 AND filter
synonym_a OR synonym_b
NOT exclusion_term
常用的 PubMed 字段标签:
[ti]:标题[ab]:摘要[tiab]:标题或摘要[au]:作者[ta]:期刊标题缩写[mh]:MeSH 术语[majr]:主要 MeSH 主题[pt]:出版物类型[dp]:出版日期[la]:语言示例:
diabetes mellitus[mh] AND treatment[tiab] AND systematic review[pt] AND 2023:2026[dp]
(metformin[nm] OR insulin[nm]) AND diabetes mellitus, type 2[mh] AND randomized controlled trial[pt]
smith ja[au] AND cancer[tiab] AND 2026[dp] AND english[la]
当概念有稳定的受控词汇术语时优先使用 MeSH。当主题较新或术语变化较大时,将 MeSH 与标题/摘要术语组合使用。
正确的副标题语法将副标题放在字段标签之前:
diabetes mellitus, type 2/drug therapy[mh]
cardiovascular diseases/prevention & control[mh]
仅在主题必须是论文核心时使用 [majr]。它可以提高精确度,但可能会遗漏相关作品。
出版物类型:
clinical trial[pt]meta-analysis[pt]randomized controlled trial[pt]review[pt]systematic review[pt]guideline[pt]日期过滤器:
2026[dp]
2020:2026[dp]
2026/03/15[dp]
可用性过滤器:
free full text[sb]
hasabstract[text]
NCBI E-utilities 支持可重复的 API 工作流:
esearch.fcgi:搜索并返回 PMID。esummary.fcgi:返回轻量级文章元数据。efetch.fcgi:以 XML、MEDLINE 或文本格式获取摘要或完整记录。elink.fcgi:查找相关文章和链接资源。在生产脚本中使用电子邮件和 API 密钥。将 API 密钥存储在环境变量中,绝不要放在已提交的文件或命令历史记录中。
import os
import time
import requests
BASE = "https://eutils.ncbi.nlm.nih.gov/entrez/eutils"
def esearch(query: str, retmax: int = 20) -> list[str]:
params = {
"db": "pubmed",
"term": query,
"retmode": "json",
"retmax": retmax,
"tool": "ecc-pubmed-search",
"email": os.environ.get("NCBI_EMAIL", ""),
}
api_key = os.environ.get("NCBI_API_KEY")
if api_key:
params["api_key"] = api_key
response = requests.get(f"{BASE}/esearch.fcgi", params=params, timeout=30)
response.raise_for_status()
time.sleep(0.35)
return response.json()["esearchresult"]["idlist"]
pmids = esearch("hypertension[mh] AND randomized controlled trial[pt] AND 2024:2026[dp]")
print(pmids)
对于批量操作,优先使用 NCBI 历史服务器参数(usehistory=y、WebEnv、query_key),而不是通过 URL 传递很长的 PMID 列表。
对于每次搜索,记录:
示例:
| 数据库 | 搜索日期 | 查询 | 过滤器 | 结果数 |
| --- | --- | --- | --- | ---: |
| PubMed | 2026-05-11 | `sickle cell disease[mh] AND CRISPR[tiab]` | 2020:2026[dp], English | 42 |
raise_for_status() 或以其他方式处理非 200 响应后再解析?What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
272 skills in this plugin
/accessibility使用 WCAG 2.2 AA 级标准设计、实施和审计包容性数字产品。使用此技能为 Web 和原生平台(iOS/Android)生成语义化 ARIA 和辅助功能属性。/agent-architecture-audit智能体和 LLM 应用的全栈诊断。审计 12 层智能体堆栈,检查包装器回归、内存污染、工具纪律失败、隐藏修复循环和渲染损坏。生成按严重程度排序的发现和代码优先修复。对于构建智能体应用、自主循环或任何 LLM 驱动功能的开发者至关重要。/agent-eval在自定义任务上对编码智能体(Claude Code、Aider、Codex 等)进行头对头比较,包含通过率、成本、时间和一致性指标/agent-harness-construction设计和优化 AI 智能体操作空间、工具定义和观察格式,以获得更高的完成率。Other plugins' skills for the same job