Agent skill

Metabolomics Normalization

by TianGzlab in TianGzlab/OmicsClaw

Load when normalising a feature × sample metabolomics CSV via median, quantile, total (sum), PQN (probabilistic quotient), or log methods — emits a normalised wide-form table.

Apache-2.0Auto-check passedData & Analytics

Install Metabolomics Normalization

skills CLI
$ npx skills add TianGzlab/OmicsClaw --skill metabolomics-normalization -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TianGzlab/OmicsClaw metabolomics-normalization --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/metabolomics/metabolomics-normalization .claude/skills/metabolomics-normalization && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
metabolomics-normalization
GitHub stars
161
Token cost
~836 tokens
SKILL.md length
270 words
Files
8 (incl. references)
Skills in repo
88
Repo updated
First seen
Licence
Apache-2.0

At a glance

Load when normalising a feature × sample metabolomics CSV via median, quantile, total (sum), PQN (probabilistic quotient), or log methods — emits a normalised wide-form table.

  • Tasks that involve Database schema design
  • SKILL.md covers When to use, Use from a step, API and Methods and parameters, plus 5 more sections
  • Runs Python scripts from its folder; calls python
  • Tasks that involve CSV and tabular files

What it does

Metabolomics Normalization is an agent skill from TianGzlab/OmicsClaw. Load when normalising a feature × sample metabolomics CSV via median, quantile, total (sum), PQN (probabilistic quotient), or log methods — emits a normalised wide-form table. Skip when also imputing (use metabolomics-quantification); raw spectra (use metabolomics-xcms-preprocessing).

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `_api.py`, `examples/example_step.py` and `metabolomics_normalization.py`).

It sits in Data & Analytics, covering Database schema design, CSV and tabular files and DataFrames. The repository describes itself as: Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Database schema design
  • Tasks that involve CSV and tabular files
  • Tasks that involve DataFrames

Example prompts

  • “/metabolomics-normalization”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 90a3bec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Metabolomics Normalization loads about 836 tokens when it runs, and up to ~1.2k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 270 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~836
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TianGzlab/OmicsClaw at commit 90a3bec, republished under its Apache-2.0 licence (© TianGzlab). 270 words, ~836 tokens.

Download SKILL.mdSave it as .claude/skills/metabolomics-normalization/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
metabolomics-normalization
description
Load when normalising a feature × sample metabolomics CSV via median, quantile, total (sum), PQN (probabilistic quotient), or log methods — emits a normalised wide-form table. Skip when also imputing (use metabolomics-quantification); raw spectra (use metabolomics-xcms-preprocessing).
trigger
metabolomics normalization, scaling, NOREVA, TIC normalization
tags
metabolomics, normalization, pqn, quantile, median, log

metabolomics-normalization

When to use

Normalize a numeric feature-by-sample table. Use metabolomics-quantification when missing-value imputation is also needed.

Use from a step

python
import pandas as pd
from skills._sdk.notebook import load_skill, read_input, write_output
library = load_skill("metabolomics-normalization")
data = read_input('features.csv', reader=lambda path: pd.read_csv(path, index_col=0))
result = library.normalize(data)
write_output(result, 'tables/result.csv')

examples/example_step.py runs a seeded synthetic example through the step runner and writes a table and Figure. Computations return new DataFrames, leave the input unchanged and expose diagnostics through run_info(result). Plotting functions write no files.

API

<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
normalize(data, *, method='median')

Return a normalized copy, preserving feature and sample labels.

:param data: Numeric feature-by-sample DataFrame; NaNs retain method semantics. :param method: CLI default median; quantile, total, pqn or log are alternatives. :returns: A new DataFrame with method and dimensions in attrs['run_info']. :raises ValueError: The requested method is unknown.

run_info(data, *, keep=True)

Read diagnostics attached to a returned table.

:param data: DataFrame returned by this library. :param keep: Default True; use False in the CLI to remove diagnostics. :returns: An independent dictionary describing the run. :raises ValueError: The table carries no run_info.

