Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

ensembl-skill — Codex skill: what it does, how to install

Runs lightweight Ensembl REST API queries to deliver concise summaries of genes, genomic regions, and genetic variations.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill ensembl-skill -a codex
Open on GitHub

What ensembl-skill does

The skill talks to https://rest.ensembl.org through a bundled Python helper scripts/rest_request.py. Rather than flooding the context window with large JSON payloads, it converts biological records into short Markdown summaries. Raw JSON output is printed only when explicitly requested.

It focuses on standard Ensembl endpoints: identifier lookups (lookup/id/<id>), region overlaps (overlap/region/<species>/<region>), cross-references (xrefs/id/<id>), and variant records (variation/<species>/<id>). For region queries, the script limits output with max_items=10 to avoid context bloat.

Because the helper reads input parameters as JSON from standard input, Python must be available in the local environment. When complete uncompressed responses are needed, setting save_raw=true alongside raw_output_path dumps the payload directly to a file.

What it helps with

  • fetch gene details by Ensembl identifier
  • inspect genomic features overlapping a chromosomal region
  • retrieve cross-references for a biological entity
  • query variant annotations across species

Example prompts for the agent

  • Look up gene ENSG00000141510 in Ensembl
  • Find overlapping genes in region homo_sapiens 1:1000000-1002000
  • Fetch cross-references for this Ensembl ID and summarize them

How to install ensembl-skill

1Skills CLI (Vercel)

npx skills add openai/plugins --skill ensembl-skill -a codex

2Manually: put the files in place

.agents/skills/ensembl-skill/SKILL.md

For all projects use ~/.agents/skills/

Step by step, with commands for each platform: Codex skills: how to install, where they live, how to call them

Questions about ensembl-skill

How to install ensembl-skill in Codex?

Run npx skills add openai/plugins --skill ensembl-skill. To target the Codex environment explicitly, run npx skills add openai/plugins --skill ensembl-skill -a codex.

What does ensembl-skill do?

It queries the Ensembl REST API via a local Python script to fetch gene metadata, chromosome overlaps, and variants. By default, it condenses responses into readable Markdown summaries.

How do I get the full uncompressed API response?

Pass save_raw=true together with a destination file path in raw_output_path. This writes the original API payload directly to disk.

Similar skills

All skills for Science and research →

From the same set422

The whole set →
finngen-phewas-skill This skill fetches compact FinnGen PheWAS results for one variant. It accepts an rsID or GRCh37/GRCh38 coordinates and resolves the query to GRCh38. CX Codex GP ChatGPT 13installs eva-skill Sends compact queries to the European Variation Archive and returns concise summaries for species metadata or targeted variants. CX Codex GP ChatGPT 13installs eqtl-catalogue-skill Query the public eQTL Catalogue API for associations and documented metadata, then get a concise summary. Useful for focused eQTL research. CX Codex GP ChatGPT 13installs epigraphdb-skill This skill sends requests to EpiGraphDB and turns the responses into concise summaries. Use it to look up ontology, literature, Mendelian randomization, gene-drug, and support-path evidence. CX Codex GP ChatGPT 13installs encode-skill Runs compact ENCODE REST API queries for object lookups, catalog searches, and metadata summaries. Helpful for genomic data workflows. CX Codex GP ChatGPT 13installs efo-ontology-skill This skill sends EFO requests through OLS4 to find terms and expand their relationships. Use it for concise ontology summaries. CX Codex GP ChatGPT 13installs clinvar-variation-skill Queries ClinVar Clinical Tables and NCBI Variation to look up genetic variants, identifiers, and summary records. CX Codex GP ChatGPT 13installs clinicaltrials-skill This skill sends compact requests to the ClinicalTrials.gov API v2 and returns concise study summaries. Use it for study search and field inspection. CX Codex GP ChatGPT 13installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor