bio-clinical-databases-gnomad-frequencies

bio-clinical-databases-gnomad-frequencies is a skill for Claude Code, Codex from thesecondfox/skill. It costs 50 tokens per session (1,713 once invoked), scanned A, original, MIT.

A query helper for gnomAD, a database showing how often genetic variants occur in different human populations. It retrieves allele frequencies and related counts for individual variants.

In plain words
What is it for?
Use it to check exome or genome frequencies, allele counts, and homozygote counts when filtering variants for rare-disease analysis.
Why use it?
It helps determine whether a variant is common or rare without manually checking population data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check exome or genome frequencies, allele counts, and homozygote counts when filtering variants for rare-disease analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thesecondfox/skill/bio-clinical-databases-gnomad-frequencies
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add thesecondfox/skill --skill bio-clinical-databases-gnomad-frequencies
Clone the repo
git clone --depth 1 https://github.com/thesecondfox/skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bio-clinical-databases-gnomad-frequencies

README.md
[![agentmods](https://agentmods.dev/badge/skills/thesecondfox/skill/bio-clinical-databases-gnomad-frequencies/github.svg)](https://agentmods.dev/skills/thesecondfox/skill/bio-clinical-databases-gnomad-frequencies)
Your own site
<a href="https://agentmods.dev/skills/thesecondfox/skill/bio-clinical-databases-gnomad-frequencies"><img src="https://agentmods.dev/badge/skills/thesecondfox/skill/bio-clinical-databases-gnomad-frequencies/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bio-clinical-databases-gnomad-frequencies

Your own site · 80×15
<a href="https://agentmods.dev/skills/thesecondfox/skill/bio-clinical-databases-gnomad-frequencies"><img src="https://agentmods.dev/badge/skills/thesecondfox/skill/bio-clinical-databases-gnomad-frequencies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,713 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01713
Opus 5 $0.00025 $0.00856
Sonnet 5 $0.00010 $0.00343
Haiku 4.5 $0.00005 $0.00171

Measured 10d ago against content hash 37e18976a362, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

bio-clinical-databases-gnomad-frequencies scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Python: GraphQL via `requests.post()` (requests)
Common_Skills/bio-clinical-databases-gnomad-frequencies/SKILL.md · 206 lines

How it starts

The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Version Compatibility

Reference examples tested with: requests 2.31+, pandas 2.2+

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

gnomAD Frequency Queries

gnomAD REST API

Goal: Retrieve exome and genome allele frequencies from gnomAD for individual variants.

Approach: Send a GraphQL query to the gnomAD API with variant ID and dataset version, then parse exome/genome frequency fields.

"Check how common this variant is in the population" → Query gnomAD for allele frequency, allele count, and homozygote count.

  • Python: GraphQL via requests.post() (requests)
  • Python: myvariant.MyVariantInfo().getvariant() (myvariant)

Query Single Variant

import requests

def query_gnomad(chrom, pos, ref, alt, dataset='gnomad_r4'):
    '''Query gnomAD API for variant frequency

    dataset options: gnomad_r4, gnomad_r3, gnomad_r2_1
    '''
    url = 'https://gnomad.broadinstitute.org/api'

    query = '''
    query ($variantId: String!, $dataset: DatasetId!) {
        variant(variantId: $variantId, dataset: $dataset) {
            exome {
                ac
                an
                af
                homozygote_count
            }
            genome {
                ac
                an
                af
                homozygote_count
            }
        }
    }
    '''

    variant_id = f'{chrom}-{pos}-{ref}-{alt}'
    variables = {'variantId': variant_id, 'dataset': dataset}

    response = requests.post(url, json={'query': query, 'variables': variables})
    return response.json()

Parse gnomAD Response

def parse_gnomad_result(result):
    '''Extract allele frequencies from gnomAD response'''
    data = result.get('data', {}).get('variant', {})
    if not data:
        return None

    exome = data.get('exome', {}) or {}
    genome = data.get('genome', {}) or {}

    return {
        'exome_af': exome.get('af'),
        'exome_ac': exome.get('ac'),
        'exome_an': exome.get('an'),
        'exome_hom': exome.get('homozygote_count'),
        'genome_af': genome.get('af'),
        'genome_ac': genome.get('ac'),
        'genome_an': genome.get('an'),
        'genome_hom': genome.get('homozygote_count')
    }

Read the full file on GitHub · 206 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 206 lines · 50 tokens per session scan A 37e18976a362

Subscribe to this mod's changes

bio-clinical-databases-gnomad-frequencies is a skill published in the GitHub repository thesecondfox/skill (3 stars, last pushed 5mo ago), licensed MIT. It adds 50 tokens to every session and 1,713 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

lamindb

Use when working with LaminDB, the open-source lineage-native lakehouse for biological datasets and models. Covers setup, artifact registration, query/search, lineage tracking, validation, ontology-backed annotation with Bionty, collections, branches, storage, and workflow integrations.

K-Dense-AI/scientific-agent-skills · 56 tokens

tiledbvcf

Efficient storage and retrieval of genomic variant data using TileDB. Scalable VCF/BCF ingestion, incremental sample addition, compressed storage, parallel queries, and export capabilities for population genomics.

K-Dense-AI/scientific-agent-skills · 46 tokens

defining-cohort-phenotypes

Authors computable phenotype and cohort definitions in the OHDSI ATLAS / CIRCE style over the OMOP CDM, combining standard concept sets with NLP-derived features that OpenMed extracts. Use when the user wants to define a patient cohort, write a computable phenotype, reuse PheKB or OHDSI Phenotype Library logic, build…

maziyarpanahi/openmed · 191 tokens

benchling-integration

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

synthetic-sciences/openscience · 44 tokens

chembl-database

Query the ChEMBL database for bioactive molecules, drug targets, bioactivity data, approved drugs, and chemical structures. Use when the user asks about compounds, targets, IC50/Ki values, drug mechanisms, or structure searches.

google-deepmind/science-skills · 53 tokens

nvalchemi-data-storage

How to write, read, compose, and load atomic data using nvalchemi's composable Zarr-backed storage pipeline (Writer, Reader, Dataset, MultiDataset, DataLoader). Use when saving simulation outputs or trajectories to disk, converting structures (e.g. ASE / extxyz) into Zarr stores, assembling datasets for training or…

NVIDIA/nvalchemi-toolkit · 90 tokens