distribution_figure(data)

Plot normalized sample distributions without writing a file.

:param data: Numeric feature-by-sample DataFrame. :returns: A matplotlib Figure. :raises ValueError: No numeric columns are available.

<!-- api:end -->

Methods and parameters

Median and total scale each column to the median column median or sum. Quantile maps ranks to averaged sorted values. PQN uses a TIC-normalized reference to estimate quotients, then divides the original intensities. Log computes log2(x+1).

Gotchas

  • normalize preserves NaNs according to the method and performs no imputation. Zero divisors become NaN. The input index is retained in tables/normalized.csv.

Inputs and outputs

CSV input; tables/normalized.csv, report.md and result.json. The CLI writes reproducibility/commands.sh. The function library returns objects; the CLI and step own file writes.

CLI

bash
python skills/metabolomics/metabolomics-normalization/metabolomics_normalization.py --demo --output /tmp/metabolomics_normalization

See also

Dependencies

numpy, pandas, matplotlib

© TianGzlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in skills/metabolomics/metabolomics-normalization of TianGzlab/OmicsClaw.

  • SKILL.md
  • _api.py
  • examples/example_step.py
  • metabolomics_normalization.py
  • references/methodology.md
  • references/output_contract.md
  • references/parameters.md
  • tests/test_api.py

Open the folder on GitHubat commit 90a3bec

Compare with similar skills

Metabolomics Normalization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Metabolomics Normalization compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Metabolomics Normalization this skillTianGzlab/OmicsClaw161—~836Automated safety check: PassApache-2.0
Data Table AnalysisNVIDIA-AI-Blueprints/deep-researcher-agent883—~2.5kAutomated safety check: PassApache-2.0
CSV Data Summarizercoffeefuelbump/csv-data-summarizer-claude-skill4682 repos~1.4kAutomated safety check: PassNone
Deidentify A Datasetmaziyarpanahi/openmed5.5k—~760Automated safety check: PassApache-2.0
CSV Processingbenchflow-ai/skillsbench1.8k—~455Automated safety check: PassApache-2.0
Duckdb EnaAAaqwq/AGI-Super-Team1051 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Data Table Analysis

    NVIDIA-AI-Blueprints/deep-researcher-agent

    A skill your agent uses for converting researched facts or user-provided data into structured tables by writing code, then running Python/pandas calculations in the job-scoped sandbox.

    883 GitHub stars~2.5k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • CSV Data Summarizer

    coffeefuelbump/csv-data-summarizer-claude-skill

    Analyzes CSV files, generates summary stats, and plots quick visualizations using Python and pandas.

    468 GitHub starsUsed in 2 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Deidentify A Dataset

    maziyarpanahi/openmed

    De-identify selected free-text columns in a local CSV, JSONL, or Parquet dataset with OpenMed and produce a separate redacted dataset plus a PHI-free aggregate summary.

    5.5k GitHub stars~760 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • CSV Processing

    benchflow-ai/skillsbench

    A skill your agent uses when reading sensor data from CSV files, writing simulation results to CSV, processing time-series data with pandas, or handling missing values in datasets.

    1.8k GitHub stars~455 tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed
  • Duckdb En

    aAAaqwq/AGI-Super-Team

    DuckDB CLI specialist for SQL analysis, data processing and file conversion.

    105 GitHub starsUsed in 1 repo~1.6k tokens
    DatabasesAuto-check passed
  • Minerals Data

    lamm-mit/scienceclaw

    Query and analyze structured CSV datasets on critical minerals production, trade, and supply chains

    244 GitHub stars~730 tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed

More from TianGzlab/OmicsClaw

