Skip to content
Back to skills

Ncbi Gene Search

ASecurity

Use this skill to search NCBI Gene by symbol and organism, then fetch compact official Entrez Gene summaries. Do not use it for variant interpretation, transcript-level modeling, or bulk offline annotation.

  • 38 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
ai-agentspythongoapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill ncbi-gene-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ncbi Gene Search?

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

Security grade badge for Ncbi Gene Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-ncbi-gene-search/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-ncbi-gene-search)

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-gene-search
description: Use this skill to search NCBI Gene by symbol and organism, then fetch compact official Entrez Gene summaries. Do not use it for variant interpretation, transcript-level modeling, or bulk offline annotation.
---

## Purpose
Resolve a gene symbol through NCBI E-utilities and return concise Gene database summaries.

## When to use
- You need an official Entrez Gene identifier for a symbol and species.
- You want a quick NCBI summary before a larger genomics workflow.

## When not to use
- You need transcript-level coordinates or large-batch annotation.
- You need clinical interpretation or variant effect prediction.
- You need offline execution.

## Inputs
- Gene symbol
- Optional species, maximum result count, email, and output path

## Outputs
- JSON payload containing the query, matched Gene IDs, and compact gene summaries

## Requirements
- Python 3.10+
- Network access to `eutils.ncbi.nlm.nih.gov`

## Procedure
1. Run `python3 skills/genomics/ncbi-gene-search/scripts/search_ncbi_gene.py --symbol BRCA1 --species "homo sapiens" --retmax 1 --out skills/genomics/ncbi-gene-search/assets/brca1_gene_summary.json`.
2. Inspect the `genes` list for `gene_id`, `symbol`, `description`, `organism`, and `map_location`.
3. Use the NCBI gene ID in downstream lookup or literature workflows when needed.

## Validation
- Command exits successfully.
- `search.ids` contains at least one Gene ID for a known symbol.
- The first result has a non-empty `symbol` and `organism`.

## Failure modes and fixes
- No hits: confirm the symbol and organism spelling.
- Unexpected species: make the organism explicit with `--species`.
- Too many matches: lower `--retmax` and review the returned summaries.

## Safety and limits
- Metadata lookup only.
- This skill does not perform variant interpretation or clinical classification.

## Example
- `python3 skills/genomics/ncbi-gene-search/scripts/search_ncbi_gene.py --symbol TP53 --species "homo sapiens" --retmax 1`

## Provenance
- NCBI E-utilities: https://www.ncbi.nlm.nih.gov/books/NBK25501/
- NCBI Developer APIs: https://www.ncbi.nlm.nih.gov/home/develop/api/

## Related skills
- `ensembl-gene-lookup`
- `ncbi-pubmed-search`

Files in this skill

  • SKILL.md2.2 KB
  • assets/README.md184 B
  • assets/brca1_gene_summary.json2.5 KB
  • examples/README.md406 B
  • metadata.yaml906 B
  • refs.md228 B
  • scripts/search_ncbi_gene.py5.5 KB
  • tests/README.md190 B
  • tests/test_ncbi_gene_search.py5.5 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…