Agent skill

Rare High Impact Variants

by ClawBio in ClawBio/ClawBio

Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency

MITAuto-check passedResearch & Science

Install Rare High Impact Variants

skills CLI
$ npx skills add ClawBio/ClawBio --skill rare-high-impact-variants -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ClawBio/ClawBio rare-high-impact-variants --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/rare-high-impact-variants .claude/skills/rare-high-impact-variants && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rare-high-impact-variants
GitHub stars
1.2k
Token cost
~2.5k tokens
SKILL.md length
896 words
Files
12
Skills in repo
104
Repo updated
First seen
Licence
MIT

At a glance

Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency

  • Works in 3 steps: Input validation: Parse and validate… → Analysis: Count rare, high-impact… → Reporting: Generate structured markdown…
  • Research & Science work in your project
  • SKILL.md covers Trigger, Why This Exists, Core Capabilities and Scope, plus 15 more sections
  • Runs Python scripts from its folder; calls python

What it does

Rare High Impact Variants is an agent skill from ClawBio/ClawBio. Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files (for example `api.py`, `rare_high_impact_variants.py` and `tests/test_logic.py`).

It sits in Research & Science. The repository describes itself as: 🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free. The licence is MIT.

When your agent uses it

  • Research & Science work in your project

Example prompts

  • “/rare-high-impact-variants”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Input validation: Parse and validate input files with format detection
  2. Analysis: Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele…
  3. Reporting: Generate structured markdown report with machine-readable JSON

What it can do on your machine

Read from SKILL.md and the folder at commit dece754. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rare High Impact Variants loads about 2.5k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 896 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ClawBio/ClawBio at commit dece754, republished under its MIT licence (© ClawBio). 896 words, ~2,531 tokens.

Download SKILL.mdSave it as .claude/skills/rare-high-impact-variants/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
rare-high-impact-variants
description
Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency
license
MIT
metadata.version
0.1.0
metadata.author
Manuel Corpas
metadata.domain
genomics
metadata.tags
count, rare, high-impact, loss-of-function, variant-burden, lof

Rare High Impact Variants

You are Rare High Impact Variants, a specialised ClawBio agent for genomics. Your role is to count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency.

Trigger

Fire this skill when the user says any of:

  • "count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency"
  • "run rare-high-impact-variants"
  • "count rare,"
  • "analyze count"

Do NOT fire when:

  • The user asks for general variant annotation (use vcf-annotator)
  • The user asks for pharmacogenomics (use pharmgx-reporter)

Design notes: The trigger must be loud, not subtle. Models skip subdued descriptions. Use exact phrases, domain-specific terms, and multiple synonyms.

Why This Exists

  • Without it: Users must manually count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency using command-line tools and custom scripts
  • With it: Automated analysis in seconds with a structured, reproducible report
  • Why ClawBio: Grounded in real databases and algorithms, not LLM guessing

Core Capabilities

  1. Input validation: Parse and validate input files with format detection
  2. Analysis: Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency
  3. Reporting: Generate structured markdown report with machine-readable JSON

Scope

One skill, one task. This skill does count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency and nothing else.

Input Formats

FormatExtensionRequired FieldsExample
VCF.vcfCHROM, POS, REF, ALT, GTdemo_input.txt
TSV.tsvvariant columnssample.tsv

Workflow

When the user asks for rare high impact variants:

  1. Validate: Check input format and required fields
  2. Parse: Extract relevant variants and annotations
  3. Analyze: Apply rare high impact variants algorithm
  4. Generate: Write result.json with structured findings
  5. Report: Write report.md with findings, tables, and disclaimer

Freedom level guidance:

  • For database lookups and variant classification: be prescriptive. Every step must be exact.
  • For report narrative and interpretation: give guidance but leave room for reasoning.

CLI Reference

bash
# Standard usage
python skills/rare-high-impact-variants/rare_high_impact_variants.py \
  --input <input_file> --output <report_dir>

# Demo mode (synthetic data, no user files needed)
python skills/rare-high-impact-variants/rare_high_impact_variants.py --demo --output /tmp/rare_high_impact_variants_demo

# Via ClawBio runner
python clawbio.py run rare-high-impact-variants --input <file> --output <dir>
python clawbio.py run rare-high-impact-variants --demo

Demo

To verify the skill works:

bash
python clawbio.py run rare-high-impact-variants --demo

Expected output: a report covering synthetic input data with structured results.

Algorithm / Methodology

  1. Parse the annotated VCF: read each record's genotype, molecular consequence (MC, or a VEP/SnpEff consequence) and population frequency (AF_TGP, AF_EXAC, AF_ESP, or gnomAD_AF).
  2. Keep carried variants: the genotype must contain the ALT allele (heterozygous or homozygous).
  3. Flag high-impact: the consequence is loss-of-function (nonsense / stop-gained, frameshift, splice donor/acceptor, start-lost, stop-lost).
  4. Classify by frequency: rare (documented AF below threshold), common (documented AF at or above threshold), or frequency-unknown (no AF in the source). Absence of a frequency is NOT counted as rare.
  5. Report: headline count is documented-rare only; common and frequency-unknown are reported separately.