All 88 skills in this repo
  • Bulkrna De

    TianGzlab/OmicsClaw

    Load when comparing gene expression between two conditions in bulk RNA-seq count data.

    161 GitHub starsUsed in 1 repo~867 tokens
    Auto-check passed
  • Bulkrna Cosinor Rhythm

    TianGzlab/OmicsClaw

    Load when the user needs Deterministic fixed-period 24-hour single-component cosinor OLS rhythm analysis for a bulk RNA time-course CSV.

    161 GitHub stars~840 tokensUpdated today
    Auto-check passed
  • Bulkrna Qc

    TianGzlab/OmicsClaw

    Load when checking a bulk RNA-seq count matrix for library-size outliers, gene detection rates, and sample-sample correlation before DE.

    161 GitHub starsUsed in 1 repo~789 tokens
    Auto-check passed
  • Sc Fastq Qc

    TianGzlab/OmicsClaw

    Load when checking raw single-cell FASTQ read quality (Phred / GC / adapter / length) before counting.

    161 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Sc Filter

    TianGzlab/OmicsClaw

    Load when removing low-quality cells and lowly-detected genes from a single-cell AnnData using QC-derived thresholds or tissue presets.

    161 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Sc Markers

    TianGzlab/OmicsClaw

    Load when ranking cluster-level marker genes from a clustered single-cell AnnData via Scanpy Wilcoxon / t-test / logreg or COSG specificity.

    161 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Questions about Metabolomics Normalization

What does Metabolomics Normalization do?

Load when normalising a feature × sample metabolomics CSV via median, quantile, total (sum), PQN (probabilistic quotient), or log methods — emits a normalised wide-form table. Metabolomics Normalization is an agent skill from TianGzlab/OmicsClaw. Load when normalising a feature × sample metabolomics CSV via median, quantile, total (sum), PQN (probabilistic quotient), or log methods — emits a normalised wide-form table.

When should I use Metabolomics Normalization?

Metabolomics Normalization fits situations like: tasks that involve Database schema design; tasks that involve CSV and tabular files; tasks that involve DataFrames.

How do I install Metabolomics Normalization in Claude Code?

Run `npx skills add TianGzlab/OmicsClaw --skill metabolomics-normalization -a claude-code`. Or copy the skill folder (skills/metabolomics/metabolomics-normalization in TianGzlab/OmicsClaw) into .claude/skills/metabolomics-normalization in your project. Claude Code loads it when a task matches its description.

How do I install Metabolomics Normalization in Codex?

Run `npx skills add TianGzlab/OmicsClaw --skill metabolomics-normalization -a codex`. Or copy the skill folder (skills/metabolomics/metabolomics-normalization in TianGzlab/OmicsClaw) into .agents/skills/metabolomics-normalization in your project. Codex loads it when a task matches its description.

Can I use Metabolomics Normalization in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TianGzlab/OmicsClaw --skill metabolomics-normalization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/metabolomics-normalization, .gemini/skills/metabolomics-normalization, .github/skills/metabolomics-normalization and .opencode/skills/metabolomics-normalization in your project.

What does Metabolomics Normalization need to run?

Going by SKILL.md and its folder, Metabolomics Normalization needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Metabolomics Normalization access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Metabolomics Normalization safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Metabolomics Normalization use?

Metabolomics Normalization is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Metabolomics Normalization use?

About 836 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 321 tokens, read only when the agent opens those files.

What are the alternatives to Metabolomics Normalization?

Skills that share tags, products or a category with Metabolomics Normalization: Data Table Analysis (NVIDIA-AI-Blueprints/deep-researcher-agent, 883 stars), CSV Data Summarizer (coffeefuelbump/csv-data-summarizer-claude-skill, 468 stars), Deidentify A Dataset (maziyarpanahi/openmed, 5.5k stars) and CSV Processing (benchflow-ai/skillsbench, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Metabolomics Normalization?

TianGzlab (a GitHub organization) maintains it in TianGzlab/OmicsClaw, which has 161 GitHub stars. The repository holds 88 skills in this directory. The repository was last updated on October 7, 2026.

Source: TianGzlab/OmicsClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.