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/lunartech-x-cosmic
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
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/cosmic
What's inside
- Skill name
cosmic- 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: AlterLab
- Instructions
- 328 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 LUNARTECH-X/superpowers, MIT.
More from LUNARTECH-X/superpowers
- 0.556score
adaptyv
LUNARTECH-X
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
arxiv
LUNARTECH-X
Search and retrieve preprints from arXiv via the Atom API.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
academic-paper
LUNARTECH-X
12-agent academic paper writing pipeline.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
autoskill
LUNARTECH-X
Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or…
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
biorxiv
LUNARTECH-X
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
database-lookup
LUNARTECH-X
Search 78 public scientific, biomedical, materials science, and economic databases via REST APIs.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
datacommons
LUNARTECH-X
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
cbioportal
LUNARTECH-X
Query cBioPortal for cancer genomics data including somatic mutations, copy number alterations, gene expression, and survival data across hundreds of cancer…
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
clinvar
LUNARTECH-X
Query NCBI ClinVar for variant clinical significance.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
depmap
LUNARTECH-X
Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles.
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
bindingdb
LUNARTECH-X
Query BindingDB for measured drug-target binding affinities (Ki, Kd, IC50, EC50).
SkillCFreshness: C★ 17Claude Code +9 - 0.553score
clinicaltrials
LUNARTECH-X
Query ClinicalTrials.gov via API v2.
SkillCFreshness: C★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- May 15, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/LUNARTECH-X/superpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LUNARTECH-X
- 0.556score
autoskill
LUNARTECH-X
Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or…
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
database-lookup
LUNARTECH-X
Search 78 public scientific, biomedical, materials science, and economic databases via REST APIs.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
arxiv
LUNARTECH-X
Search and retrieve preprints from arXiv via the Atom API.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
academic-paper
LUNARTECH-X
12-agent academic paper writing pipeline.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
biorxiv
LUNARTECH-X
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 17Claude Code +9 - 0.556score
datacommons
LUNARTECH-X
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillCFreshness: C★ 17Claude Code +9
Cite this page
cosmic skill. Agent Mart. https://agentmart.dev/skills/lunartech-x-cosmic (last updated 2026-10-24)