Key thresholds / parameters:

  • --max-af rarity threshold, default 0.01 (1 per cent); ultra-rare band at AF < 0.001.
  • High-impact consequence set: Sequence Ontology loss-of-function terms (nonsense, frameshift, splice_donor, splice_acceptor, start_lost/initiator_codon, stop_lost).

Example Queries

  • "count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency"
  • "run rare-high-impact-variants on my VCF"
  • "analyze my sample with rare-high-impact-variants"

Example Output

markdown
# Rare High-Impact Variants Report

**Input**: demo_input.txt
**Rarity threshold**: population AF < 0.01

## 3 rare high-impact variants carried

Of 6 carried, annotated variants, 5 are high-impact (loss-of-function). Of those:

- **3 rare** with documented population frequency below 0.01 (ultra-rare AF < 0.001: 1; rare: 2)
- 1 common (documented AF at or above the threshold)
- 1 with no population-frequency data, so it cannot be confirmed rare

| Gene | Locus | Consequence | Zygosity | Population AF | ClinVar |
|------|-------|-------------|----------|---------------|---------|
| GENE1 | 1:100000 C>T | nonsense | het | 0.0002 | Pathogenic |
| GENE7 | 7:700000 C>T | splice_acceptor | het | 0.002 | - |
| GENE5 | 5:500000 C>G | nonsense | het | 0.004 | - |

*ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions.*

Output Structure

output_directory/
├── report.md              # Primary markdown report
├── result.json            # Machine-readable results
├── tables/
│   └── results.csv        # Tabular data
└── reproducibility/
    ├── commands.sh         # Exact commands to reproduce
    └── environment.yml     # Environment snapshot

Dependencies

Required:

  • Python >= 3.11; pure standard library, no third-party runtime dependencies.

Optional (for producing an annotated input VCF, upstream of this skill):

  • bcftools; intersect a genome with ClinVar and transfer MC / AF_* annotations.
  • VEP, SnpEff, or bcftools csq plus gnomAD; for genome-wide novel loss-of-function calling (the v1 upgrade path, out of scope for v0).
Show full SKILL.md (332 more words)Show less

Gotchas

  • Gotcha 1 (the big one): absence of a population frequency is NOT evidence of rarity. A loss-of-function variant with no AF in the source is often a common LoF polymorphism (frequently ClinVar-benign, e.g. CASP12 nonsense). This skill reports such variants in a separate "frequency unknown" bucket and never counts them as rare. Counting "absent AF" as "rare" inflates the headline by an order of magnitude.
  • Gotcha 2 (scope): the count is only as complete as the annotation. With a ClinVar-annotated VCF this counts catalogued high-impact variants, not every loss-of-function call in the genome. Genome-wide novel LoF needs a consequence predictor (VEP / SnpEff / bcftools csq) and a complete frequency reference (gnomAD); that is the v1 path, not v0.
  • Gotcha 3: the input must carry consequence and frequency annotations. A raw caller VCF whose AF is the sample genotype frequency (0.5 / 1.0), not a population frequency, will produce meaningless rarity calls. Annotate first (e.g. with bcftools against ClinVar or gnomAD).
  • Gotcha 4: split multi-allelic records before annotation (bcftools norm -m-any) so each ALT gets the correct per-allele consequence and frequency.

Safety

  • Local-first: No data upload without explicit consent
  • Disclaimer: Every report includes: "ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions."
  • Audit trail: Log all operations to reproducibility bundle
  • No hallucinated science: All parameters trace to cited databases

Agent Boundary

The agent (LLM) dispatches and explains. The skill (Python) executes. The agent must NOT override thresholds or invent associations.

Integration with Bio Orchestrator

Trigger conditions: the orchestrator routes here when:

  • User mentions count or rare-high-impact-variants
  • Input file contains relevant loci

Chaining partners: this skill connects with:

  • pharmgx-reporter: downstream pharmacogenomic implications
  • profile-report: feeds into unified patient profile

Maintenance

  • Review cadence: Re-evaluate monthly or when upstream databases update
  • Staleness signals: new reference database release, API endpoint change
  • Deprecation: If superseded by a more comprehensive skill, archive to skills/_deprecated/

Citations

  • TODO: Add relevant database and paper citations

© ClawBio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files in skills/rare-high-impact-variants of ClawBio/ClawBio.

  • SKILL.md
  • api.py
  • bench_test_cases/rhi_01_basic_correct/ground_truth.txt
  • bench_test_cases/rhi_01_basic_correct/input.txt
  • bench_test_cases/rhi_02_empty_input/ground_truth.txt
  • bench_test_cases/rhi_02_empty_input/input.txt
  • bench_test_cases/rhi_03_malformed_input/ground_truth.txt
  • bench_test_cases/rhi_03_malformed_input/input.txt
  • demo_input.txt
  • rare_high_impact_variants.py
  • tests/test_logic.py
  • tests/test_rare_high_impact_variants.py

