返回顶部
n

ncbi-searchNCBI数据库搜索

Search NCBI databases using E-Utilities API (official, free). Supports multiple databases: PubMed (literature), Gene, Protein, Nucleotide, dbSNP, ClinVar, Taxonomy, etc. Automatically detects search intent and routes to appropriate database. Returns formatted results with key information. Use for biomedical literature, gene information, protein sequences, genetic variants, and more.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
267
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

ncbi-search

NCBI 搜索

NCBI多数据库智能检索工具,使用官方E-Utilities API。免费、可靠、无外部依赖。

支持的数据库

数据库用途触发关键词
pubmed文献检索paper, article, review, 研究, 论文, 文献, 发表
gene
基因信息 | gene, 基因, symbol, 编码 | | protein | 蛋白质序列 | protein, 蛋白, amino acid, 序列 | | nucleotide | 核酸序列 | sequence, DNA, RNA, 序列, 基因组 | | snp | SNP变异 | SNP, variant, 变异, 多态性 | | clinvar | 临床变异 | clinvar, clinical variant, 致病突变 | | taxonomy | 物种分类 | species, 物种, taxonomy, 分类 | | biosample | 生物样本 | biosample, 样本 | | assembly | 基因组组装 | genome assembly, 基因组组装 | | sra | 测序数据 | SRA, sequencing, 测序数据 |

智能意图识别

技能会自动判断用户搜索意图:

论文检索(PubMed)

触发条件:查询包含论文相关关键词,或没有明确数据库指向

阿尔茨海默病机制 → PubMed
糖尿病最新综述 → PubMed
Smith作者癌症论文 → PubMed

基因检索

触发条件:基因符号、基因相关关键词

APOE基因 → Gene
BRCA1功能 → Gene
TP53人类 → Gene

蛋白质检索

触发条件:蛋白质相关关键词

胰岛素蛋白质序列 → Protein
p53蛋白 → Protein

变异检索

触发条件:变异相关关键词

rs12345 SNP → dbSNP
BRCA1致病性变异 → ClinVar

使用方式

自动模式(推荐)

bash

自动判断搜索意图


python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py APOE基因
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py 阿尔茨海默病综述
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py 胰岛素蛋白

指定数据库

bash

明确指定数据库


python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py APOE --db gene
python ~/.agents/skill/ncbi-search/scripts/ncbi_search.py 糖尿病 --db pubmed
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py rs429358 --db snp

高级选项

bash

PubMed 限定年份


python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py 阿尔茨海默 --years 5

限定文章类型

python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py 糖尿病 --type review

限定物种(基因检索)

python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py APOE --db gene --organism human

输出示例

PubMed 检索

======================================================================
PubMed 搜索结果
======================================================================
查询: APOE[Title/Abstract] AND Alzheimer Disease[MeSH]
总计: 400 篇文章 | 返回: 10 篇文章
======================================================================

[1] PMID: 33597265
标题: APOE immunotherapy reduces cerebral amyloid angiopathy...
作者: Xiong M, Jiang H, Serrano J 等
期刊: Science translational medicine (2021)
DOI: 10.1126/scitranslmed.abd7522
链接: https://pubmed.ncbi.nlm.nih.gov/33597265/



Gene 检索

======================================================================
基因搜索结果
======================================================================
查询: APOE[Gene Name] AND human[Organism]
总计: 1 个基因 | 返回: 1 个基因
======================================================================

[1] 基因ID: 348
符号: APOE
名称: apolipoprotein E
物种: Homo sapiens (人类)
染色体: 19q13.32
摘要: 载脂蛋白E (APOE) 是一种参与...
链接: https://www.ncbi.nlm.nih.gov/gene/348



dbSNP 检索

======================================================================
dbSNP 搜索结果
======================================================================
查询: rs429358
总计: 1 个变异 | 返回: 1 个变异
======================================================================

[1] rsID: rs429358
基因: APOE
等位基因: C/T
临床意义: 致病性 (阿尔茨海默病)
频率: T=0.14 (EUR)
链接: https://www.ncbi.nlm.nih.gov/snp/rs429358



API Key 配置

powershell

设置环境变量


[Environment]::SetEnvironmentVariable(NCBIAPIKEY, your-api-key, User)

方式速率
无 API Key3 次/秒
有 API Key
10 次/秒 |

与其他技能配合

任务技能
基因详细信息gene-database
蛋白质结构
AlphaFold | | 文献综述 | literature-review | | 引用管理 | citation-verifier |

文件结构

ncbi-search/
├── SKILL.md
├── scripts/
│ ├── ncbi_search.py # 主脚本(多数据库)
│ ├── pubmed_search.py # PubMed专用
│ └── ncbi_utils.py # 工具函数
└── references/
└── query_syntax.md

参考

  • - E-Utilities 文档: https://www.ncbi.nlm.nih.gov/books/NBK25501/
  • 数据库列表: https://www.ncbi.nlm.nih.gov/books/NBK25500/table/chapter.T5/

技能状态: 就绪 API 要求: NCBI API Key (免费) 费用: 免费

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 ncbi-search-1776108369 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 ncbi-search-1776108369 技能

通过命令行安装

skillhub install ncbi-search-1776108369

下载

⬇ 下载 ncbi-search v1.0.1(免费)

文件大小: 21.96 KB | 发布时间: 2026-4-15 13:33

v1.0.1 最新 2026-4-15 13:33
- Initial release of the ncbi-search skill.
- Search multiple NCBI databases (PubMed, Gene, Protein, Nucleotide, dbSNP, ClinVar, Taxonomy, etc.) using the official E-Utilities API.
- Automatically detects the query's intent and selects the most appropriate database.
- Returns formatted results with key information for biomedical literature, gene/protein information, variants, and more.
- Supports both automatic search mode and manual database selection.
- Optional: Configure NCBI API Key for higher query rates.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部