variant-annotation
Query and annotate gene variants from ClinVar and dbSNP databases. Trigger when: - User provides a variant identifier (rsID, HGVS notation, genomic coordinates) and asks about clinical significance - User mentions "ClinVar", "dbSNP", "variant annotation", "pathogenicity", "clinical significance" - User wants to know if a mutation is pathogenic, benign, or of uncertain significance - User provides VCF content or variant data requiring interpretation - Input: variant ID (rs12345), HGVS notation (NM_007294.3:c.5096G>A), or genomic coordinates (chr17:43094692:G>A) - Output: clinical significance, ACMG classification, allele frequency, disease associations
Best use case
variant-annotation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Query and annotate gene variants from ClinVar and dbSNP databases. Trigger when: - User provides a variant identifier (rsID, HGVS notation, genomic coordinates) and asks about clinical significance - User mentions "ClinVar", "dbSNP", "variant annotation", "pathogenicity", "clinical significance" - User wants to know if a mutation is pathogenic, benign, or of uncertain significance - User provides VCF content or variant data requiring interpretation - Input: variant ID (rs12345), HGVS notation (NM_007294.3:c.5096G>A), or genomic coordinates (chr17:43094692:G>A) - Output: clinical significance, ACMG classification, allele frequency, disease associations
Teams using variant-annotation should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/variant-annotation/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How variant-annotation Compares
| Feature / Agent | variant-annotation | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Query and annotate gene variants from ClinVar and dbSNP databases. Trigger when: - User provides a variant identifier (rsID, HGVS notation, genomic coordinates) and asks about clinical significance - User mentions "ClinVar", "dbSNP", "variant annotation", "pathogenicity", "clinical significance" - User wants to know if a mutation is pathogenic, benign, or of uncertain significance - User provides VCF content or variant data requiring interpretation - Input: variant ID (rs12345), HGVS notation (NM_007294.3:c.5096G>A), or genomic coordinates (chr17:43094692:G>A) - Output: clinical significance, ACMG classification, allele frequency, disease associations
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Agents for Marketing
A curated list of the best AI agents and skills for marketing teams focused on SEO, content systems, outreach, and campaign execution.
SKILL.md Source
# Variant Annotation
Query and interpret gene variant clinical significance from ClinVar and dbSNP databases with ACMG guideline support.
## Purpose
Provide comprehensive variant annotation including:
- Clinical significance classification (Pathogenic, Likely Pathogenic, VUS, Likely Benign, Benign)
- ACMG guideline-based pathogenicity assessment
- Population allele frequencies (gnomAD, ExAC, 1000 Genomes)
- Disease and phenotype associations
- Functional predictions (SIFT, PolyPhen, CADD)
## Supported Input Formats
| Format | Example | Description |
|--------|---------|-------------|
| **rsID** | `rs80357410` | dbSNP reference SNP ID |
| **HGVS cDNA** | `NM_007294.3:c.5096G>A` | Coding DNA change |
| **HGVS Protein** | `NP_009225.1:p.Arg1699Gln` | Protein change |
| **HGVS Genomic** | `NC_000017.11:g.43094692G>A` | Genomic coordinate |
| **VCF-style** | `chr17:43094692:G>A` | Chromosome:position:ref>alt |
| **Gene:AA** | `BRCA1:R1699Q` | Gene with amino acid change |
## Usage
### Python API
```python
from scripts.main import VariantAnnotator
# Initialize annotator
annotator = VariantAnnotator()
# Query by rsID
result = annotator.query_variant("rs80357410")
# Query by HGVS notation
result = annotator.query_variant("NM_007294.3:c.5096G>A")
# Query by genomic coordinate
result = annotator.query_variant("chr17:43094692:G>A")
# Batch query
results = annotator.batch_query(["rs80357410", "rs28897696", "rs11571658"])
```
### Command Line
```bash
# Single variant query
python scripts/main.py --variant rs80357410
# HGVS notation
python scripts/main.py --variant "NM_007294.3:c.5096G>A"
# Genomic coordinate
python scripts/main.py --variant "chr17:43094692:G>A"
# Batch from file
python scripts/main.py --file variants.txt --output results.json
# With output format
python scripts/main.py --variant rs80357410 --format json
```
## Output Format
```json
{
"variant_id": "rs80357410",
"gene": "BRCA1",
"chromosome": "17",
"position": 43094692,
"ref_allele": "G",
"alt_allele": "A",
"hgvs_genomic": "NC_000017.11:g.43094692G>A",
"hgvs_cdna": "NM_007294.3:c.5096G>A",
"hgvs_protein": "NP_009225.1:p.Arg1699Gln",
"clinical_significance": {
"clinvar": "Pathogenic",
"acmg_classification": "Pathogenic",
"acmg_criteria": ["PS4", "PM1", "PM2", "PP2", "PP3", "PP5"],
"acmg_score": 13.0,
"review_status": "criteria provided, multiple submitters, no conflicts"
},
"disease_associations": [
{
"disease": "Breast-ovarian cancer, familial 1",
"medgen_id": "C2676676",
"significance": "Pathogenic"
}
],
"population_frequencies": {
"gnomAD_genome_all": 0.000008,
"gnomAD_exome_all": 0.000012,
"1000G_all": 0.0
},
"functional_predictions": {
"sift": "deleterious",
"polyphen2": "probably_damaging",
"cadd_score": 24.5,
"mutation_taster": "disease_causing"
},
"literature_count": 42,
"last_evaluated": "2023-12-15",
"interpretation_summary": "This variant (BRCA1 p.Arg1699Gln) is classified as Pathogenic based on ACMG guidelines. It shows strong evidence of pathogenicity including population data (extremely rare), computational predictions (deleterious), and strong clinical significance (established association with hereditary breast-ovarian cancer)."
}
```
## ACMG Classification Criteria
The annotator implements the ACMG/AMP guidelines for variant interpretation:
### Pathogenic Evidence (Score)
- **PVS1** (8.0): Null variant in a gene where LOF is known mechanism
- **PS1** (4.0): Same amino acid change as known pathogenic
- **PS2** (4.0): De novo with confirmed paternity/maternity
- **PS3** (4.0): Well-established functional studies show damaging effect
- **PS4** (4.0): Prevalence in affected > controls
- **PM1** (2.0): Located in critical functional domain
- **PM2** (2.0): Absent from controls (MAF <0.0001)
- **PM3** (2.0): AR disorder, detected in trans with pathogenic
- **PM4** (2.0): Protein length changing
- **PM5** (2.0): Novel missense at same position as known pathogenic
- **PM6** (2.0): Assumed de novo without confirmation
- **PP1** (1.0): Cosegregation with disease
- **PP2** (1.0): Missense in gene with low benign rate
- **PP3** (1.0): Multiple computational evidence support
- **PP4** (1.0): Phenotype/patient history matches gene
- **PP5** (1.0): Reputable source reports pathogenic
### Benign Evidence
- **BA1** (-8.0): MAF >5% in population
- **BS1** (-4.0): MAF >expected for disorder
- **BS2** (-4.0): Observed in healthy adult
- **BS3** (-4.0): Functional studies show no damage
- **BS4** (-4.0): Lack of cosegregation
- **BP1** (-1.0): Missense in gene where truncating are pathogenic
- **BP2** (-1.0): Observed in trans with pathogenic
- **BP3** (-1.0): In-frame indel in repetitive region
- **BP4** (-1.0): Multiple computational evidence benign
- **BP5** (-1.0): Alternate cause found
- **BP6** (-1.0): Reputable source reports benign
- **BP7** (-1.0): Synonymous with no splicing impact
### Classification Thresholds
| Classification | Score Range |
|----------------|-------------|
| Pathogenic | ≥ 10 |
| Likely Pathogenic | 6-9 |
| Uncertain Significance | 0-5 |
| Likely Benign | -5 to -1 |
| Benign | ≤ -6 |
## Technical Difficulty: **HIGH**
⚠️ **AI自主验收状态**: 需人工检查
This skill requires:
- NCBI E-utilities API integration (ClinVar, dbSNP)
- HGVS notation parsing and validation
- VCF format handling
- ACMG guideline implementation
- Multiple prediction algorithm integration
- Complex data transformation and scoring
## Data Sources
| Database | Data Type | API/Access |
|----------|-----------|------------|
| **ClinVar** | Clinical significance, disease associations | NCBI E-utilities |
| **dbSNP** | SNP data, allele frequencies | NCBI E-utilities |
| **gnomAD** | Population frequencies | gnomAD API |
| **Ensembl VEP** | Functional predictions | REST API |
| **CADD** | Deleteriousness scores | REST API |
## Limitations
- Requires internet connection for database queries
- NCBI API rate limits: 3 requests/second (API key increases to 10/sec)
- Some variants may not be present in ClinVar (VUS without clinical data)
- HGVS notation parsing may fail for complex variants
- Population frequencies not available for all variants
- Functional predictions are computational estimates only
## References
See `references/` for:
- ACMG guidelines publication (Richards et al. 2015)
- ClinVar documentation
- HGVS nomenclature guide
- dbSNP data dictionary
- Example variant outputs
## Safety & Disclaimer
⚠️ **IMPORTANT**: This tool is for research and educational purposes only. Variant interpretations are computational predictions and should not be used as the sole basis for clinical decisions. Always consult certified genetic counselors and clinical laboratories for diagnostic purposes. ACMG classifications in this tool are algorithmic estimates and may differ from expert panel reviews.
## Risk Assessment
| Risk Indicator | Assessment | Level |
|----------------|------------|-------|
| Code Execution | Python scripts with tools | High |
| Network Access | External API calls | High |
| File System Access | Read/write data | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Data handled securely | Medium |
## Security Checklist
- [ ] No hardcoded credentials or API keys
- [ ] No unauthorized file system access (../)
- [ ] Output does not expose sensitive information
- [ ] Prompt injection protections in place
- [ ] API requests use HTTPS only
- [ ] Input validated against allowed patterns
- [ ] API timeout and retry mechanisms implemented
- [ ] Output directory restricted to workspace
- [ ] Script execution in sandboxed environment
- [ ] Error messages sanitized (no internal paths exposed)
- [ ] Dependencies audited
- [ ] No exposure of internal service architecture
## Prerequisites
```bash
# Python dependencies
pip install -r requirements.txt
```
## Evaluation Criteria
### Success Metrics
- [ ] Successfully executes main functionality
- [ ] Output meets quality standards
- [ ] Handles edge cases gracefully
- [ ] Performance is acceptable
### Test Cases
1. **Basic Functionality**: Standard input → Expected output
2. **Edge Case**: Invalid input → Graceful error handling
3. **Performance**: Large dataset → Acceptable processing time
## Lifecycle Status
- **Current Stage**: Draft
- **Next Review Date**: 2026-03-06
- **Known Issues**: None
- **Planned Improvements**:
- Performance optimization
- Additional feature support
## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `--variant` | str | Required | |
| `--file` | str | Required | |
| `--output` | str | Required | |
| `--format` | str | "json" | |
| `--api-key` | str | Required | NCBI API key for increased rate limits |
| `--delay` | float | 0.34 | |Related Skills
data-annotation
通用数据标注处理工具。当用户提到需要数据标注、有标注任务、数据处理、数据集生成、 标注查看/编辑时使用此 skill。支持图像、视频、文本等多种数据类型,调用模型进行内容理解 和标注,生成结构化标注数据,提供 Web 查看编辑界面。 触发短语:「标注」「annotation」「数据集」「label」「tag data」「数据处理」。
behavioral-invariant-monitor
Helps verify that AI agent skills maintain consistent behavioral invariants across repeated executions — detecting the class of threat where a skill behaves safely during initial evaluation but shifts behavior based on execution count, environmental conditions, or delayed activation triggers. v1.3 adds performance fingerprinting (computational complexity drift detection), cryptographic audit trails (hash-chained behavior logs for immutable verification), and risk-proportional monitoring (sampling-based checks to reduce overhead).
acmg-variant-classification
Standard workflow for ACMG/AMP germline small-variant classification — collect evidence, assign criteria, detect conflicts, and produce a review-ready classification summary. Use when a user wants a structured ACMG/AMP-style interpretation workflow for a germline SNV/indel, including guided evidence intake, criteria assignment, conflict handling, and provisional classification.
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
botlearn-healthcheck
botlearn-healthcheck — BotLearn autonomous health inspector for OpenClaw instances across 5 domains (hardware, config, security, skills, autonomy); triggers on system check, health report, diagnostics, or scheduled heartbeat inspection.