by wp-a
Agent Skill and MCP for multi-source literature search, field-level citation verification, and Zotero/EndNote export.
# Add to your Claude Code skills
git clone https://github.com/wp-a/nature-academic-searchGuides for using ai agents skills like nature-academic-search.
nature-academic-search is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by wp-a. Agent Skill and MCP for multi-source literature search, field-level citation verification, and Zotero/EndNote export. It has 419 GitHub stars.
nature-academic-search's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/wp-a/nature-academic-search" and add it to your Claude Code skills directory (see the Installation section above). nature-academic-search ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
nature-academic-search is primarily written in Python. It is open-source under wp-a on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh nature-academic-search against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
用户提到找文献、文献检索、引用核验、引文图谱、MeSH、PubMed、预印本、临床试验、RIS/BibTeX
或 DOI/PMID/PMCID/arXiv/OpenAlex/Semantic Scholar/NCT 时触发本 skill。目标是论文时使用
entity_type="publication";目标是注册试验时使用 entity_type="trial",两者不能按题名合并。
以下工具路由以实际工具输出为准;适配器存在不代表本次已经查询。
| 用户目标 | 入口 | 执行要求 |
|---|---|---|
| 找文献、综述前期检索 | search_papers |
按源检索、去重,报告 sources_queried / sources_succeeded / sources_skipped / errors |
| 核验已有引用 | get_paper_by_id + expected |
输出字段级 verified、mismatch、not_found 或 manual_needed |
| 追踪上下游引文 | get_paper_by_id(include_relations=true) |
默认 depth=1;需要二跳时显式 depth=2,保留图谱边和来源缺口 |
| 构建 PubMed 检索式 | lookup_mesh |
先核对 MeSH 词和 ID,再组合自由词;不要凭空猜主题词 |
| 生成单条引用 | get_citation |
只格式化已解析论文;NCT 注册不生成论文引用 |
| 批量导出或自动化 | CLI citation / workflow |
保留 run.json、核验状态和人工待处理清单 |
客户端可能给工具名添加 MCP 前缀;工具总数仍为四个,不新增专用图谱工具。
DeepSeek Harness 使用独立的
dsh-academic-paper-search
Bundle,通过官方 @deepseek-ai/dsh-mcp-client 映射为
mcp__academic_search__*;这是同一 MCP 运行时的客户端适配,不要在 DSH
中重写或假设额外的论文工具。
CLI 从 0.3.1 起可用 nature-academic-search search / verify 得到同一份 JSON;
旧版客户端先检查 --help,不要假设已安装包包含新命令。
lookup_mesh 或写出英文检索式;search_run.query_analysis.mesh_required
为 true 时不得跳过。不要把中文整句直接当已核验检索。search_papers(建议 ranking="relevance");必须报告
sources_queried / sources_succeeded / sources_skipped / errors。get_paper_by_id + expected。verified / mismatch / not_found / manual_needed 分组交付。正确:lookup_mesh("medical education") →
search_papers("generative AI medical education", ranking="relevance") →
对 DOI 做 expected 核验。
错误:只调用 search_papers("生成式AI医学教育"),并把返回题名当作已核验参考文献。
crossref、pubmed、arxiv、openalex、europe_pmc。semantic_scholar 用于显式搜索、enrich 或图谱;富化优先使用 DOI、PMID、arXiv 等强标识符。clinicaltrials_gov 只服务 entity_type="trial",不是论文数据库。源失败、限流、缺少强标识符或不支持某方向时,保留成功结果并记录缺口;不能把未查询到解释成没有关系。
调用 get_paper_by_id 时可以传:
{
"include_relations": true,
"relation": "both",
"depth": 1,
"rows": 20,
"relation_sources": ["openalex", "crossref", "pubmed", "europe_pmc", "semantic_scholar"]
}
relation 是 references、cited_by 或 both。输出 citation_graph 必须保留:
nodes:合并后的 publication 节点和来源记录;edges:统一为 citing → cited,含 relation 与 observed_by;sources_queried、sources_succeeded、sources_skipped、errors;truncated、truncation_reason、depth_completed。references 表示种子指向被引用节点,cited_by 表示引用者指向种子。图谱是关系导航和审计数据,
不是证据质量、因果关系、影响力或研究结论评分。
lookup_mesh 核验主题词,再组合题名/摘要自由词。含中文的问题必须先得到 MeSH 或英文检索式。search_papers;保存原查询、日期、请求源、结果数量和 search_run。get_paper_by_id + expected,逐项核对题名、首位作者、年份、期刊和标识符。rows 和源列表必须有明确研究目的和预算。plan.json,获得批准后再检索,并保存 run.json、results.json、
verification.json、screening.csv、references.ris 和可选 graph.json。Workflow 从 0.3.1 起默认按标识符回查并核验候选元数据。省略 verify 不会把候选视为已核验。
核验范围见 fields、lookup_id / lookup_id_type;来源无法提供的附加 ID 列入
unchecked_identifiers,不能称为已核验,RIS 不写入未匹配的 DOI / PMID。作者截断标记
et al. 不参与作者比较。原始候选和未核验附加 ID 保留在 results.json。
导出默认要求 verified;有 screen 时还要求筛选为 include,exclude、pending_manual、
缺失/无效决定和模型失败的待处理记录均不导出。无需模型筛选时使用
steps: [plan, search, verify, export]。保留人工待处理记录,报告 exported_count;
trial 只保留注册数据,不写成论文 RIS。citation CLI 只下载/转换格式,不自动做 expected 核验。
WPIRONMAN 是可选的 OpenAI-compatible 模型入口,当前 runner 用于摘要级 screen;
plan.json 根据 YAML 本地生成,研究计划或规则可先在客户端整理。
它不是论文来源、数据库、引用验证器,也不替代 Crossref、PubMed、OpenAlex、Europe PMC 或 Semantic Scholar。
export ACADEMIC_SEARCH_LLM_BASE_URL=https://api.wpironman.top/v1
export ACADEMIC_SEARCH_LLM_API_KEY=你的中转密钥
export ACADEMIC_SEARCH_LLM_MODEL=你的模型名
export ACADEMIC_SEARCH_LLM_PROTOCOL=responses_http
默认只发送标题、摘要、标识符和获准元数据;全文必须显式设置 privacy.allow_full_text: true。
密钥不得进入日志、manifest 或 prompt artifact。中转超时、限流或返回坏 JSON 时,
失败的模型步骤标记为 skipped,学术检索、核验和审计继续;待人工筛选记录不进入 RIS。
每次成功的 search_papers 返回 search_run,至少保存 run_id、UTC 时间、请求参数、去重前后数量和
result_fingerprint。每条记录保留稳定 record_id、sources、source_records、conflicts、
citation_counts 和 citation_count_source。不得合成没有来源的“总引用数”。
统一 filters 支持日期、语言、作者、文献类型和强标识符;ranking 可设为 relevance 或 none。
相关性排序会写入 ranking_score、ranking_reasons 和 score_version,只表示检索相关性,不表示证据质量。
含中文的查询会在 query_analysis 中给出 contains_cjk、latin_terms、cjk_terms 和 mesh_required。
详细查询构建、来源分层、引用文件和工作流见:
sources_queried 为准。在 Codex 或 Claude Code 中用中文找论文,按 DOI 或 PMID 核对题名、作者、年份和期刊,再导出 Zotero 或 EndNote 可导入的引用文件。检索结果保留来源和失败记录,核验结果标出冲突和待复查字段。
准备 Python 3.10+ 和 uv。选择你正在使用的客户端,安装插件即可获得 Skill 和 MCP 服务配置。用到 PubMed 时,在启动客户端的环境中设置 PUBMED_EMAIL。 环境配置与安装排查
Codex
codex plugin marketplace add wp-a/nature-academic-search
codex plugin add nature-academic-search@wp-a-academic-tools
Claude Code
claude plugin marketplace add wp-a/nature-academic-search
claude plugin install nature-academic-search@wp-a-academic-tools
开启新会话,复制下面这条故意填错题名、作者和年份的引用。Codex 也支持用 $nature-academic-search 显式调用 Skill。
使用 nature-academic-search 核验这条引用。按 DOI 查找元数据,逐项比较题名、
首位作者、年份和期刊,返回核验状态和来源。
Smith et al. (2024). Large language models for clinical diagnosis. Nature.
DOI: 10.1038/nature14539
预期结果为 mismatch。 DOI 能解析,实际对应 Yann LeCun、Yoshua Bengio 和 Geoffrey Hinton 的 Deep learning(2015)。题名、作者和年份不符,期刊 Nature 一致。
{
"title": "Deep learning",
"source": "crossref",
"verification": { "status": "mismatch" }
}
这是 0.3.1 的输出节选。看到客户端调用工具并返回字段状态,即可确认核验已跑通。核验范围是书目元数据,引用研究结论时还需阅读原文。 完整案例和历史截图
以下截图来自 2026 年 7 月 31 日的实测记录。点击图片可查看完整结果、当时的版本和来源状态。
开题检索记录 · 引用核验记录 · PubMed / MeSH 记录
引用核验见快速开始。展开下方任一场景即可复制提示词。
使用 nature-academic-search 检索“生成式 AI 在医学教育中的应用与风险”。
先写出英文检索式,再用默认论文源搜索,按 DOI、PMID 等标识符去重。
列出最多 10 条候选,区分正式论文与预印本,附 DOI 或 PMID,
并报告本次检索日期和各来源的成功、失败或限流状态。
使用 nature-academic-search 为“生成式 AI 与医学教育”设计 PubMed 起始检索式。
先核对 Artificial Intelligence、Generative Artificial Intelligence 和
Education, Medical 的规范主题词及 MeSH ID,再与题名和摘要中的自由词组合。
给出核词结果、完整检索式和仍需补充的同义词。
使用 nature-academic-search 解析 DOI 10.1038/nature14539,追踪一跳上下游引文。
分别列出它引用了哪些论文、哪些论文引用了它。保留每条关系的来源,
并报告查询失败或截断情况。将 citation_graph 保存为 graph.json。
使用 nature-academic-search 为“生成式 AI 在医学教育中的应用”拟定综述检索计划。
先列出数据库、检索式和纳入排除标准,等我确认后再检索。
按 DOI 或 PMID 核验候选,只将符合筛选条件且核验通过的记录导出为 RIS。
另列冲突和待人工复查的条目。
使用 nature-academic-search 检索 ClinicalTrials.gov 上与肺癌新辅助免疫治疗相关的注册。
按 NCT ID 列出试验状态、干预和申办方,并标出正在招募的记录。
若注册记录提供关联论文,单独核验论文的 PMID 或 DOI。
默认论文源包括 CrossRef、PubMed、arXiv、OpenAlex 和 Europe PMC。Semantic Scholar 可显式调用,ClinicalTrials.gov 单独查试验注册。项目未连接 Google Scholar、Web of Science、Scopus、Embase、CNKI、万方。界定系统综述的检索范围时,请根据研究方案补充所需数据库。 各来源的覆盖与边界
PyPI 0.3.1 已提供 search、verify、引用转换和 YAML 工作流。下面可在终端复现首页的核验。
uv tool install nature-academic-search
nature-academic-search verify 10.1038/nature14539 \
--expected-title "Large language models for clinical diagnosis" \
--expected-authors "Smith" --expected-year 2024 --expected-journal "Nature"
批量任务可先保存检索计划,再运行检索、核验和 RIS 导出。流程保存来源状态及未导出的核验记录。如需模型辅助摘要初筛,可单独配置模型入口。 CLI 与 MCP 用法 · YAML 工作流与筛选
| 文档 | 内容 |
|---|---|
| 安装与配置 | PyPI、源码、客户端插件、DeepSeek Harness Bundle 和排查 |
| Skill 指令 | 任务路由和证据规则 |
| 检索工作流 | 查询构造、过滤、去重和结果解释 |
| 引用文件 | RIS、BibTeX、NBIB、ENW |
| 维护手册 | 测试、打包与发布流程 |
安装标识为 nature-academic-search。检索范围不限于 Nature 期刊,项目与 Nature Portfolio 无官方关联。
反馈问题时请附版本、最小查询和脱敏后的错误信息。 提交 Issue