clinvar-database
What it does
This skill lets your agent search NCBI ClinVar, an archive of reports on how genetic variants relate to health conditions. It is for geneticists, clinicians, and researchers.
When to use it
- βWhen you need to know whether a variant is pathogenic, benign, or uncertain.
- βWhen you want to annotate a VCF file with clinical significance.
- βWhen you need to resolve conflicting variant interpretations from different submitters.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/clinvar-database/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βIs the BRCA1 variant NM_000059.3:c.1310_1313del listed as pathogenic in ClinVar, and how strong is the review?β
5 new skills a week. 1 minute to read.
How it works
The agent queries ClinVar through NCBI's E-utilities or bulk files. It reads the classification and review status for each variant.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
ClinVar Database
Overview
ClinVar is NCBI's freely accessible archive of reports on relationships between human genetic variants and phenotypes, with supporting evidence. The database aggregates information about genomic variation and its relationship to human health, providing standardized variant classifications used in clinical genetics and research.
When to Use This Skill
This skill should be used when:
- Searching for variants by gene, condition, or clinical significance
- Interpreting clinical significance classifications (pathogenic, benign, VUS)
- Accessing ClinVar data programmatically via E-utilities API
- Downloading and processing bulk data from FTP
- Understanding review status and star ratings
- Resolving conflicting variant interpretations
- Annotating variant call sets with clinical significance
Core Capabilities
1. Search and Query ClinVar
Web Interface Queries
Search ClinVar using the web interface at https://www.ncbi.nlm.nih.gov/clinvar/
Common search patterns:
- By gene:
BRCA1[gene] - By clinical significance:
pathogenic[CLNSIG] - By condition:
breast cancer[disorder] - By variant:
NM_000059.3:c.1310_1313del[variant name] - By chromosome:
13[chr] - Combined:
BRCA1[gene] AND pathogenic[CLNSIG]
Programmatic Access via E-utilities
Access ClinVar programmatically using NCBI's E-utilities API. Refer to references/api_reference.md for comprehensive API documentation including:
- esearch - Search for variants matching criteria
- esummary - Retrieve variant summaries
- efetch - Download full XML records
- elink - Find related records in other NCBI databases
Quick example using curl:
# Search for pathogenic BRCA1 variants
curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=clinvar&term=BRCA1[gene]+AND+pathogenic[CLNSIG]&retmode=json"
Best practices:
- Test queries on the web interface before automating
- Use API keys to increase rate limits from 3 to 10 requests/second
- Implement exponential backoff for rate limit errors
- Set
Entrez.emailwhen using Biopython
2. Interpret Clinical Significance
Understanding Classifications
ClinVar uses standardized terminology for variant classifications. Refer to references/clinical_significance.md for detailed interpretation guidelines.
Key germline classification terms (ACMG/AMP):
- Pathogenic (P) - Variant causes disease (~99% probability)
- Likely Pathogenic (LP) - Variant likely causes disease (~90% probability)
- Uncertain Significance (VUS) - Insufficient evidence to classify
- Likely Benign (LB) - Variant likely does not cause disease
- Benign (B) - Variant does not cause disease
Review status (star ratings):
- β β β β Practice guideline - Highest confidence
- β β β Expert panel review (e.g., ClinGen) - High confidence
- β β Multiple submitters, no conflicts - Moderate confidence
- β Single submitter with criteria - Standard weight
- β No assertion criteria - Low confidence
Critical considerations:
- Always check review status - prefer β β β or β β β β ratings
- Conflicting interpretations require manual evaluation
- Classifications may change as new evidence emerges
- VUS (uncertain significance) variants lack sufficient evidence for clinical use
3. Download Bulk Data from FTP
Access ClinVar FTP Site
Download complete datasets from ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/
Refer to references/data_formats.md for comprehensive documentation on file formats and processing.
Update schedule:
- Monthly releases: First Thursday of each month (complete dataset, archived)
- Weekly updates: Every Monday (incremental updates)
Available Formats
XML files (most comprehensive):
- VCV (Variation) files:
xml/clinvar_variation/- Variant-centric aggregation - RCV (Record) files:
xml/RCV/- Variant-condition pairs - Include full submission details, evidence, and metadata
VCF files (for genomic pipelines):
- GRCh37:
vcf_GRCh37/clinvar.vcf.gz - GRCh38:
vcf_GRCh38/clinvar.vcf.gz - Limitations: Excludes variants >10kb and complex structural variants
Tab-delimited files (for quick analysis):
tab_delimited/variant_summary.txt.gz- Summary of all variantstab_delimited/var_citations.txt.gz- PubMed citationstab_delimited/cross_references.txt.gz- Database cross-references
Example download:
# Download latest monthly XML release
wget ftp://ftp.ncbi.nlm.nih.gov/pub/cl
FAQ
What do the star ratings mean?
The skill explains review status and star ratings as a measure of how well a classification is supported.
Can it process a whole variant file?
Yes. The skill covers annotating variant call sets.
Is ClinVar free to use?
The skill describes ClinVar as freely accessible.
Details
Original description by the author
Query NCBI ClinVar for variant clinical significance. Search by gene/position, interpret pathogenicity classifications, access via E-utilities API or FTP, annotate VCFs, for genomic medicine.
Popularity
- GitHub stars
- 33k
- Ranking position
- #8933
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
owasp-security
33kTeaches your agent OWASP security guidance for web apps, APIs, mobile, containers and AI agents, so it can spot common weaknesses and suggest fixes.
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.