genomics-assembly

genomics-assembly is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 77 tokens per session (1,032 once invoked), scanned A, original, Apache-2.0.

A quality-checking workflow for a genome assembly: a collection of DNA sequence pieces produced by an assembler. It reads FASTA files and calculates measures such as contig counts, lengths, GC content, and N50/N90.

In plain words
What is it for?
Use it after SPAdes, Megahit, Flye, or Canu to create assembly metric tables, contig-length tables, plots, a report, and a JSON result.
Why use it?
It provides standard ways to judge how complete and well-structured an assembly is without running the assembly itself. N50 and N90 summarize the lengths of sequence pieces covering half or most of the assembled bases.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/tiangzlab/omicsclaw/genomics-assembly
Any agent
npx skills add TianGzlab/OmicsClaw --skill genomics-assembly
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

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 genomics-assembly

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-assembly.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-assembly)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/genomics-assembly"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/genomics-assembly.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,032 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00077 $0.01032
Opus 5 $0.00039 $0.00516
Sonnet 5 $0.00015 $0.00206
Haiku 4.5 $0.00008 $0.00103

Measured 5d ago against content hash e3f2ff71bd51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

genomics-assembly 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (genome_assembly.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/genomics/genomics-assembly/SKILL.md · 88 lines

How it starts

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

genomics-assembly

When to use

The user has a FASTA from any de novo assembler (SPAdes, Megahit, Flye, Canu, etc.) and wants standard QUAST-compatible quality metrics: contig count, N50 / N90, L50 / L90, total length, longest contig, GC content, optional completeness fraction (when --genome-size is provided).

This skill does NOT run the assembly. It consumes the FASTA the assembler emits.

Inputs & Outputs

Inputs

  • File types: .fasta, .fa

Outputs

  • tables/assembly_metrics.csv
  • tables/contig_lengths.csv
  • report.md
  • result.json

Flow

  1. Load FASTA (--input <assembly.fasta>) or generate a demo assembly at output_dir/demo_assembly.fasta (genome_assembly.py:186).
  2. Parse contigs (genome_assembly.py:52-67); each line is uppercased on read so case is normalised.
  3. Sort by length; compute cumulative N50 / N90 / L50 / L90 + total / longest + assembly-wide GC% from concatenated sequence.
  4. If --genome-size is set and > 0, compute completeness_pct = total_length / genome_size * 100.
  5. Write tables/contig_lengths.csv (genome_assembly.py:309) + tables/assembly_metrics.csv (:312) + report.md + result.json.

Gotchas

  • No assembler is invoked. This skill summarises an existing FASTA — it does not run SPAdes / Megahit / Flye / Canu. Run them upstream and feed the resulting FASTA here.
  • --input REQUIRED unless --demo. genome_assembly.py:290 raises ValueError("--input required when not using --demo"); non-existent paths raise FileNotFoundError at :293.
  • --genome-size 0 (default) skips completeness. Without an expected genome size (genome_assembly.py:279, default 0), the report omits the completeness column entirely. Pass --genome-size 3000000000 for a human-scale assembly to populate it.
  • Soft-masked bases are normalised to uppercase before GC counting. genome_assembly.py:67 calls line.upper() per FASTA line, so lowercase soft-masked regions contribute identically to hard-masked / unmasked sequence in the GC%. There is no way to exclude soft-masked regions short of pre-filtering the FASTA.
  • Demo FASTA has 100 contigs of varying length. --demo writes a fixed-pattern synthetic file useful for orchestrator smoke tests; the N50 it produces is not biologically meaningful.

Read the full file on GitHub · 88 lines

Files

What ships with it

5 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. 5d ago First seen · 88 lines · 77 tokens per session scan A e3f2ff71bd51

Subscribe to this mod's changes

genomics-assembly is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,032 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

biomcp

Search and retrieve biomedical data - genes, variants, clinical trials, diagnostic tests, articles, drugs, diseases, pathways, proteins, adverse events, pharmacogenomics, and phenotype-disease matching. Use for gene function, variant pathogenicity, trials, diagnostics, drug safety, pathway context, disease workups…

genomoncology/biomcp · 70 tokens

cellxgene-census-query

Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…

PharMolix/OpenBioMed · 105 tokens

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

biological-expert

Expert-level biology, biotechnology, genetics, bioinformatics, and computational biology. Use when the user mentions biology, biotechnology, genetics, bioinformatics, or genomics, or when the task involves Molecular Biology, Genomics & Bioinformatics, Systems Biology, or Data Analysis.

personamanagmentlayer/pcl · 59 tokens

biotech-expert

Expert in biotechnology systems, genomics, LIMS, bioinformatics pipelines, lab automation, and bioprocess management. Use when the user mentions genomics, bioinformatics, LIMS, lab automation, bioprocessing, or gene sequencing, or when the task involves Genomics and Sequencing Technologies, Laboratory Information…

personamanagmentlayer/pcl · 83 tokens

nfcore-scrnaseq-wrapper

Wrapper skill for running nf-core/scrnaseq 4.1.0 upstream single-cell RNA-seq preprocessing from FASTQ with strict preflight, reproducibility outputs, and downstream handoff to ClawBio scRNA skills.

ClawBio/ClawBio · 55 tokens