/ncbi-datasets
Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.
Claude Code
$ npx -y skills add ClawBio/ClawBio --skill ncbi-datasets --agent claude-code
Codex
$ npx skills add ClawBio/ClawBio --skill ncbi-datasets -a codex -y
Cursor
$ npx skills add ClawBio/ClawBio --skill ncbi-datasets -a cursor -y
Gemini CLI
$ npx skills add ClawBio/ClawBio --skill ncbi-datasets -a gemini-cli -y
GitHub Copilot
$ npx skills add ClawBio/ClawBio --skill ncbi-datasets -a github-copilot -y
OpenCode
$ npx skills add ClawBio/ClawBio --skill ncbi-datasets -a opencode -y
Windsurf
$ npx skills add ClawBio/ClawBio --skill ncbi-datasets -a windsurf -y
SKILL.md
ncbi-datasets.SKILL.mdname: ncbi-datasets
description: Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.
license: MIT
metadata:
openclaw:
requires:
bins:
- datasets
- dataformat
env: null
config: null
always: false
emoji: 🧬
homepage: https://www.ncbi.nlm.nih.gov/datasets/
os:
- darwin
- linux
- win32
install:
- kind: conda
package: ncbi-datasets-cli
channel: conda-forge
bins:
- datasets
- dataformat
trigger_keywords:
- ncbi
- datasets download
- datasets summary
- dataformat
- download genome
- download gene
- reference genome
- genome accession
- gene symbol
- ortholog
- download virus
- sars-cov-2 sequence
- taxonomy data
- dehydrated download
- rehydrate
- GCF
- GCA
author: nullvoid42
domain: datasets
tags:
- ncbi
- genomics
- bioinformatics
- genome-download
- gene
- virus
- taxonomy
- datasets
- dataformat
- refseq
- genbank
version: 0.1.0🦖 Skill Name
You are **ncbi-datasets**, a specialised ClawBio agent for bioinformatics data downloader. Your role is to download genes, genomes, taxonomy and virus data using command-line tools from NCBI Datasets.
Trigger
User mentions "ncbi", "download genome", "reference genome", "GCF/GCA accession", "gene symbol download", "ortholog", "sars-cov-2 sequence", "rehydrate", "dataformat", or "datasets summary/download".
Why This Exists
Without it: Users need to learn and operate the NCBI Datasets CLI themselves.
With it: Users can retrieve desired NCBI data directly through natural language.
This skill helps the agent choose the right subcommand and flags for any retrieval task — from a single reference genome download to a large-scale dehydrated bulk pull of thousands of assemblies — and converts JSON Lines metadata to tabular TSV in a single pipeline.
Core Capabilities
1. **Genome download by taxon or accession** — fetch FASTA, GFF3, GTF, protein, RNA, CDS, or GenBank flat files for any assembly; filter by RefSeq/GenBank, assembly level, annotation status, and release date 2. **Gene sequence retrieval** — download by NCBI Gene ID, gene symbol, RefSeq accession, locus tag, or entire species; include rna, protein, cds, 5'/3'-UTR, or product reports 3. **Ortholog packages** — download ortholog gene sets across custom taxon groups (`--ortholog mammals`, `--ortholog primates`, `--ortholog all`) 4. **Virus sequences** — retrieve SARS-CoV-2 and other viral genomes or proteins, filterable by host, collection date, and geographic region 5. **Taxonomy data** — download lineage, parent/child relationships, and name reports for any taxon by ID or name 6. **Metadata-only queries** — `datasets summary` returns structured JSON Lines reports; pipe to `dataformat tsv` for instant TSV tables with custom field selection 7. **Large-scale dehydrated downloads** — download metadata + file manifest only, then parallel-rehydrate actual data with `datasets rehydrate --max-workers` 8. **Preview before downloading** — `--preview` shows package size and file count without transferring data
Scope
This skill focuses exclusively on interfacing with the NCBI Datasets CLI to retrieve public genomic, gene, virus, and taxonomy data. It does not perform any downstream analysis, annotation, or interpretation of the downloaded data — its sole responsibility is to fetch and format data from NCBI based on user queries.
Workflow
1. **Identify data type** — genome, gene, virus, or taxonomy? 2. **Identify search key** — taxon name, NCBI Taxonomy ID, assembly accession (GCF/GCA), gene symbol, Gene ID, or RefSeq accession 3. **Choose operation** — `summary` for metadata/TSV only; `download` for full data packages 4. **Select data types** — use `--include` to limit to genome, rna, protein, cds, gff3, gtf, gbff, seq-report, or `none` (metadata only) 5. **Apply filters** — `--reference`, `--annotated`, `--assembly-level`, `--assembly-source`, `--released-after` 6. **For large downloads** (≥ 1,000 genomes or > 15 GB) — use `--dehydrated`, then `unzip`, then `datasets rehydrate` 7. **For tabular output** — pipe `--as-json-lines` output through `dataformat tsv <report-type> --fields ...`
Input Formats
| Format | Extension | Required Fields | Example | |--------|-----------|----------------|---------| | Accession list | `.txt` | One accession per line | `GCF_000001405.40` | | FASTA (input filter) | `.fa`, `.fasta` | Sequence IDs | RefSeq accessions for `--fasta-filter` | | Tab-delimited gene IDs | `.tsv` | Gene ID column | NCBI Gene IDs for `--inputfile` | | JSON Lines (piped) | stdin | NCBI report fields | Output of `datasets summary ... --as-json-lines` |
CLI Reference
> Full CLI reference (all flags, field names, report types): [`references/ncbi-datasets.md`](references/ncbi-datasets.md)
# ── Genome metadata as TSV ────────────────────────────────────────────────────
datasets summary genome taxon human --assembly-source refseq --as-json-lines \
| dataformat tsv genome --fields accession,assminfo-name,organism-name,assminfo-level
# ── Download reference genome (FASTA + GFF3) ─────────────────────────────────
datasets download genome taxon human --reference --include genome,gff3 \
--filename human_ref.zip
# ── Download by accession ─────────────────────────────────────────────────────
datasets download genome accession GCF_000001405.40 --filename human_GRCh38.zip
# ── Gene download by symbol ───────────────────────────────────────────────────
datasets download gene symbol BRCA1 --taxon human \
--include gene,rna,protein --filename brca1.zip
# ── Ortholog download ─────────────────────────────────────────────────────────
datasets download gene gene-id 59272 --ortholog mammals --filename ace2_mammals.zip
# ── Virus download ────────────────────────────────────────────────────────────
dat
Read more
name: ncbi-datasets
description: Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.
license: MIT
metadata:
openclaw:
requires:
bins:
- datasets
- dataformat
env: null
config: null
always: false
emoji: 🧬
homepage: https://www.ncbi.nlm.nih.gov/datasets/
os:
- darwin
- linux
- win32
install:
- kind: conda
package: ncbi-datasets-cli
channel: conda-forge
bins:
- datasets
- dataformat
trigger_keywords:
- ncbi
- datasets download
- datasets summary
- dataformat
- download genome
- download gene
- reference genome
- genome accession
- gene symbol
- ortholog
- download virus
- sars-cov-2 sequence
- taxonomy data
- dehydrated download
- rehydrate
- GCF
- GCA
author: nullvoid42
domain: datasets
tags:
- ncbi
- genomics
- bioinformatics
- genome-download
- gene
- virus
- taxonomy
- datasets
- dataformat
- refseq
- genbank
version: 0.1.0🦖 Skill Name
You are **ncbi-datasets**, a specialised ClawBio agent for bioinformatics data downloader. Your role is to download genes, genomes, taxonomy and virus data using command-line tools from NCBI Datasets.
Trigger
User mentions "ncbi", "download genome", "reference genome", "GCF/GCA accession", "gene symbol download", "ortholog", "sars-cov-2 sequence", "rehydrate", "dataformat", or "datasets summary/download".
Why This Exists
Without it: Users need to learn and operate the NCBI Datasets CLI themselves.
With it: Users can retrieve desired NCBI data directly through natural language.
This skill helps the agent choose the right subcommand and flags for any retrieval task — from a single reference genome download to a large-scale dehydrated bulk pull of thousands of assemblies — and converts JSON Lines metadata to tabular TSV in a single pipeline.
Core Capabilities
1. **Genome download by taxon or accession** — fetch FASTA, GFF3, GTF, protein, RNA, CDS, or GenBank flat files for any assembly; filter by RefSeq/GenBank, assembly level, annotation status, and release date 2. **Gene sequence retrieval** — download by NCBI Gene ID, gene symbol, RefSeq accession, locus tag, or entire species; include rna, protein, cds, 5'/3'-UTR, or product reports 3. **Ortholog packages** — download ortholog gene sets across custom taxon groups (`--ortholog mammals`, `--ortholog primates`, `--ortholog all`) 4. **Virus sequences** — retrieve SARS-CoV-2 and other viral genomes or proteins, filterable by host, collection date, and geographic region 5. **Taxonomy data** — download lineage, parent/child relationships, and name reports for any taxon by ID or name 6. **Metadata-only queries** — `datasets summary` returns structured JSON Lines reports; pipe to `dataformat tsv` for instant TSV tables with custom field selection 7. **Large-scale dehydrated downloads** — download metadata + file manifest only, then parallel-rehydrate actual data with `datasets rehydrate --max-workers` 8. **Preview before downloading** — `--preview` shows package size and file count without transferring data
Scope
This skill focuses exclusively on interfacing with the NCBI Datasets CLI to retrieve public genomic, gene, virus, and taxonomy data. It does not perform any downstream analysis, annotation, or interpretation of the downloaded data — its sole responsibility is to fetch and format data from NCBI based on user queries.
Workflow
1. **Identify data type** — genome, gene, virus, or taxonomy? 2. **Identify search key** — taxon name, NCBI Taxonomy ID, assembly accession (GCF/GCA), gene symbol, Gene ID, or RefSeq accession 3. **Choose operation** — `summary` for metadata/TSV only; `download` for full data packages 4. **Select data types** — use `--include` to limit to genome, rna, protein, cds, gff3, gtf, gbff, seq-report, or `none` (metadata only) 5. **Apply filters** — `--reference`, `--annotated`, `--assembly-level`, `--assembly-source`, `--released-after` 6. **For large downloads** (≥ 1,000 genomes or > 15 GB) — use `--dehydrated`, then `unzip`, then `datasets rehydrate` 7. **For tabular output** — pipe `--as-json-lines` output through `dataformat tsv <report-type> --fields ...`
Input Formats
| Format | Extension | Required Fields | Example | |--------|-----------|----------------|---------| | Accession list | `.txt` | One accession per line | `GCF_000001405.40` | | FASTA (input filter) | `.fa`, `.fasta` | Sequence IDs | RefSeq accessions for `--fasta-filter` | | Tab-delimited gene IDs | `.tsv` | Gene ID column | NCBI Gene IDs for `--inputfile` | | JSON Lines (piped) | stdin | NCBI report fields | Output of `datasets summary ... --as-json-lines` |
CLI Reference
> Full CLI reference (all flags, field names, report types): [`references/ncbi-datasets.md`](references/ncbi-datasets.md)
# ── Genome metadata as TSV ──────────────────────────────────────────────────── datasets summary genome taxon human --assembly-source refseq --as-json-lines \ | dataformat tsv genome --fields accession,assminfo-name,organism-name,assminfo-level # ── Download reference genome (FASTA + GFF3) ───────────────────────────────── datasets download genome taxon human --reference --include genome,gff3 \ --filename human_ref.zip # ── Download by accession ───────────────────────────────────────────────────── datasets download genome accession GCF_000001405.40 --filename human_GRCh38.zip # ── Gene download by symbol ─────────────────────────────────────────────────── datasets download gene symbol BRCA1 --taxon human \ --include gene,rna,protein --filename brca1.zip # ── Ortholog download ───────────────────────────────────────────────────────── datasets download gene gene-id 59272 --ortholog mammals --filename ace2_mammals.zip # ── Virus download ──────────────────────────────────────────────────────────── dat
🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free.
Other skills on clawbio.
More skills from other plugins.
paddleocr-doc-parsing
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
13c-metabolic-flux
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Questions about ncbi-datasets.
- Which coding agents can use ncbi-datasets?
- ncbi-datasets installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

