据 AlphaMoat 统计,截至 2026-09,Pubmed Edirect 累计下载 4,600 次、获 5 个星标,在全部 5,078 个 AI 技能中排名第 2,073 位,在「知识管理」分类(442 个)中排名第 198 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 126 | 3,836 | 4 | - |
| SkillHub ↗ | 307 | 4,600 | 5 | — |
各平台的计数口径不同,统计时间不一致。
该技能通过 EDirect 工具(esearch、efetch、elink、efilter、xtract、einfo)提供对 NCBI 数据库(pubmed、pmc、gene、protein、mesh 等)的命令行访问。它需要手动安装 EDirect 工具,并被标记为进阶、高安全级别;可选 NCBI_API_KEY 提高速率上限,NCBI_EMAIL 用于标识用户。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,600 | — | 5 |
| 2026-08 | 3,974 | +9.8% | 5 |
| 2026-07 | 3,618 | +10.1% | 4 |
| 2026-06 | 3,285 | +5.8% | 4 |
| 2026-05 | 3,104 | — | 5 |
| 2026-03 | 2,477 | — | 4 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
name: pubmed-edirect
description: Search and retrieve literature from PubMed using NCBI's EDirect command-line tools. ⚠️ Advanced skill requiring manual installation.
requires:
bins:
- esearch
- efetch
- elink
- xtract
- einfo - efilter
install:
- id: edirect
kind: manual
label: Manual Installation Required - Review INSTALL.md
docs: https://www.ncbi.nlm.nih.gov/books/NBK179288/
note: "⚠️ User must manually download and review official installer script"
security_level: elevated
metadata:
openclaw:
emoji: 🔬
category: advanced
security_level: elevated
requires:
bins:
- esearch
- efetch
- elink
- xtract
- einfo
- efilter
env:
- name: NCBI_API_KEY
optional: true
description: NCBI API key for increased rate limits (10 requests/sec vs 3 requests/sec)
- name: NCBI_EMAIL
optional: true
description: Email address to identify yourself to NCBI
---
# PubMed EDirect Skill
Search and retrieve literature from PubMed using NCBI's EDirect command-line tools.
## ⚠️ Security Advisory
**Important**: This skill requires installation of external command-line tools. The installation process involves:
1. **External script execution**: Downloading and executing installation scripts from the official NCBI FTP server
2. **System modifications**: Adding directories to your PATH environment variable
3. **Permission requirements**: May require installation of Perl modules and dependencies
**Before installation, you must**:
1. Review the installer script content after downloading
2. Confirm the source is trustworthy (official `ftp.ncbi.nlm.nih.gov` domain)
3. Validate in a test environment
4. Understand all commands that will be executed
## Overview
This skill provides access to PubMed and other NCBI databases through the official EDirect (Entrez Direct) utilities. EDirect is a suite of programs that provide access to the NCBI's suite of interconnected databases (publication, sequence, structure, gene, variation, expression, etc.) from Unix terminals.
**Note: This is a local installation skill** – all tools run directly on your system without Docker or containerization. Follow the [INSTALL.md](INSTALL.md) guide for local setup.
## Structure
The skill is organized into the following files:
- **`INSTALL.md`** - Installation and configuration guide
- **`BASICS.md`** - Basic usage and common commands
- **`ADVANCED.md`** - Advanced techniques and complex queries
- **`EXAMPLES.md`** - Practical usage examples
- **`REFERENCE.md`** - Quick reference (field qualifiers, formats, etc.)
- **`OPENCLAW_INTEGRATION.md`** - OpenClaw-specific usage guide
- **`scripts/`** - Useful bash scripts for common tasks
## Quick Start
1. **Read the installation guide**: Review [INSTALL.md](INSTALL.md) for secure installation steps
2. **Manually install EDirect**:
```bash
# Step 1: Download the script
wget -q https://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh
# Step 2: Review content (important for security)
less install-edirect.sh
# Step 3: Execute installation
./install-edirect.sh
```
3. **Verify installation**:
```bash
esearch -db pubmed -query "test" -retmax 1
```
4. **Explore examples**: Check [EXAMPLES.md](EXAMPLES.md)
## Core Tools
The skill provides access to EDirect tools through OpenClaw's `exec` capability:
- `esearch` - Search databases
- `efetch` - Retrieve records
- `elink` - Find related records
- `efilter` - Filter results
- `xtract` - Extract data from XML
- `einfo` - Get database information
## Databases Supported
EDirect supports numerous NCBI databases including:
- `pubmed` - Biomedical literature
- `pmc` - PubMed Central full-text articles
- `gene` - Gene information
- `nuccore` - Nucleotide sequences
- `protein` - Protein sequences
- `mesh` - Medical Subject Headings
- And many more...
## Key Features
- **Command-line access** to NCBI databases
- **Pipeline architecture** using Unix pipes
- **Structured data extraction** with XML parsing
- **Batch processing** capabilities
- **Cross-database linking** between records
## Getting Help
- Use `-help` with any EDirect command: `esearch -help`
- Consult the [official documentation](https://www.ncbi.nlm.nih.gov/books/NBK179288/)
- Check troubleshooting in installation guide
## Included Scripts
The `scripts/` directory contains ready-to-use bash scripts:
### `batch_fetch_abstracts.sh`
Fetch abstracts for a list of PMIDs with error handling and rate limiting.
```bash
./scripts/batch_fetch_abstracts.sh pmids.txt abstracts/ 0.5
```
### `search_export_csv.sh`
Search PubMed and export results to CSV with metadata.
```bash
./scripts/search_export_csv.sh "CRISPR [TIAB]" 100 results.csv
```
### `publication_trends.sh`
Analyze publication trends over time with visualization.
```bash
./scripts/publication_trends.sh "machine learning" 2010 2023 trends.csv
```
## Security Best Practices
### 1. Script Review
```bash
# Always download first and review scripts
wget -q SOURCE_URL -O script.sh
less script.sh # or cat script.sh | head -50
# Execute only after review
./script.sh
```
### 2. Environment Isolation
- Running in Docker containers provides isolation
- Use virtual machines for testing
- Set up dedicated user accounts
### 3. Least Privilege
- Do not run as root
- Set appropriate file permissions
- Use dedicated directories for data
### 4. Network Controls
- Configure firewall rules
- Use proxies for controlled access
- Monitor network traffic
## Notes
**Important**: This skill requires manual installation and configuration. All installation steps require explicit user confirmation and execution.
This skill provides command-line access to NCBI databases through local installation of EDirect tools.
把长文本、文档与网页内容压缩成要点和关键词的摘要工具。
通过 IMA OpenAPI 管理笔记与知识库内容。
规定如何为网页请求选择合适工具的必读指引。
调用百度 AI 搜索接口做网页检索的技能。
用 uvx 直接调用 markitdown,把各类文件转成 Markdown。
面向 OpenClaw 的默认网页搜索,实时检索多个引擎。
用 DuckDuckGo 接口做网页、新闻、图片与视频检索的技能。
检索并发现可用 OpenClaw 技能的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。