ncbi-search

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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ncbi-search" with this command: npx skills add Side-Peng/ncbi-search

NCBI Search

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

支持的数据库

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

智能意图识别

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

论文检索(PubMed)

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

"Alzheimer disease mechanisms" → PubMed
"recent review on diabetes" → PubMed
"Smith author cancer paper" → PubMed

基因检索

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

"APOE gene" → Gene
"BRCA1 function" → Gene
"TP53 human" → Gene

蛋白质检索

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

"insulin protein sequence" → Protein
"p53 protein" → Protein

变异检索

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

"rs12345 SNP" → dbSNP
"BRCA1 pathogenic variant" → ClinVar

使用方式

自动模式(推荐)

# 自动判断搜索意图
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "APOE gene"
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "Alzheimer disease review"
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "insulin protein"

指定数据库

# 明确指定数据库
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "APOE" --db gene
python ~/.agents/skill/ncbi-search/scripts/ncbi_search.py "diabetes" --db pubmed
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "rs429358" --db snp

高级选项

# PubMed 限定年份
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "Alzheimer" --years 5

# 限定文章类型
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "diabetes" --type review

# 限定物种(基因检索)
python ~/.agents/skills/ncbi-search/scripts/ncbi_search.py "APOE" --db gene --organism human

输出示例

PubMed 检索

======================================================================
PubMed Search Results
======================================================================
Query: APOE[Title/Abstract] AND "Alzheimer Disease"[MeSH]
Total: 400 articles | Returned: 10 articles
======================================================================

[1] PMID: 33597265
Title: APOE immunotherapy reduces cerebral amyloid angiopathy...
Authors: Xiong M, Jiang H, Serrano J et al.
Journal: Science translational medicine (2021)
DOI: 10.1126/scitranslmed.abd7522
URL: https://pubmed.ncbi.nlm.nih.gov/33597265/
----------------------------------------------------------------------

Gene 检索

======================================================================
Gene Search Results
======================================================================
Query: APOE[Gene Name] AND human[Organism]
Total: 1 gene | Returned: 1 gene
======================================================================

[1] Gene ID: 348
Symbol: APOE
Name: apolipoprotein E
Organism: Homo sapiens (human)
Chromosome: 19q13.32
Summary: Apolipoprotein E (APOE) is a protein involved in the...
URL: https://www.ncbi.nlm.nih.gov/gene/348
----------------------------------------------------------------------

dbSNP 检索

======================================================================
dbSNP Search Results
======================================================================
Query: rs429358
Total: 1 variant | Returned: 1 variant
======================================================================

[1] rsID: rs429358
Gene: APOE
Alleles: C/T
Clinical: Pathogenic (Alzheimer disease)
Frequency: T=0.14 (EUR)
URL: https://www.ncbi.nlm.nih.gov/snp/rs429358
----------------------------------------------------------------------

API Key 配置

# 设置环境变量
[Environment]::SetEnvironmentVariable("NCBI_API_KEY", "your-api-key", "User")
方式速率
无 API Key3 次/秒
有 API Key10 次/秒

与其他技能配合

任务技能
基因详细信息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

参考


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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

PinchTab Browser Ops

Browser automation via PinchTab CLI (nav/snap/find/click/fill/press/text) with low-token accessibility-tree flow. Use when the user asks to operate websites,...

Registry SourceRecently Updated
Coding

Aigames

Create a mini HTML game, organize files in a new folder, and upload it to the brianclan/aigames GitHub repo for www.thenext.games.

Registry SourceRecently Updated
Coding

Api Tester Cn

API请求构造、curl命令生成、Mock数据、API文档、HTTP状态码速查、Headers说明。API request builder, curl generator, mock data, API documentation, HTTP status codes, headers reference. Us...

Registry SourceRecently Updated
Coding

Miaoda App Builder

Create, modify, generate, and deploy websites, web apps, dashboards, SaaS products, internal tools, interactive web pages, Weixin mini program , games on the...

Registry SourceRecently Updated