clinvar
GitHub用于构建和检查ClinVar精确匹配证据及候选清单。支持临床标签、VUS/冲突、携带者背景及药物反应分析,通过工具实现变异匹配与候选扫描,提供基于来源的解释证据。
Trigger Scenarios
Install
npx skills add exon-research/genomi --skill clinvar -g -y
SKILL.md
Frontmatter
{
"name": "clinvar",
"tools": [
"genomi.check_libraries",
"clinvar.match_variants",
"clinvar.scan_candidates",
"variant.gather_allele_context",
"variant.gather_gene_context"
],
"mutating": true,
"description": "Build and inspect ClinVar exact-match evidence and candidate inventories.\nUse for clinical labels, VUS\/conflict, carrier context, and drug-response rows.\n"
}
ClinVar Evidence
Use this skill when the user asks about clinical labels, carrier findings, pathogenic/likely pathogenic entries, VUS, conflicting classifications, drug response, risk-factor labels, or ClinVar-derived discovery.
Goal
Build a candidate landscape from exact ClinVar matches. Use
candidate_inventory as variant-level provenance evidence and
candidate_review_groups as the carrier/condition review inventory.
Convention: See
skills/conventions/evidence-quality.md.
Contract
- ClinVar matches provide exact/static evidence for source-backed interpretation.
- Exact matching requires the optional build-specific library
clinvar-grch38orclinvar-grch37. - Candidate inventories are variant-level evidence, not interpretation.
- Candidate review groups are review targets. A heterozygous P/LP group can be carrier-relevance evidence; it is not a carrier-status conclusion.
clinvar.scan_candidatesreturns an evidence view, grouped support, warnings, and coverage; use those fields rather than inferring priority from prose.- By default,
clinvar.scan_candidatesincludes P/LP, conflicting, VUS, risk/association/protective, drug-response, and benign ClinVar groups. - If ClinVar matches are missing,
clinvar.scan_candidatesmaterializes them from the Active Genome Index before building the candidate inventory. - VUS, conflicts, and low-review assertions are downgraded unless reviewed source evidence supports a stronger claim.
- Drug-response rows use pharmacogenomic source context before actionability is implied.
Cross-Capability Synthesis
A scope-limited result from this capability is not a final user-facing answer when other Genomi capabilities can contribute orthogonal evidence to the same question. Returning "cannot answer" while applicable capabilities remain unexamined is a host-agent failure mode.
Tools
clinvar.match_variants
Materialize exact ClinVar matches for comparable Active Genome Index variants using the installed build-specific ClinVar library.
Use when: After an Active Genome Index and the matching build-specific ClinVar library are available to materialize exact ClinVar/sample matches.
Why necessary: ClinVar matching is library-scoped materialization; it turns installed public ClinVar rows into exact matches for an Active Genome Index without forcing every genome-artifact task to run ClinVar.
clinvar.scan_candidates
Build a deterministic candidate inventory and candidate review groups from exact ClinVar matches, materializing those matches from the Active Genome Index when needed.
Use when: Broad Active Genome Index disease or risk triage when exact ClinVar candidate inventory is needed.
Why necessary: Broad disease triage needs bounded ClinVar variant provenance plus review groups instead of ad hoc spot checks over a large genome file. It performs missing match materialization internally before candidate scanning.
Interpretation Rules
- Pathogenic/likely pathogenic labels need zygosity, inheritance, population frequency, gene-disease context, and source quality.
- Carrier language belongs in
phenotype.plan_risk_investigationwithinvestigation_type:"carrier_review"after reviewing the group gates. - VUS and conflicting labels use uncertainty/conflict wording.
- Drug-response labels require pharmacogenomic guideline context before clinical actionability is implied.
- Common association/risk/protective labels usually provide limited context for personal common-disease risk.
Routing Checks
- Prioritize ClinVar matches by actionability, review status, uncertainty, population context, inheritance, and zygosity.
- If a ClinVar operation returns
status="requires_library_install", explain how the named library helps this request and ask before installing it. - Treat ClinVar condition strings as database labels that need interpretation.
- Keep the whole candidate inventory local; send selected public targets to Journal source-review memory.
Version History
- 47e0d05 Current 2026-07-05 10:53


