Skip to content
Back to skills

Ncbi Genome Download

ASecurity

"Guide safe, reproducible NCBI genome retrieval with

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashtestingapidatabase

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 19 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill ncbi-genome-download --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ncbi Genome Download?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ncbi Genome Download
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-ncbi-genome-download/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-ncbi-genome-download)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ncbi-genome-download
description: "Guide safe, reproducible NCBI genome retrieval with
  ncbi-genome-download, including CLI/API filtering, dry runs, output integrity,
  metadata, and optional taxonomy expansion."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# ncbi-genome-download

Use this repo skill when a task needs to select, preview, retrieve, or organize
NCBI RefSeq/GenBank assembly files, or when a Python workflow needs the
`ncbi-genome-download` API. It targets package version 0.3.4 behavior and
keeps network and filesystem side effects explicit.

## Route the request

- **Choose assemblies, filters, CLI flags, or Python calls:** read
  [download-and-filter](sub-skills/download-and-filter/SKILL.md).
- **Choose output layout, checksum/re-run behavior, metadata TSV, parallelism,
  cache, or symlinks:** read
  [output-and-integrity](sub-skills/output-and-integrity/SKILL.md), usually
  after selecting candidates.
- **Expand a taxon name/parent TaxID into a file of descendant TaxIDs:** read
  [taxonomy-helper](sub-skills/taxonomy-helper/SKILL.md). It is optional and
  may download or update a local taxonomy database.
- **Check installation or package drift:** run the bundled
  [`scripts/check_install.py`](scripts/check_install.py), then read
  [troubleshooting](references/troubleshooting.md).

For a normal retrieval, first define `section`, `groups`, filters, formats, and
an output directory; run a dry run; inspect the candidate count; then remove
`--dry-run` only after network, disk, and output side effects are approved.
Use comma-separated option values without spaces after commas. A positional
group is required by the CLI even though the help text mentions an `all`
default.

## Install and smoke-check

The public distribution is `ncbi-genome-download` and provides both
`ncbi-genome-download` and `ngd` entry points:

```bash
python -m pip install ncbi-genome-download
python -c "import ncbi_genome_download as ngd; print(ngd.__version__)"
ncbi-genome-download --help
```

The base runtime uses `appdirs`, `requests`, and `tqdm`. The optional taxonomy
helper additionally needs ETE3 and its documented runtime dependencies; do not
install it unless that route is needed. For a source checkout, the package's
focused tests use the `testing` extra, but native tests are verification
artifacts rather than runtime dependencies of this skill.

## Cross-cutting operating rules

1. Prefer `--dry-run` to validate filters. It still retrieves assembly summary
   data, but it does not fetch checksum manifests or genome files.
2. Treat filters as an intersection. Status `1` with “No downloads matched
   your filter” means inspect section, group, exact names, list files, and
   filter combinations before broadening the request.
3. Treat status `75` as a temporary NCBI connection/chunked-transfer failure;
   use bounded `--retries` and inspect partial output. Status `0` does not by
   itself prove every worker's checksum succeeded.
4. Never treat a TaxID file, metadata table, or human-readable link tree as
   self-validating. Inspect headers, IDs, target paths, and checksums before
   downstream analysis.
5. Keep the original source checkout out of future runtime instructions. The
   bundled references and taxonomy helper are the portable replacements.

Read [repo provenance](references/repo-provenance.md) before deciding whether
this skill matches a changed checkout or whether a refresh is needed. Read
[cross-cutting troubleshooting](references/troubleshooting.md) for install,
network, cache, output, and optional-dependency symptoms that span routes.

Files in this skill

  • SKILL.md3.6 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json354 B
  • references/troubleshooting.md3.8 KB
  • scripts/check_install.py1.4 KB
  • sub-skills/download-and-filter/SKILL.md4.6 KB
  • sub-skills/download-and-filter/references/api-reference.md8 KB
  • sub-skills/download-and-filter/references/cli-reference.md7.5 KB
  • sub-skills/download-and-filter/references/filtering-and-data.md8.2 KB
  • sub-skills/download-and-filter/references/troubleshooting.md7.6 KB
  • sub-skills/output-and-integrity/SKILL.md6.9 KB
  • sub-skills/output-and-integrity/references/checksums-resume.md6.6 KB
  • sub-skills/output-and-integrity/references/metadata-and-concurrency.md6.1 KB
  • sub-skills/output-and-integrity/references/output-layout.md5.9 KB
  • sub-skills/output-and-integrity/references/troubleshooting.md8.2 KB
  • sub-skills/taxonomy-helper/SKILL.md4.3 KB
  • sub-skills/taxonomy-helper/references/dependencies-and-troubleshooting.md5.6 KB
  • sub-skills/taxonomy-helper/references/workflow.md5.3 KB
  • sub-skills/taxonomy-helper/scripts/gimme_taxa.py6.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.