当前位置: 首页 > Skill >

Pharmaclaw Literature Agent

Pharmaclaw Literature Agent

Pharmaclaw Literature Agent

从PubMed和Semantic Scholar检索生物医学与科学文献,提供结构化摘要、引文追踪及开放获取PDF。

2.0.0 2026.11.26 416
获取Skill文件查看使用说明
作 者:苏辰 许可证: 更新时间:2026.11.26
本文目录收起

Literature Agent v1.0.0

Overview

Dual-source literature search combining PubMed (biomedical focus) and Semantic Scholar (broader CS/ML/AI coverage). Deduplicates across sources, enriches with citation metrics and TLDR summaries.

Key capabilities:

  • PubMed search with MeSH terms, abstracts, publication types
  • Semantic Scholar search with citation counts, influential citations, TLDR
  • Paper lookup by DOI or PMID
  • Citation tracking (who cited this paper?)
  • Related paper discovery (what did this paper reference?)
  • Automatic query construction from compound/target/disease inputs
  • Cross-source deduplication and enrichment

Quick Start

# Search by topic
python scripts/pubmed_search.py --query "KRAS G12C inhibitor" --max-results 5

# Search Semantic Scholar (includes ML/AI papers)
python scripts/semantic_scholar.py --query "graph neural network drug discovery"

# Full chain: compound + disease context
python scripts/chain_entry.py --input-json '{"compound": "sotorasib", "disease": "lung cancer"}'

# Look up a specific paper and find who cited it
python scripts/semantic_scholar.py --paper-id "DOI:10.1038/s41586-021-03819-2" --citations

# Recent papers only (last 3 years)
python scripts/pubmed_search.py --query "organometallic catalyst drug synthesis" --years 3

Scripts

scripts/pubmed_search.py

PubMed via NCBI E-utilities (public, no key required, rate limit: 3 req/sec).

--query <text>          Required. Search query
--max-results <N>       1-50 (default: 10)
--sort <type>           relevance | date (default: relevance)
--years <N>             Limit to last N years

Returns: PMID, title, authors, journal, year, DOI, abstract, MeSH terms, keywords, publication types.

scripts/semantic_scholar.py

Semantic Scholar API (public, no key required, rate limit: 100 req/5 min).

--query <text>          Search query
--paper-id <id>         Paper ID (DOI:xxx, PMID:xxx, ArXiv:xxx)
--related               Get references of a paper (requires --paper-id)
--citations             Get papers citing a paper (requires --paper-id)
--max-results <N>       1-50 (default: 10)
--year-range <range>    e.g., "2020-2026" or "2023-"

Returns: title, authors, year, abstract, TLDR, citation count, influential citations, DOI, ArXiv ID, open-access PDF URL.

scripts/chain_entry.py

Standard PharmaClaw chain interface. Searches both PubMed and Semantic Scholar, deduplicates, and sorts by citation impact.

Input keys: query, compound/name, target, disease, mechanism, reaction, topic, doi, pmid, max_results, years, context

Automatic query building: {"compound": "aspirin", "disease": "colorectal cancer"} → searches "aspirin colorectal cancer"

Chaining

From Input To
Chemistry Query Compound name/SMILES Literature → find published studies
Catalyst Design Reaction type Literature → find catalyst optimization papers
Literature Key findings Pharmacology → validate claims
Literature Synthesis references Chemistry Query → retrosynthesis
Literature Patent mentions IP Expansion → FTO analysis

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,036
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,020
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,016
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
Skill 文件
  • SKILL.md
    • Literature Agent v1.0.0
    • Overview
    • Quick Start
    • Scripts
      • scripts/pubmed_search.py
      • scripts/semantic_scholar.py
      • scripts/chain_entry.py
    • Chaining
  • 项目或源文件

相关 Skill

更多
Semanticscholar Skill Semanticscholar Skill 用于在检索学术论文、查找引用、寻找作者或获取论文推荐时调用 Semantic Scholar API,触发条件为查询。
Nm Tome Papers Nm Tome Papers 在 arXiv、Semantic Scholar 和开放获取 PDF 中搜索学术文献。
Semantic Scholar Semantic Scholar 学术搜索(semanticscholar.org)。使用此技能处理任何学术搜索请求——搜索和读取数据。无论何时任务涉及学术搜索,请使用此技能。
academic-literature-review.zip academic-literature-review.zip 面向高校学习与科研的文献综述助手。给定主题,自动并发检索 arXiv、Semantic Scholar、OpenAlex、Crossref 四个开放学术库,按 TF-IDF 相关性排序过滤、标题去重;再用向量聚类把文献分成若干主题,自动生成主题标签;最后一键导出 BibTeX / Markdown 参考文献。脚本完成检索、去重、聚类与导出(纯标准库、零依赖),提示词负责合成结构化综述草稿,形成"检索→聚类→综述→参考文献"的完整工作流。
Beautiful Soup Academic Paper Parser Beautiful Soup Academic Paper Parser 使用BeautifulSoup4与lxml解析器从学术知识库中提取结构化引用数据。解析来自PubMed、arXiv和Semantic Scholar HTML的DOI元数据、作者隶属关系和参考文献列表。