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

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

Sends compact queries to the cBioPortal REST API for cancer studies and mutations. It outputs concise markdown summaries directly into the agent session.

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

What cbioportal-skill does

The skill routes queries to https://www.cbioportal.org/api through a local helper script named scripts/rest_request.py. The agent pipes a JSON payload into standard input. This script handles cancer studies and mutation lookups.

Batch endpoints restrict outputs with pageSize=10 and max_items=10 to avoid filling the context window. Setting save_raw=true dumps the raw JSON response to a chosen file path. Long chat threads re-execute network calls. Reusing truncated previews from earlier messages causes errors. Only Python and the provided helper script are required.

What it helps with

  • search cBioPortal cancer studies by keyword
  • fetch molecular profiles for a specific study ID
  • retrieve mutation records using POST requests with gene lists
  • save uncompressed API JSON payloads to disk

Example prompts for the agent

  • Search cBioPortal for breast cancer studies and list the first ten entries
  • Fetch TP53 mutations for profile brca_tcga_mutations and write the raw payload to disk
  • Show molecular profiles available for the brca_tcga study

How to install cbioportal-skill

1Skills CLI (Vercel)

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

2Manually: put the files in place

.agents/skills/cbioportal-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 cbioportal-skill

How to install cbioportal-skill in Codex?

Run npx skills add openai/plugins --skill cbioportal-skill in your terminal. You can also target the platform explicitly with npx skills add openai/plugins --skill cbioportal-skill -a codex.

What does cbioportal-skill do?

It queries cancer genomics data from the cBioPortal REST API and returns concise summaries of studies and gene mutations.

Are extra runtime packages required?

No external dependencies are needed. The execution relies solely on Python and the bundled scripts/rest_request.py file.

Similar skills

All skills for Science and research →

From the same set422

The whole set →
civic-skill Runs targeted GraphQL queries against CIViC to inspect schemas and extract cancer variant evidence. Fits life science research workflows in Codex. CX Codex GP ChatGPT 13installs chembl-skill This skill queries the ChEMBL API for activity, molecule, target, mechanism, and text-search data. Use it when you need concise summaries of ChEMBL records. CX Codex GP ChatGPT 13installs chebi-skill Query ChEBI 2.0 for chemical searches, compound records, ontology links, and structure metadata. Use it when an agent needs a concise ChEBI summary. CX Codex GP ChatGPT 13installs cellxgene-skill This skill sends compact CELLxGENE Discover API requests and summarizes public collection and dataset metadata. Use it for focused single-cell lookups. CX Codex GP ChatGPT 13installs biostudies-arrayexpress-skill This skill searches BioStudies and ArrayExpress by text or accession, then returns a concise summary. Use it to find a study or retrieve its record. CX Codex GP ChatGPT 13installs biobankjapan-phewas-skill Retrieves single-variant BioBank Japan PheWAS summaries from rsID, GRCh37, or GRCh38 inputs. Useful for rapid genetic association checks inside your coding agent. CX Codex GP ChatGPT 13installs bindingdb-skill This skill queries BindingDB for ligand-target data by PDB, UniProt, or molecular similarity. Use it when you need a concise result summary or a saved raw response. CX Codex GP ChatGPT 13installs bgee-skill A Codex and ChatGPT skill that fires off compact SPARQL requests to the Bgee expression database and hands back short summaries. 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