Logo Article Data Fetcher

Article Data Fetcher

Tổ chứcPhổ biến
ClawBio
article-data-fetcher

Nhập DOI hoặc PubMed ID của bài báo để tìm và tải các tệp dữ liệu hệ gen do tác giả gửi lên những kho lưu trữ công khai như GEO, ENA, Zenodo, Figshare, Dryad và OSF (VCF, FASTA, H5AD, CSV, JSON, BAM, v.v.).

Add to TypingMind

Tổng quan

Nhà phát hànhClawBio
Kho mãClawBio
Tên kỹ năngarticle-data-fetcher
Sao
1.2K
Bản fork
280
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ClawBio công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Article Data Fetcher trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ClawBio/ClawBio/tree/main/skills/article-data-fetcher
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Article Data Fetcher trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Article Data Fetcher ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Article Data Fetcher với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

🧬 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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Article Data Fetcher làm được gì?

Nhập DOI hoặc PubMed ID của bài báo để tìm và tải các tệp dữ liệu hệ gen do tác giả gửi lên những kho lưu trữ công khai như GEO, ENA, Zenodo, Figshare, Dryad và OSF (VCF, FASTA, H5AD, CSV, JSON, BAM, v.v.).

Vì sao nên dùng Article Data Fetcher trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Article Data Fetcher là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Article Data Fetcher trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ClawBio/ClawBio/tree/main/skills/article-data-fetcher. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Article Data Fetcher?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Article Data Fetcher với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Article Data Fetcher với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Article Data Fetcher có miễn phí không?

Có. Kỹ năng này được ClawBio phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