Query COSMIC for cancer somatic mutations, gene census, mutational signatures, drug resistance variants. REST API v3.1 supports gene/sample/variant queries; free registration. For germline use clinvar-database; for drug-target data use opentargets-database or chembl-database-bioactivity.
SkillScore100Maintained
Automatic
◆Research pack
Last verified 8/24/2026
What it changes
Passed 23 of 23 test cases with the skill, and 7 of 23 without it.
Without skill30%
With skill100%
Checks it passed that the model alone missed
Uses gene parameter set to EGFR.
Sets gene_name parameter to TP53.
Queries the /signatures endpoint.
and 25 more in the full report
16 fixed7 passed either way0 still failing0 broke
Pass-rate lift
+70 pp
Tokens
+167%
Agent turns
0%
Response time
-40%
Model gemini-3.6-flashMeasured 8/24/2026v123 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 16
Prompt
In COSMIC REST API v3.1, what exact query parameters control page record counts and pagination offset, and what is the maximum page size?
What was checked, without and with the skill
Checked
Without skill
With skill
Identifies limit for record count and skip for offset.
Passed
Passed
Identifies maximum page size limit as 200.
Missed
Passed
case-20 · gemini-3.6-flash · 8/24/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md489 linessingle file
COSMIC Somatic Cancer Mutations Database
Overview
COSMIC (Catalogue Of Somatic Mutations In Cancer) is the world's largest expert-curated database of somatic mutations in cancer, covering 6.7M+ coding mutations, 40,000+ cancer samples, 19,000+ genes across all cancer types. It includes the Cancer Gene Census (critical cancer genes), mutational signatures (SBS, DBS, ID), drug resistance variants, copy number data, gene expression, and methylation. The REST API v3.1 enables programmatic queries; most features are freely accessible after registration.
When to Use
Checking whether a specific somatic variant in a cancer gene is annotated in COSMIC (frequency, cancer type distribution)
Retrieving all somatic mutations in a gene of interest across COSMIC cancer samples
Accessing COSMIC Cancer Gene Census classifications (Tier 1/2, role: oncogene/TSG/fusion)
Looking up mutational signature attributions for samples or cancer types
Identifying drug resistance variants (pharmacogenomic data) from COSMIC drug resistance database
Building cancer driver gene lists for bioinformatic pipelines
For germline/inherited variants use clinvar-database; for drug-target associations use opentargets-database
Prerequisites
Python packages: requests, pandas
Data requirements: gene symbols (HGNC), COSMIC mutation IDs (COSM), sample IDs, or genomic coordinates