Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agent-skills-hub-cosmic-database
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
cosmic-database- Description
- Access COSMIC cancer mutation database. Query somatic mutations, Cancer Gene Census, mutational signatures, gene fusions, for cancer research and precision oncology. Requires authentication.
- License
- MIT
- Metadata
- skill-author: K-Dense Inc.
- Instructions
- 329 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (3)
- SKILL.md
- cosmic_data_reference.md · references/
- download_cosmic.py · scripts/
SKILL.md (first lines)
# COSMIC Database
## Overview
COSMIC (Catalogue of Somatic Mutations in Cancer) is the world's largest and most comprehensive database for exploring somatic mutations in human cancer. Access COSMIC's extensive collection of cancer genomics data, including millions of mutations across thousands of cancer types, curated gene lists, mutational signatures, and clinical annotations programmatically.
## When to Use This Skill
This skill should be used when:
- Downloading cancer mutation data from COSMIC
- Accessing the Cancer Gene Census for curated cancer gene lists
- Retrieving mutational signature profiles
- Querying structural variants, copy number alterations, or gene fusions
- Analyzing drug resistance mutations
- Working with cancer cell line genomics data
- Integrating cancer mutation data into bioinformatics pipelines
- Researching specific genes or mutations in cancer contexts
## Prerequisites
### Account Registration
COSMIC requires authentication for data downloads:
- **Academic users**: Free access with registration at https://cancer.sanger.ac.uk/cosmic/register
- **Commercial users**: License required (contact QIAGEN)
### Python Requirements
```bash
uv pip install requests pandas
```
## Quick Start
### 1. Basic File Download
Use the `scripts/download_cosmic.py` script to download COSMIC data files:
```python
from scripts.download_cosmic import download_cosmic_file
# Download mutation data
download_cosmic_file(
email="your_email@institution.edu",
password="your_password",
filepath="GRCh38/cosmic/latest/CosmicMutantExport.tsv.gz",
output_filename="cosmic_mutations.tsv.gz"
)
```
### 2. Command-Line Usage
```bash
# Download using shorthand data type
python scripts/download_cosmic.py user@email.com --data-type mutations
# Download specific file
python scripts/download_cosmic.py user@email.com \
--filepath GRCh38/cosmic/latest/cancer_gene_census.csv
# Download for specific genome assembly
python scripts/download_cosmic.py user@email.com \
--data-type gene_census --assembly GRCh37 -o cancer_genes.csv
```
### 3. Working with Downloaded Data
```python
import pandas as pd
# Read mutation data
mutations = pd.read_csv('cosmic_mutations.tsv.gz', sep='\t', compression='gzip')
# Read Cancer Gene Census
gene_census = pd.read_csv('cancer_gene_census.csv')
# Read VCF format
import pysam
vcf = pysam.VariantFile('CosmicCodingMuts.vcf.gz')
```
## Available Data Types
### Core Mutations
Download comprehensive mutation data including point mutations, indels, and genomic annotations.
**Common data types**:
- `mutations` - Complete coding mutations (TSV format)
- `mutations_vcf` - Coding mutations in VCF format
- `sample_info` - Sample metadata and tumor information
```python
# Download all coding mutations
download_cosmic_file(
email="user@email.com",
password="password",
filepath="GRCh38/cosmic/latest/CosmicMutantExport.tsv.gz"
)
```
### Cancer Gene Census
Access the expert-curated list of ~700+ cancer genes with substantial evidence of cancer involvement.
```python
# Download Cancer Gene Census
download_cosmic_file(
email="user@email.com",
password="password",
filepath="GRCh38/cosmic/latest/cancer_gene_census.csv"
)
```
**Use cases**:
- Identifying known cancer genes
- Filtering variants by cancer relevance
- Understanding gene roles (oncogene vs tumor suppressor)
- Target gene selection for research
### Mutational Signatures
Download signature profiles for mutational signature analysis.From agent-skills-hub/agent-skills-hub, MIT.
More from agent-skills-hub/agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.572score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillDFreshness: D★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
dotnet-backend-patterns
agent-skills-hub
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
copy-editing
agent-skills-hub
When the user wants to edit, review, or improve existing marketing copy.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
e2e-testing-patterns
agent-skills-hub
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
ai-product
agent-skills-hub
Every product will be AI-powered.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
algolia-search
agent-skills-hub
Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia…
SkillDFreshness: D★ 123Claude Code +9
Signals
- Stars
- 123
- Forks
- 44
- Open issues
- 6
- Last commit (this folder)
- Mar 2, 2026 (8 months ago)
- Last release
- Mar 2, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- agent-skills-hub.github.io/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9
Cite this page
cosmic-database skill. Agent Mart. https://agentmart.dev/skills/agent-skills-hub-cosmic-database (last updated 2026-10-24)