Agent skill

Ncbi Gene Retrieval

by InternScience in InternScience/scp

Retrieve gene information from NCBI Gene database by gene IDs to obtain genomic details, function, and expression data.

MITAuto-check passedResearch & Science

Install Ncbi Gene Retrieval

skills CLI
$ npx skills add InternScience/scp --skill ncbi-gene-retrieval -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install InternScience/scp ncbi-gene-retrieval --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/InternScience/scp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ncbi-gene-retrieval .claude/skills/ncbi-gene-retrieval && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ncbi-gene-retrieval
GitHub stars
170
Used in
1 other repo
Token cost
~599 tokens
SKILL.md length
30 words
Files
1
Skills in repo
73
Repo updated
First seen
Licence
MIT

At a glance

Retrieve gene information from NCBI Gene database by gene IDs to obtain genomic details, function, and expression data.

  • Tasks that involve Bioinformatics
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ncbi Gene Retrieval is an agent skill from InternScience/scp. Retrieve gene information from NCBI Gene database by gene IDs to obtain genomic details, function, and expression data.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Bioinformatics. It works with NCBI. The licence is MIT.

When your agent uses it

  • Tasks that involve Bioinformatics

Example prompts

  • “/ncbi-gene-retrieval”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit cea5398. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ncbi Gene Retrieval loads about 599 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 30 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~599

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from InternScience/scp at commit cea5398, republished under its MIT licence (© InternScience). 30 words, ~599 tokens.

