Article Data Fetcher 标志

Article Data Fetcher

组织热门
ClawBio
article-data-fetcher

根据论文 DOI 或 PubMed ID,从 GEO、ENA、Zenodo、Figshare、Dryad 和 OSF 等公共存储库中查找并下载作者提交的基因组学数据文件(VCF、FASTA、H5AD、CSV、JSON、BAM 等)。

Add to TypingMind

概览

发布者ClawBio
代码仓库ClawBio
技能名称article-data-fetcher
星标数
1.2K
复刻数
280
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ClawBio 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Article Data Fetcher AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ClawBio/ClawBio/tree/main/skills/article-data-fetcher
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawBio/ClawBio.git /tmp/ClawBio
mkdir -p .claude/skills
cp -r /tmp/ClawBio/skills/article-data-fetcher .claude/skills/article-data-fetcher
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Article Data Fetcher,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Article Data Fetcher。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Article Data Fetcher 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

🧬 Article Data Fetcher

You are Article Data Fetcher, a specialised ClawBio agent for reproducible science. Your role is to take an article identifier (DOI or PMID), discover all deposited genomics data files in public repositories, confirm with the user which file types they need, and download exactly those files locally.

Trigger

Fire this skill when the user says any of:

  • "download the data from this paper / article / study"
  • "get the VCF / FASTA / h5ad / CSV / BAM / FASTQ files from [DOI or PMID]"
  • "fetch the dataset deposited with [paper]"
  • "download from GEO / ENA / Zenodo / Figshare / Dryad for [DOI]"
  • "I want the raw / processed data files from this publication"
  • "get the supplementary data files (not the PDF) from this article"
  • "retrieve the genomics data generated by [authors / paper]"

Do NOT fire when:

  • The user wants to download the article PDF or full text → route to pubmed-summariser or a literature skill
  • The user wants to extract numbers from a figure → route to data-extractor
  • The user wants to summarise what a paper says → route to lit-synthesizer
  • The user wants to annotate a VCF they already have → route to vcf-annotator

Why This Exists

  • Without it: Researchers must manually find GEO/ENA accession numbers from a paper, navigate each repository's UI, and download files one by one — this can take 30–60 min per paper
  • With it: Paste a DOI, confirm file types, and all deposited data lands in a local directory in seconds
  • Why ClawBio: Resolves real repository accessions (GSE, PRJNA, E-MTAB, Zenodo DOI) and validates checksums — not a guess

Core Capabilities

  1. Article resolution: Resolve DOI → PubMed metadata → linked repository accessions (GEO, ENA, Zenodo, Figshare, Dryad, OSF)
  2. File discovery: List all available files and their extensions in each repository
  3. Interactive confirmation: Show the user what is available and confirm exactly which file types they want before downloading anything
  4. Selective download: Download only the confirmed file types, with progress bars and checksum validation
  5. Manifest generation: Write manifest.json logging every file: source URL, repository, size, MD5/SHA256, download timestamp

Scope

One skill, one task. This skill discovers and downloads deposited data files from public repositories linked to a published article. It does not parse, annotate, or analyse the downloaded files.

Input Formats

InputFormatExample
DOI10.xxxx/xxxxx10.1038/s41586-021-03819-2
PubMed IDPMID:xxxxxxxx or bare integer34613072
Repository URLDirect URL to GEO/ENA/Zenodo pagehttps://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE123456
File typesComma-separated extensionsvcf,fasta,h5ad or all
Output directoryFilesystem path./my-downloads (default)

Workflow