Open the folder on GitHubat commit dece754

Compare with similar skills

Rare High Impact Variants next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rare High Impact Variants compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rare High Impact Variants this skillClawBio/ClawBio1.2k—~2.5kAutomated safety check: PassMIT
Hypothesis Generationspacering-net/codeg3.9k14 repos~3.6kAutomated safety check: NotesMIT
GitHub Deep Researchbytedance/deer-flow84k4 repos~1.3kAutomated safety check: PassMIT
Nature Paper CardYuan1z0825/nature-skills47k2 repos~2.1kAutomated safety check: PassApache-2.0
Content Research Writerweapp-tailwindcss/weapp-tailwindcss1.9k25 repos~3.5kAutomated safety check: PassMIT
Last30daysmvanhorn/last30days-skill64k—~7.9kAutomated safety check: NotesMIT

Similar skills

  • Hypothesis Generation

    spacering-net/codeg

    Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.

    3.9k GitHub starsUsed in 14 repos~3.6k tokens
    Research & ScienceAuto-check: notes
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    84k GitHub starsUsed in 4 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Nature Paper Card

    Yuan1z0825/nature-skills

    Builds a structured deep-reading card for one scientific paper, covering methods, how experiments support claims, limitations and research ideas, with a script to prepare the source.

    47k GitHub starsUsed in 2 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • Content Research Writer

    weapp-tailwindcss/weapp-tailwindcss

    Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.

    1.9k GitHub starsUsed in 25 repos~3.5k tokens
    Research & ScienceAuto-check passed
  • Last30days

    mvanhorn/last30days-skill

    Research what people actually say about any topic in the last 30 days.

    64k GitHub stars~7.9k tokensUpdated yesterday
    Research & ScienceAuto-check: notes
  • Peer Review

    spacering-net/codeg

    Structured manuscript/grant review with checklist-based evaluation.

    3.9k GitHub starsUsed in 17 repos~5.9k tokens
    Research & ScienceAuto-check: notes

More from ClawBio/ClawBio

All 104 skills in this repo
  • Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~4.7k tokens
    Auto-check passed
  • Xena Tcga Gene Query

    ClawBio/ClawBio

    Query TCGA tumor biology through the ucscxenatoolspy API. An agent skill from ClawBio/ClawBio.

    1.2k GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Dnasp

    ClawBio/ClawBio

    Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.

    1.2k GitHub stars~5.1k tokensUpdated yesterday
    Auto-check passed
  • Compute pairwise r² between a lead variant and every variant in a window using the 1000 Genomes Phase 3 GRCh38 reference panel, ancestry-stratified.

    1.2k GitHub stars~3.9k tokensUpdated yesterday
    Auto-check passed
  • Ncbi Datasets

    ClawBio/ClawBio

    Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.

    1.2k GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed

Questions about Rare High Impact Variants

What does Rare High Impact Variants do?

Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency. Rare High Impact Variants is an agent skill from ClawBio/ClawBio.

When should I use Rare High Impact Variants?

Rare High Impact Variants fits situations like: research & Science work in your project.

How do I install Rare High Impact Variants in Claude Code?

Run `npx skills add ClawBio/ClawBio --skill rare-high-impact-variants -a claude-code`. Or copy the skill folder (skills/rare-high-impact-variants in ClawBio/ClawBio) into .claude/skills/rare-high-impact-variants in your project. Claude Code loads it when a task matches its description.

How do I install Rare High Impact Variants in Codex?

Run `npx skills add ClawBio/ClawBio --skill rare-high-impact-variants -a codex`. Or copy the skill folder (skills/rare-high-impact-variants in ClawBio/ClawBio) into .agents/skills/rare-high-impact-variants in your project. Codex loads it when a task matches its description.

Can I use Rare High Impact Variants in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ClawBio/ClawBio --skill rare-high-impact-variants -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rare-high-impact-variants, .gemini/skills/rare-high-impact-variants, .github/skills/rare-high-impact-variants and .opencode/skills/rare-high-impact-variants in your project.

What does Rare High Impact Variants need to run?

Going by SKILL.md and its folder, Rare High Impact Variants needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Rare High Impact Variants access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rare High Impact Variants safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rare High Impact Variants use?

Rare High Impact Variants is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rare High Impact Variants use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rare High Impact Variants?

Skills that share tags, products or a category with Rare High Impact Variants: Hypothesis Generation (spacering-net/codeg, 3.9k stars), GitHub Deep Research (bytedance/deer-flow, 84k stars), Nature Paper Card (Yuan1z0825/nature-skills, 47k stars) and Content Research Writer (weapp-tailwindcss/weapp-tailwindcss, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rare High Impact Variants?

ClawBio (a GitHub organization) maintains it in ClawBio/ClawBio, which has 1,155 GitHub stars. The repository holds 104 skills in this directory. The repository was last updated on October 9, 2026.

Source: ClawBio/ClawBio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.