Agent skill · Databases

cosmic-database

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.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill cosmic-database --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 18 KB
Bundled scripts: none
Path: skills/sciagent/cosmic-database/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 association

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Prerequisites
  4. Quick Start
  5. Core API
  6. Query 1: Gene Mutations Search
  7. Query 2: Cancer Gene Census
  8. Query 3: Specific Mutation Lookup
  9. Query 4: Sample-Level Mutation Data
  10. Query 5: Mutational Signatures
  11. Query 6: Drug Resistance Variants
  12. Key Concepts
  13. Cancer Gene Census Tiers
  14. Mutation ID Stability
Commands it runs
pip install requests pandas
Register at https://cancer.sanger.ac.uk/cosmic/register to obtain API credentials
More from awesome-bio-agent-skills
All skills →
About this skill
What does the cosmic-database skill do?

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.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill cosmic-database --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going