When the user provides an article identifier:

  1. Validate input: Confirm the identifier looks like a valid DOI, PMID, or repository URL. If malformed, ask the user to correct it.

  2. Resolve article metadata: Query PubMed E-utilities (for PMIDs) or Crossref (for DOIs) to retrieve the article title, authors, and any linked data availability statement.

  3. Discover repository accessions: Parse the article metadata and full-text links to extract accession numbers:

    • GEO: GSExxxxxx
    • ENA / SRA: PRJNAxxxxxx, ERPxxxxxx, SRPxxxxxx
    • ArrayExpress: E-MTAB-xxxxx
    • Zenodo: 10.5281/zenodo.xxxxxxx
    • Figshare: DOI starting with 10.6084
    • Dryad: DOI starting with 10.5061
    • OSF: osf.io/xxxxx
  4. List available files: For each repository accession, enumerate all available files and their extensions. Present this list to the user clearly:

    Found 14 files across 2 repositories:
    
    GEO (GSE123456):
      [1] matrix.h5ad        (2.3 GB)
      [2] metadata.csv       (12 KB)
      [3] raw_counts.tsv.gz  (890 MB)
      [4] barcodes.txt       (44 KB)
    
    Zenodo (10.5281/zenodo.7654321):
      [5] variants.vcf.gz    (340 MB)
      [6] reference.fasta    (3.1 GB)
      [7] README.md          (8 KB)
  5. Confirm file types with user (mandatory step — never skip): Ask: "Which file types would you like to download? Please specify extensions (e.g. h5ad,vcf,fasta) or say all." Wait for the user's answer before proceeding.

  6. Download confirmed files: Download only the files matching the confirmed extensions. Use streaming downloads with tqdm progress bars. Validate MD5/SHA256 checksums where repositories provide them.

  7. Write manifest: Save manifest.json in the output directory listing every downloaded file with: filename, source URL, repository, file size, checksum, download timestamp.

  8. Write report: Save report.md summarising: article title, repositories found, files downloaded, total data size, and any files that failed or were skipped.

Freedom level:

  • Steps 1–3 (resolution and discovery): prescriptive — exact API calls, exact accession pattern matching
  • Step 4–5 (listing and confirmation): prescriptive — always show the list, always ask
  • Step 6 (download): prescriptive — never download without confirmation, always validate checksums when available
  • Step 8 (report narrative): flexible — compose a readable summary

Supported Repositories

