clinvar-database
Use when needing clinical significance, pathogenicity classifications (e.g., Pathogenic, Benign, VUS), clinical evidence rationales, or finding "hard…
Skill by hanyanphysics
Chalk Labs
Need help deploying clinvar-database?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/hanyanphysics-clinvar-database
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
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
clinvar-database- Description
- Use when needing clinical significance, pathogenicity classifications (e.g., Pathogenic, Benign, VUS), clinical evidence rationales, or finding "hard positive" benchmark controls for human genomic variants.
- License
- Apache-2.0
- Instructions
- 387 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: "clinvar-database" does not match folder "clinvar_database"
Files (2)
- SKILL.md
- clinvar_api.py · scripts/
SKILL.md (first lines)
# ClinVar Database
## Prerequisites
1. **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure
`uv` is installed and on PATH.
2. **User Notification**: If LICENSE_NOTIFICATION.txt does not already exist in
this skill directory then (1) prominently notify the user to check the terms
at https://www.ncbi.nlm.nih.gov/clinvar/, then (2) create the file recording
the notification text and timestamp.
3. **`.env` file**: Make sure the `.env` file exists in your home directory.
Create one if it does not exist.
4. **`NCBI_API_KEY`** (optional): Raises the NCBI rate limit from 3 to 10
requests/second. The skill works without it, but a key is recommended if the
user plans many queries or encounters a 429 error. The user can obtain one
for free by registering at https://www.ncbi.nlm.nih.gov/account/settings/.
If the variable is missing from `.env`, do NOT ask the user to paste it into
the chat (this would leak the key into the agent's context). Instead, give
the user this command — **substituting `ENV_FILE` with the resolved literal
path to the `.env` file**:
```bash
printf "Enter NCBI API key (typing hidden): " && read -s key && echo && echo "NCBI_API_KEY=$key" >> "ENV_FILE" && echo "Saved."
```
The scripts load credentials automatically via `dotenv`. **NEVER** read,
print, or inspect the `.env` file or its variables (e.g. no `cat`, `grep`,
`echo`, `printenv`, or `os.environ.get` on keys). Credentials must stay out
of the agent's context. See the
[API Key section](#obtaining-and-using-an-api-key) for more details.
## Overview
ClinVar is the primary consensus record for clinical classifications of human
genomic variations. It provides the "clinical ground truth" for pathogenicity
labels (Pathogenic, Likely Pathogenic, Benign, VUS) based on assertions from
global laboratories.
## When to Use
**Use when you need to:**
- Find the current clinical significance and star rating (review status) for a
specific variant.
- Fetch clinician notes, assertion criteria, or rationales for previous
clinical laboratory classifications.
- Retrieve the preferred condition name and associated HPO terms for a
specific variant.
- Find a list of variant controls (e.g., "Find all Pathogenic variants in the
HBB gene within 50bp of a signal").
- Check for conflicting interpretations for a given variant and identify the
organizations submitting each classification.
**Do NOT use when you need to:**
- Find specific allele frequencies in global populations (use **gnomAD**).
- Describe the normal biological role of a protein and typical inheritance
patterns (use **OMIM**).
- Predict mechanistic effects of novel mutations, like frameshifts or exon
skipping (use **AlphaGenome**).
- Find recommended surveillance schedules for patients with a pathogenic
variant (use **GeneReviews**).
- Generate or view 3D structural models of affected proteins (use **PDB /
AlphaFold**).
## Quick Start
ClinVar queries are executed via a robust Python wrapper script to handle strict
rate limiting and XML/JSON parsing.
Example: Search for BRCA1 variants
```bash
uv run scripts/clinvar_api.py search --query "BRCA1[gene]" --output results.json
```
## Core Rules
- **Retmax Constraint**: The search command defaults to `--retmax 200`. For
any "List all" or gene-wide request, you MUST explicitly set `--retmax`
higher (e.g., 1000) to ensure data completeness.
- **Use the Wrapper**: Prefer the wrapper script for standard queries. It
handles rate limiting, retries, and the complex XML parsing for you. If the
script's parsed output does not contain the specific fields you need, you
may modify the script or query the NCBI E-utilities API directly — but be
aware that the raw XML schemas are complex and vary between record types.
- If the rate limit is hit, the script will throw a clear error. Follow the
prerequisite instructions above to help the user add `NCBI_API_KEY` to the
`.env` file.
- **Notification**: If this skill is used, ensure this is mentioned in the
output.
## Utility Scripts
### 1. `count` — Count Matching Variants
**Purpose:** Check how many variants match a query without fetching IDs. Use to
decide whether a full `search` is warranted.
*Arguments:*
- `--query`: (Required) NCBI Entrez search query string.
- `--output`: (Required) Output JSON file path.
*Example:* `uv run scripts/clinvar_api.py count \ --query "TP53[gene] AND
\"uncertain significance\"[clinsig]" \ --output count.json` *Output:*
`{"total_count": <int>}`
### 2. `search` — Search Variants
**Purpose:** Identify variants based on genomic location, gene symbols, or
clinical attributes using NCBI Entrez search syntax. The search command
**automatically paginates** through all matching results to ensure complete,
deterministic retrieval.
```bash
# Fetch ALL matching variants (default behavior)
uv run scripts/clinvar_api.py search \
--query "BRCA1[gene]" --output results.jsonFrom hanyanphysics/AI-for-Physics, Apache-2.0.
More from hanyanphysics/AI-for-Physics
- 0.530score
alphafold-database-fetch-and-analyze
hanyanphysics
Retrieve and analyze AlphaFold predicted structures for a protein.
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
clinical-trials-database
hanyanphysics
Query ClinicalTrials.gov via APIv2.
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
dbsnp-database
hanyanphysics
Use when you want to look up, map, and search for short genetic variants (SNPs, indels) in NCBI's dbSNP database.
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
ensembl-database
hanyanphysics
Query the Ensembl database to resolve gene, transcript, and protein IDs, fetch genomic or protein sequences, retrieve gene structures (exons), and get variant…
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
gnomad-database
hanyanphysics
Query the Genome Aggregation Database (gnomAD).
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
gtex-database
hanyanphysics
Use when you want to retrieve quantitative RNA expression data and variant eQTL information from the GTEx (Genotype-Tissue Expression) Project across 54…
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
interpro-database
hanyanphysics
Identify domains, families, and sites in proteins; find all proteins in a family or sharing a domain; explore species distribution for a domain; annotate…
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
literature-search-arxiv
hanyanphysics
Search for scientific papers, preprints, and publications on arXiv.
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
literature-search-biorxiv
hanyanphysics
Browse, filter, and download life sciences, biology, and medical preprints from bioRxiv and medRxiv.
SkillCFreshness: C★ 5Claude Code +9 - 0.527score
literature-search-europepmc
hanyanphysics
Search Europe PMC for scientific literature and download open-access full texts and PDFs.
SkillCFreshness: C★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 22, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/hanyanphysics/AI-for-Physics
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.540score
clinvar-database
MarceloClaro
Use when needing clinical significance, pathogenicity classifications (e.g., Pathogenic, Benign, VUS), clinical evidence rationales, or finding "hard…
SkillCFreshness: C★ 12Claude Code +9 - 0.372score
clinvar-database
Marvellbrazil
Use when needing clinical significance, pathogenicity classifications (e.g., Pathogenic, Benign, VUS), clinical evidence rationales, or finding "hard…
SkillAFreshness: A★ 5Claude Code +9 - 0.315score
clinvar-database
myoung906
Use when needing clinical significance, pathogenicity classifications (e.g., Pathogenic, Benign, VUS), clinical evidence rationales, or finding "hard…
SkillBFreshness: BClaude Code +9
More from hanyanphysics
- 0.530score
alphafold-database-fetch-and-analyze
hanyanphysics
Retrieve and analyze AlphaFold predicted structures for a protein.
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
clinical-trials-database
hanyanphysics
Query ClinicalTrials.gov via APIv2.
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
dbsnp-database
hanyanphysics
Use when you want to look up, map, and search for short genetic variants (SNPs, indels) in NCBI's dbSNP database.
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
ensembl-database
hanyanphysics
Query the Ensembl database to resolve gene, transcript, and protein IDs, fetch genomic or protein sequences, retrieve gene structures (exons), and get variant…
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
gnomad-database
hanyanphysics
Query the Genome Aggregation Database (gnomAD).
SkillCFreshness: C★ 5Claude Code +9 - 0.530score
gtex-database
hanyanphysics
Use when you want to retrieve quantitative RNA expression data and variant eQTL information from the GTEx (Genotype-Tissue Expression) Project across 54…
SkillCFreshness: C★ 5Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get clinvar-database running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
clinvar-database skill. Agent Mart. https://agentmart.dev/skills/hanyanphysics-clinvar-database (last updated 2026-10-24)