metabolomics-quantification

metabolomics-quantification is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 68 tokens per session (1,177 once invoked), scanned A, original, Apache-2.0.

A metabolomics data-processing tool for a CSV table of measured features across samples. It fills in missing values and scales the measurements so samples can be compared.

In plain words
What is it for?
Use it to impute missing values with minimum, median, or KNN methods and normalise samples with total ion current, median, or log transformation.
Why use it?
Incomplete values and differing measurement scales can make biological comparisons unreliable. This provides several stated methods for handling both problems in one step.

Skill for Claude CodeCodex

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

Good fit Use it to impute missing values with minimum, median, or KNN methods and normalise samples with total ion current, median, or log transformation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/metabolomics-quantification
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 TianGzlab/OmicsClaw --skill metabolomics-quantification
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 metabolomics-quantification

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/metabolomics-quantification.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/metabolomics-quantification)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/metabolomics-quantification"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/metabolomics-quantification.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,177 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 3
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00068 $0.01177
Opus 5 $0.00034 $0.00589
Sonnet 5 $0.00014 $0.00235
Haiku 4.5 $0.00007 $0.00118

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

Security

Grade A, and why

metabolomics-quantification 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (met_quantify.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/metabolomics/metabolomics-quantification/SKILL.md · 98 lines

How it starts

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

metabolomics-quantification

When to use

The user has a feature × sample metabolomics intensity table and wants missing-value imputation followed by normalisation, in a single pass. Imputation: min (1/2 of column min), median (per-column median), knn (sklearn KNNImputer). Normalisation: tic (Total Ion Current per sample), median (per-sample median), log (log2(x+1)).

Sample columns are auto-detected by name prefix sample / intensity. For just normalisation use metabolomics-normalization; for raw LC-MS use metabolomics-xcms-preprocessing.

Inputs & Outputs

Inputs

  • File types: .csv

Outputs

  • tables/quantified_features.csv
  • report.md
  • result.json

Flow

  1. Load CSV (--input <features.csv>) or generate a demo (--demo).
  2. Auto-detect sample columns via c.startswith("sample") or c.startswith("intensity") (met_quantify.py:72-84); raise ValueError("Could not auto-detect sample columns in the input file.") at :174 if none found.
  3. Impute missing values per --impute (min / median / knn); reject unknown method at :187 with ValueError("Unknown impute method: ...").
  4. Normalise per --normalize (tic / median / log); reject unknown method at :193.
  5. Write tables/quantified_features.csv (met_quantify.py:294) + report.md + result.json.

Gotchas

  • Sample-column auto-detection is case-SENSITIVE prefix match. met_quantify.py:74-84 uses c.startswith("sample") or c.startswith("intensity"). Sample_1 (capital S) does NOT match — pre-rename to lowercase or use metabolomics-peak-detection's --sample-prefix (no equivalent flag here).
  • No sample columns ⇒ ValueError. met_quantify.py:174 raises ValueError("Could not auto-detect sample columns in the input file.") after both detection passes fail.
  • --input REQUIRED unless --demo. met_quantify.py:286 raises ValueError("--input required when not using --demo").
  • knn imputation requires sklearn. Available by default in OmicsClaw env. Imputes using KNNImputer(n_neighbors=5).
  • log normalisation is log2(x+1). Zero → 0 (preserves zeros); negative values raise (silently propagate NaN). Pre-clip negatives upstream.
  • Imputation runs BEFORE normalisation. This means min imputation uses unnormalised column min — re-running with a different --normalize does NOT change imputed-cell values. To get norm-aware imputation, run metabolomics-normalization standalone first, then use --impute median here on already-normalised data.

Read the full file on GitHub · 98 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. 4d ago First seen · 98 lines · 68 tokens per session scan A a766097c8b0e

Subscribe to this mod's changes

metabolomics-quantification is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,177 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

scanpy

Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, and visualization. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use…

synthetic-sciences/openscience · 68 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

single-cell-scrna-seq-analysis-scanpy

Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…

PharMolix/OpenBioMed · 85 tokens

single-cell-multi-omics-analysis-scvi

Probabilistic deep learning framework for single-cell multi-omics data analysis. Use this skill when: (1) Analyzing single-cell RNA-seq data with batch correction, (2) Integrating multi-modal data (CITE-seq, ATAC-seq, multi-omics), (3) Performing cell type annotation with scANVI, (4) Spatial transcriptomics…

PharMolix/OpenBioMed · 94 tokens

anndata

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

synthetic-sciences/openscience · 63 tokens

celltypepilot

Single-cell cell-type annotation with evidence, conservative abstention, and reviewable drafts. Use this whenever the user wants to annotate, label, or identify cell types for pre-clustered single-cell or spatial transcriptomics data (.h5ad), or says things like "annotate my clusters", "what cell types are these?"…

HERRY423/CellTypePilot · 151 tokens