open-genome-agent: Skill for Claude Code

.agents/skills/detect-build-normalize/SKILL.md

detect-build-normalize is a skill for Claude Code, Codex from 45ck/open-genome-agent. It costs 29 tokens per session (318 once invoked), scanned A, original, MIT.

A preparation step for variant files used in genomic analysis. It identifies the reference build and creates a normalized copy, while preserving the original input.

In plain words
What is it for?
Inspect chromosome naming and build clues, create a normalized VCF file, record normalization steps, preserve input hashes, and flag ambiguous builds or required liftover.
Why use it?
Different tools may use different chromosome names or file representations, causing them to disagree; this step records and resolves those differences before analysis.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is 45ck/open-genome-agent's own configuration. It tells Claude Code and Codex how to work on open-genome-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything open-genome-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 45ck/open-genome-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/45ck/open-genome-agent/main/.agents/skills/detect-build-normalize/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/45ck/open-genome-agent

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 detect-build-normalize

README.md
[![agentmods](https://agentmods.dev/badge/skills/45ck/open-genome-agent/detect-build-normalize/github.svg)](https://agentmods.dev/skills/45ck/open-genome-agent/detect-build-normalize)
Your own site
<a href="https://agentmods.dev/skills/45ck/open-genome-agent/detect-build-normalize"><img src="https://agentmods.dev/badge/skills/45ck/open-genome-agent/detect-build-normalize/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 detect-build-normalize

Your own site · 80×15
<a href="https://agentmods.dev/skills/45ck/open-genome-agent/detect-build-normalize"><img src="https://agentmods.dev/badge/skills/45ck/open-genome-agent/detect-build-normalize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00029 $0.00318
Opus 5.5 $0.00012 $0.00127
Sonnet 5.5 $0.00006 $0.00064
Haiku 4.5 $0.00003 $0.00032

Measured 2mo ago against content hash 56a12f1c3ffb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

detect-build-normalize scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/detect-build-normalize/SKILL.md · 49 lines

What it actually says

Detect build and normalize

Detect the reference build and create a normalized derived copy without touching the raw input. Use before annotation or cross-tool comparison.

When to use

  • build is unknown or ambiguous
  • contig naming style differs across tools
  • annotation expects normalized variants

Do not use when

  • the input is already validated and normalized for the selected toolchain

Expected outputs

  • derived/normalized.vcf.gz
  • normalization_notes.json

Goal

Resolve build and representation issues before downstream tools disagree.

Procedure

  1. Inspect contig style (chr1 vs 1) and obvious build indicators.
  2. If build is still uncertain, mark it ambiguous rather than guessing.
  3. Create a derived normalized file in a run-specific output directory.
  4. Preserve raw input hashes and link the derived file back to them.
  5. Record every normalization step in machine-readable notes.

Guardrails

  • Derived files belong under runs/<run_id>/derived/.
  • Do not overwrite source inputs.
  • If a liftover or reference swap would be needed, stop and surface that requirement.

Escalate when

  • the build is ambiguous
  • contig naming is mixed
  • normalization would drop or alter records unexpectedly

References

See references/README.md for durable notes and scripts/ for deterministic helpers.

Files

What ships with it

2 files 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. 2mo ago First seen · 49 lines · 29 tokens per session scan A 56a12f1c3ffb

Subscribe to this mod's changes

detect-build-normalize is a skill published in the GitHub repository 45ck/open-genome-agent (4 stars, last pushed 4mo ago), licensed MIT. It adds 29 tokens to every session and 318 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

biomcp-research

Do biomedical literature and variant research with the BioMCP CLI, and file what you learn about the tool itself as issues in the biomcp repo.

genomoncology/biomcp · 36 tokens

genomics-cnv-calling

Load when calling CNV segments via CBS-style segmentation on a bin-level log2-ratio CSV from exome / WGS coverage — emits per-segment 5-class CN state (amplification / gain / neutral / loss / deepdeletion), per-chromosome summary, genome-fraction-altered. Skip when working with single-cell / spatial CNV (use…

TianGzlab/OmicsClaw · 95 tokens

genomics-epigenomics

Load when summarising a peak file (BED / narrowPeak) from ATAC-seq / ChIP-seq / CUT&Tag — peak count, width distribution, per-chromosome counts, score statistics. Skip when calling peaks from BAM (run MACS / Genrich externally first); working with single-cell ATAC (use scatac-preprocessing).

TianGzlab/OmicsClaw · 79 tokens

genomics-phasing

Load when summarising a phased VCF (output of WhatsHap / SHAPEIT5 / Eagle2) — phased fraction of het variants, phase-block N50, PS-field parsing, pipe-delimited genotype detection. Skip when the input is unphased (run a phaser first); calling small variants (use genomics-variant-calling).

TianGzlab/OmicsClaw · 77 tokens

genomics-qc

Load when running pre-alignment FASTQ quality control — Phred quality scores, Q20/Q30 rates, GC / N content, read-length distribution, adapter-contamination detection. Skip when working with already-aligned BAMs (use genomics-alignment); peak / variant files are the input (use the relevant downstream skill).

TianGzlab/OmicsClaw · 71 tokens

genomics-alignment

Load when computing alignment QC metrics (mapping rate, MAPQ distribution, insert size, duplicate rate, proper-pair rate) from a text SAM file produced by any short-/long-read aligner (BWA / Bowtie2 / Minimap2); convert a BAM with samtools view -h first. Skip when running the alignment step itself; only FASTQ-level QC…

TianGzlab/OmicsClaw · 89 tokens