Search and retrieve literature from PubMed using NCBI's EDirect command-line tools. ⚠️ Advanced skill requiring manual installation.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install pubmed-edirect或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install pubmed-edirect⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/pubmed-edirect/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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 ---
Search and retrieve literature from PubMed using NCBI's EDirect command-line tools.
Important: This skill requires installation of external command-line tools. The installation process involves:
Before installation, you must:
ftp.ncbi.nlm.nih.gov domain)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 guide for local setup.
The skill is organized into the following files:
INSTALL.md - Installation and configuration guideBASICS.md - Basic usage and common commandsADVANCED.md - Advanced techniques and complex queriesEXAMPLES.md - Practical usage examplesREFERENCE.md - Quick reference (field qualifiers, formats, etc.)OPENCLAW_INTEGRATION.md - OpenClaw-specific usage guidescripts/ - Useful bash scripts for common tasks```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 ```
```bash esearch -db pubmed -query "test" -retmax 1 ```
The skill provides access to EDirect tools through OpenClaw's exec capability:
esearch - Search databasesefetch - Retrieve recordselink - Find related recordsefilter - Filter resultsxtract - Extract data from XMLeinfo - Get database informationEDirect supports numerous NCBI databases including:
pubmed - Biomedical literaturepmc - PubMed Central full-text articlesgene - Gene informationnuccore - Nucleotide sequencesprotein - Protein sequencesmesh - Medical Subject Headings-help with any EDirect command: esearch -helpThe scripts/ directory contains ready-to-use bash scripts:
batch_fetch_abstracts.shFetch abstracts for a list of PMIDs with error handling and rate limiting.
./scripts/batch_fetch_abstracts.sh pmids.txt abstracts/ 0.5
search_export_csv.shSearch PubMed and export results to CSV with metadata.
./scripts/search_export_csv.sh "CRISPR [TIAB]" 100 results.csv
publication_trends.shAnalyze publication trends over time with visualization.
./scripts/publication_trends.sh "machine learning" 2010 2023 trends.csv
# 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
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.
安装 Pubmed Edirect 后,可以对 AI 说这些话来触发它
Help me get started with Pubmed Edirect
Explains what Pubmed Edirect does, walks through the setup, and runs a quick demo based on your current project
Use Pubmed Edirect to search and retrieve literature from PubMed using NCBI's EDirect com...
Invokes Pubmed Edirect with the right parameters and returns the result directly in the conversation
What can I do with Pubmed Edirect in my data & analytics workflow?
Lists the top use cases for Pubmed Edirect, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/pubmed-edirect/ 目录(个人级,所有项目可用),或 .claude/skills/pubmed-edirect/(项目级)。重启 AI 客户端后,用 /pubmed-edirect 主动调用,或让 AI 根据上下文自动发现并使用。
Pubmed Edirect 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Pubmed Edirect 可免费安装使用。请查阅仓库了解许可证信息。
Search and retrieve literature from PubMed using NCBI's EDirect command-line tools. ⚠️ Advanced skill requiring manual installation.
Pubmed Edirect 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Pubmed Edirect
Identifies repetitive steps in your workflow and sets up Pubmed Edirect to handle them automatically