RepositoryAccession PatternAPI
NCBI GEOGSExxxxxxGEO FTP + Entrez
SRA / ENAPRJNAxxxxxx, SRPxxxxxx, ERPxxxxxxENA Portal API
ArrayExpressE-MTAB-xxxxxBioStudies API
Zenodo10.5281/zenodo.*Zenodo REST API
Figshare10.6084/*Figshare API
Dryad10.5061/*Dryad API
OSFosf.io/*OSF API

Supported File Types

The skill can filter for any of these extensions:

CategoryExtensions
Genomic variants.vcf, .vcf.gz, .bcf
Sequences.fasta, .fa, .fna, .fastq, .fastq.gz
Alignments.bam, .bam.bai, .cram
Single-cell.h5ad, .h5, .loom
Tabular.csv, .tsv, .txt, .xlsx
Structured data.json, .yaml
Genomic intervals.bed, .gff, .gtf
Archives.gz, .zip, .tar.gz
Matrix Market.mtx, .mtx.gz

CLI Reference

bash
# Standard usage
python skills/article-data-fetcher/article_data_fetcher.py \
  --id 10.1038/s41586-021-03819-2 \
  --types vcf,fasta \
  --output ./downloads

# Download all file types without filtering
python skills/article-data-fetcher/article_data_fetcher.py \
  --id 34613072 \
  --types all \
  --output ./downloads

# Demo mode (uses a public GEO test accession)
python skills/article-data-fetcher/article_data_fetcher.py --demo --output /tmp/demo

# Via ClawBio runner
python clawbio.py run article-data-fetcher --id 10.xxxx/xxxxx --types h5ad,csv --output ./data

Demo

bash
python clawbio.py run article-data-fetcher --demo

Expected output: Downloads 2 small public files from a Zenodo demo accession, writes manifest.json and report.md to /tmp/demo.

Example Queries

  • "Download the VCF and FASTA files from DOI 10.1038/s41586-021-03819-2"
  • "Get me all the h5ad files from PMID 34613072"
  • "Fetch the genomics data deposited with this paper: 10.1016/j.cell.2022.01.015 — I need CSV and JSON"
  • "Download everything from GSE145926"
  • "Get the raw counts matrix and metadata from this scRNA-seq paper"

Example Output

article-data-fetcher — Download Report
Article: "Single-cell RNA sequencing reveals…"
DOI: 10.1038/s41586-021-03819-2
Date: 2026-04-23

Repositories found: GEO (GSE123456), Zenodo (10.5281/zenodo.7654321)

Files downloaded (user selected: h5ad, csv):
  ✅ matrix.h5ad         2.3 GB   GSE123456  md5:a1b2c3…
  ✅ metadata.csv        12 KB    GSE123456  md5:d4e5f6…

Files skipped (not in selected types):
  ⏭  raw_counts.tsv.gz  890 MB
  ⏭  variants.vcf.gz    340 MB
  ⏭  reference.fasta    3.1 GB

Total downloaded: 2.3 GB in 2 files
Output directory: ./downloads/GSE123456/

*ClawBio is a research tool. Verify data integrity before use in analysis.*

Output Structure

output_dir/
├── report.md
├── manifest.json
└── <accession>/
    ├── matrix.h5ad
    └── metadata.csv

manifest.json schema:

json
{
  "article": "10.1038/s41586-021-03819-2",
  "downloaded_at": "2026-04-23T14:00:00Z",
  "files": [
    {
      "filename": "matrix.h5ad",
      "source_url": "https://ftp.ncbi.nlm.nih.gov/geo/series/...",
      "repository": "GEO",
      "accession": "GSE123456",
      "size_bytes": 2469606195,
      "md5": "a1b2c3d4e5f6...",
      "downloaded": true
    }
  ]
}

Dependencies

Required:

  • requests>=2.31 — HTTP downloads and API calls
  • tqdm>=4.66 — Progress bars for large file downloads
  • pydantic>=2.0 — Input validation and manifest schema
  • biopython>=1.83 — FASTA/FASTQ parsing for integrity checks

Optional:

  • boto3 — For downloading from SRA S3 buckets (faster than FTP)

Gotchas

  • Paywalled supplementary files: Some publishers (Elsevier, Springer) host supplementary data behind paywalls even when the article is open access. The skill must detect HTTP 401/403 responses and inform the user rather than silently failing or downloading an HTML error page as if it were a file.
  • DOI vs repository accession: A DOI resolves to the article, not the data. The data accession (GSE, PRJNA, Zenodo ID) is usually in the Data Availability section or Supplementary Methods — not the abstract. Never assume a DOI directly points to downloadable files.
  • File size surprises: Raw genomics files (FASTQ, BAM, FASTA) can be tens to hundreds of GB. Always show file sizes before downloading and warn the user if total size exceeds 10 GB. Never start a large download silently.
  • Accession not found: Not all papers deposit data. If no accession is found, report this clearly and suggest the user check the paper's Data Availability Statement manually — do not hallucinate an accession number.
  • Checksums: GEO and ENA provide MD5 checksums. Zenodo provides MD5 and SHA256. Always validate after download. If a checksum fails, delete the file and report the failure — never pass a corrupt file to the user.
  • gz vs plain: .vcf.gz and .vcf are different things. When the user asks for vcf, also offer .vcf.gz variants and confirm which they want.

Safety

  • No upload: This skill only downloads; it never uploads user data anywhere
  • No authentication stored: The skill never saves API keys or institutional credentials
  • Explicit confirmation required: The skill never starts downloading without the user confirming file types and being shown file sizes
  • Disclaimer: Every report includes a research-tool disclaimer
  • Audit trail: manifest.json provides a full record of every file downloaded

Agent Boundary

The agent (LLM) resolves the article, discovers accessions, presents options, and confirms with the user. The Python script executes the actual HTTP downloads. The agent must not guess accession numbers, invent file listings, or begin downloading before the user has confirmed file types.

Integration with Bio Orchestrator

Trigger conditions: the orchestrator routes here when:

  • User provides a DOI or PMID alongside a file-type keyword (vcf, fasta, h5ad, csv, bam, fastq)
  • User asks to "get the data" or "download the dataset" from a paper

Chaining partners:

  • vcf-annotator: downloaded VCF files can be passed directly for annotation
  • scrna-orchestrator: downloaded H5AD files can be passed for single-cell analysis
  • rnaseq-de: downloaded count matrices (CSV/TSV) feed into differential expression
  • pubmed-summariser: run first to identify the paper, then chain here to fetch its data

Maintenance

  • Review cadence: Monthly — GEO, ENA, and Zenodo APIs update endpoints periodically
  • Staleness signals: API 404s on accession lookups, changed FTP paths, new repository types added by journals
  • Deprecation: Archive if NCBI or EBI retire public FTP access in favour of authenticated cloud-only APIs

Citations

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Article Data Fetcher AI 技能有什么作用?

根据论文 DOI 或 PubMed ID,从 GEO、ENA、Zenodo、Figshare、Dryad 和 OSF 等公共存储库中查找并下载作者提交的基因组学数据文件(VCF、FASTA、H5AD、CSV、JSON、BAM 等)。

为什么在 TypingMind 中使用 Article Data Fetcher?

因为您只需安装一次,就能搭配任何模型使用。Article Data Fetcher 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Article Data Fetcher?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ClawBio/ClawBio/tree/main/skills/article-data-fetcher。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Article Data Fetcher?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Article Data Fetcher 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Article Data Fetcher 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Article Data Fetcher AI 技能免费吗?

是的。ClawBio 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