Skip to content

Retrieves protein and nucleotide sequences from NCBI through E-utilities, with ten cascading lookup routes.

CCM score
71 of 100
skills.sh installs
2.4K
GitHub stars
3.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers direct accession fetches, CDS translation, gene and locus searches, PubMed-linked proteins, patent extraction, and organism-length fallback
  • Includes the scripts/ncbi_fetch.py subcommands, each writing structured JSON with an optional --output file
  • Enforces the wrapper-script rule so queries pass through the built-in NCBI rate limiter, and requires a one-time terms notice
  • Designed for researchers who need sequences by accession, gene name, locus tag, PubMed ID, or patent number

Install

$ npx -y skills add google-deepmind/science-skills --skill ncbi-sequence-fetch -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

NCBI Sequence Fetch

Prerequisites

  1. uv: Read the uv skill and follow its Setup instructions to ensure uv is installed and on PATH.
  2. User Notification: If .licenses/ncbi_sequence_fetch_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://www.ncbi.nlm.nih.gov/ and https://www.ncbi.nlm.nih.gov/home/about/policies/, then (2) create the file recording the notification text and timestamp.
  3. .env file: Make sure the .env file exists in your home directory. Create one if it does not exist.
  4. NCBI_API_KEY (optional): Raises the NCBI rate limit from 3 to 10 requests/second. The skill works without it, but a key is recommended if the user plans many queries or encounters a 429 error. You can register for a key for free at https://www.ncbi.nlm.nih.gov/account/settings/. You MUST use the safe credentials protocol in the credentials skill to check for and request this key if this skill looks relevant to the user's request.

Core Rules

Details

Repository
github.com/google-deepmind/science-skills
Categories
Research & Academic, Databases, Data Science & Analytics
First seen
Jul 14, 2026

Questions

What does the ncbi-sequence-fetch skill do?

It retrieves protein and nucleotide sequences from NCBI databases using E-utilities, supporting lookup by accession, gene name with organism, locus tag, PubMed ID, and patent number. It also offers CDS translation and an organism plus length fallback search. Results are written as structured JSON or printed as a readable summary.

How do I install the ncbi-sequence-fetch skill?

Run npx -y skills add google-deepmind/science-skills --skill ncbi-sequence-fetch -y in your project. Once installed, the agent can fetch biological sequences from NCBI by accession, gene name, locus tag, PubMed ID, or patent number.

Does ncbi-sequence-fetch need an API key or special setup?

An NCBI_API_KEY is optional but recommended for many queries, since it raises the rate limit from 3 to 10 requests per second. The skill also requires uv to be installed and a .env file in your home directory. It asks you to acknowledge NCBI's terms before first use.

Where does ncbi-sequence-fetch rank in the Research & Academic category?

It is in the Research & Academic category, alongside skills such as research, paper-context-resolver and repo-intake-and-plan. It sets itself apart by focusing on sequence retrieval from NCBI, covering ten subcommands for accession, CDS, locus, PubMed and patent lookups.

More from google-deepmind/science-skills

All 36

Similar to Ncbi Sequence Fetch

More Research & Academic