Download SKILL.mdSave it as .claude/skills/ncbi-gene-retrieval/SKILL.md (or your agent's skills folder).
name
ncbi-gene-retrieval
description
Retrieve gene information from NCBI Gene database by gene IDs to obtain genomic details, function, and expression data.
license
MIT license
metadata.skill-author
PJLab

NCBI Gene Retrieval

Usage

python
import asyncio
import json
from mcp.client.streamable_http import streamablehttp_client
from mcp import ClientSession

class OrigeneClient:
    def __init__(self, server_url: str, api_key: str):
        self.server_url = server_url
        self.api_key = api_key
        self.session = None

    async def connect(self):
        try:
            self.transport = streamablehttp_client(url=self.server_url, headers={"SCP-HUB-API-KEY": self.api_key})
            self.read, self.write, self.get_session_id = await self.transport.__aenter__()
            self.session_ctx = ClientSession(self.read, self.write)
            self.session = await self.session_ctx.__aenter__()
            await self.session.initialize()
            return True
        except Exception as e:
            return False

    async def disconnect(self):
        if self.session:
            await self.session_ctx.__aexit__(None, None, None)
        if hasattr(self, 'transport'):
            await self.transport.__aexit__(None, None, None)

    def parse_result(self, result):
        if isinstance(result, dict):
            content_list = result.get("content") or []
        else:
            content_list = getattr(result, "content", []) or []
        texts = []
        for item in content_list:
            if isinstance(item, dict):
                if item.get("type") == "text":
                    texts.append(item.get("text") or "")
            else:
                if getattr(item, "type", None) == "text":
                    texts.append(getattr(item, "text", "") or "")
        return "".join(texts)

## Initialize and use
client = OrigeneClient("https://scp.intern-ai.org.cn/api/v1/mcp/9/Origene-NCBI", "<your-api-key>")
await client.connect()

result = await client.session.call_tool("get_gene_by_ids", arguments={"gene_ids": [59067, 50615]})
print(client.parse_result(result))

await client.disconnect()
Tool: get_gene_by_ids
  • Args: gene_ids (list) - NCBI gene IDs
  • Returns: Gene information including name, function, location, and expression
Use Cases
  • Gene annotation, functional genomics, disease gene research

© InternScience, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ncbi-gene-retrieval of InternScience/scp.

Open the folder on GitHubat commit cea5398

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in InternScience/scp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Ncbi Gene Retrieval next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ncbi Gene Retrieval compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ncbi Gene Retrieval this skillInternScience/scp1701 repos~599Automated safety check: PassMIT
Dbsnp Databasegoogle-deepmind/science-skills3.2k2 repos~3.4kAutomated safety check: NotesApache-2.0
Biopython Bioinformaticsaiming-lab/AutoResearchClaw15k—~810Automated safety check: PassMIT
Bio Write SequencesGPTomics/bioSkills1.2k3 repos~2.1kAutomated safety check: PassMIT
ETE Toolkit for Phylogenetic Treesdavila7/claude-code-templates33k11 repos~4.5kAutomated safety check: NotesMIT
Biopythondavila7/claude-code-templates33k12 repos~3.4kAutomated safety check: PassMIT

Similar skills

  • Dbsnp Database

    google-deepmind/science-skills

    A skill your agent uses when you want to look up, map, and search for short genetic variants (SNPs, indels) in NCBI's dbSNP database.

    3.2k GitHub starsUsed in 2 repos~3.4k tokens
    Research & ScienceAuto-check: notes
  • Biopython Bioinformatics

    aiming-lab/AutoResearchClaw

    Quick reference for Biopython work: sequence operations, SeqIO file parsing, BLAST searches, Entrez queries, phylogenetic trees and PDB structure analysis.

    15k GitHub stars~810 tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Bio Write Sequences

    GPTomics/bioSkills

    Write biological sequences to files (FASTA, FASTQ, GenBank, EMBL) using Biopython Bio.SeqIO.

    1.2k GitHub starsUsed in 3 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • ETE Toolkit for Phylogenetic Trees

    davila7/claude-code-templates

    Guides your agent through building, editing, comparing and drawing phylogenetic trees with the ETE Python toolkit, including orthology calls and NCBI taxonomy lookups.

    33k GitHub starsUsed in 11 repos~4.5k tokens
    Research & ScienceAuto-check: notes
  • Biopython

    davila7/claude-code-templates

    Primary Python toolkit for molecular biology. An agent skill from davila7/claude-code-templates.

    33k GitHub starsUsed in 12 repos~3.4k tokens
    Research & ScienceAuto-check passed
  • Clinvar Database

    davila7/claude-code-templates

    Query NCBI ClinVar for variant clinical significance. An agent skill from davila7/claude-code-templates.

    33k GitHub starsUsed in 10 repos~3.3k tokens
    Research & ScienceAuto-check passed

More from InternScience/scp

All 73 skills in this repo
  • Given an rsID, query multiple databases (dbSNP, FAVOR, GWAS Catalog, ClinVar, gnomAD, PharmGKB, ClinGen) for comprehensive annotation.

    170 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Calculate atmospheric parameters including Coriolis parameter, geostrophic wind, heat index, potential temperature, and dewpoint for meteorology and climate science.

    170 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Biomedical Web Search

    InternScience/scp

    Search biomedical literature and web content using Tavily search engine for research and clinical information.

    170 GitHub starsUsed in 1 repo~598 tokens
    Auto-check passed
  • Calculate buoyancy forces and acceleration for fluid mechanics and hydrodynamics analysis.

    170 GitHub starsUsed in 1 repo~540 tokens
    Auto-check passed
  • Capacitance Calculation

    InternScience/scp

    Calculate electrical capacitance from geometric parameters and dielectric properties for circuit design.

    170 GitHub starsUsed in 1 repo~537 tokens
    Auto-check passed
  • Chembl Molecule Search

    InternScience/scp

    Search ChEMBL database for molecule information by name to retrieve bioactivity data and chemical structures.

    170 GitHub starsUsed in 1 repo~757 tokens
    Auto-check passed

Works with

Questions about Ncbi Gene Retrieval

What does Ncbi Gene Retrieval do?

Retrieve gene information from NCBI Gene database by gene IDs to obtain genomic details, function, and expression data. Ncbi Gene Retrieval is an agent skill from InternScience/scp. Retrieve gene information from NCBI Gene database by gene IDs to obtain genomic details, function, and expression data.

When should I use Ncbi Gene Retrieval?

Ncbi Gene Retrieval fits situations like: tasks that involve Bioinformatics.

How do I install Ncbi Gene Retrieval in Claude Code?

Run `npx skills add InternScience/scp --skill ncbi-gene-retrieval -a claude-code`. Or copy the skill folder (skills/ncbi-gene-retrieval in InternScience/scp) into .claude/skills/ncbi-gene-retrieval in your project. Claude Code loads it when a task matches its description.

How do I install Ncbi Gene Retrieval in Codex?

Run `npx skills add InternScience/scp --skill ncbi-gene-retrieval -a codex`. Or copy the skill folder (skills/ncbi-gene-retrieval in InternScience/scp) into .agents/skills/ncbi-gene-retrieval in your project. Codex loads it when a task matches its description.

Can I use Ncbi Gene Retrieval in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add InternScience/scp --skill ncbi-gene-retrieval -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ncbi-gene-retrieval, .gemini/skills/ncbi-gene-retrieval, .github/skills/ncbi-gene-retrieval and .opencode/skills/ncbi-gene-retrieval in your project.

What does Ncbi Gene Retrieval need to run?

SKILL.md names no scripts, command-line tools or credentials: Ncbi Gene Retrieval is instructions for the agent only. Our summary lists: Python 3.

Does Ncbi Gene Retrieval access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ncbi Gene Retrieval safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ncbi Gene Retrieval use?

Ncbi Gene Retrieval is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ncbi Gene Retrieval use?

About 599 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ncbi Gene Retrieval?

Skills that share tags, products or a category with Ncbi Gene Retrieval: Dbsnp Database (google-deepmind/science-skills, 3.2k stars), Biopython Bioinformatics (aiming-lab/AutoResearchClaw, 15k stars), Bio Write Sequences (GPTomics/bioSkills, 1.2k stars) and ETE Toolkit for Phylogenetic Trees (davila7/claude-code-templates, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ncbi Gene Retrieval?

InternScience (a GitHub organization) maintains it in InternScience/scp, which has 170 GitHub stars. The repository holds 73 skills in this directory. The repository was last updated on June 3, 2026.

Source: InternScience/scp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.