Tooluck logoTooluck
SKILL.md

ncbi-sequence-fetch

Agent skill fromgoogle-deepmind/science-skills

Retrieve protein and nucleotide sequences from NCBI databases using E-utilities. Supports direct accession lookup, CDS translation, gene+organism search, locus lookup, PubMed-linked sequences, patent protein extraction, and organism+length fallback search. Use when you need to fetch biological sequences by accession, gene name, locus tag, PubMed ID, or patent number.

How to install ncbi-sequence-fetch

install ncbi-sequence-fetch
# install the science-skills pack with the skills CLI
npx skills add google-deepmind/science-skills

# or add only this skill to Claude Code: copy the folder

skills/ncbi_sequence_fetch/

# into

~/.claude/skills/ncbi_sequence_fetch/ (all projects)

.claude/skills/ncbi_sequence_fetch/ (one project)

skills/ncbi_sequence_fetch/SKILL.md

Apache-2.0Full file
1# NCBI Sequence Fetch
2
3## Prerequisites
4
51. **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure
6 `uv` is installed and on PATH.
72. **User Notification**: If .licenses/ncbi_sequence_fetch_LICENSE.txt does not
8 already exist in the workspace root directory then (1) prominently notify
9 the user to check the terms at https://www.ncbi.nlm.nih.gov/ and
10 https://www.ncbi.nlm.nih.gov/home/about/policies/, then (2) create the file
11 recording the notification text and timestamp.
123. **`.env` file**: Make sure the `.env` file exists in your home directory.
13 Create one if it does not exist.
144. **`NCBI_API_KEY`** (optional): Raises the NCBI rate limit from 3 to 10
15 requests/second. The skill works without it, but a key is recommended if the
16 user plans many queries or encounters a 429 error. You can register for a
17 key for free at https://www.ncbi.nlm.nih.gov/account/settings/. You **MUST**
18 use the safe credentials protocol in the `credentials` skill to check for
19 and request this key if this skill looks relevant to the user's request.
20
21## Core Rules
22
23- **Use the Wrapper**: ALWAYS execute the provided helper scripts to query the
24 database rather than accessing the database directly. The scripts
25 automatically enforce the required rate limit gracefully.
26- **API Key Support**: If the user provides an `NCBI_API_KEY` in their
27 environment, the query speed limits are automatically increased
28 significantly.
29…

Excerpt shown under the repository's Apache-2.0 license.

More skills in science-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates