Agent skill

Metabolomics De

by TianGzlab in TianGzlab/OmicsClaw

Load when running two-group metabolomics DE (t-test + log2FC + BH-FDR + PCA) on a feature × sample CSV using --group-a-prefix / --group-b-prefix (default ctrl / treat).

Apache-2.0Auto-check passedData & Analytics

Install Metabolomics De

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

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

GitHub CLI
$ gh skill install TianGzlab/OmicsClaw metabolomics-de --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-de .claude/skills/metabolomics-de && 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-de
GitHub stars
161
Token cost
~983 tokens
SKILL.md length
353 words
Files
8 (incl. references)
Skills in repo
88
Repo updated
First seen
Licence
Apache-2.0

At a glance

Load when running two-group metabolomics DE (t-test + log2FC + BH-FDR + PCA) on a feature × sample CSV using --group-a-prefix / --group-b-prefix (default ctrl / treat).

  • Tasks that involve Statistics
  • 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 De is an agent skill from TianGzlab/OmicsClaw. Load when running two-group metabolomics DE (t-test + log2FC + BH-FDR + PCA) on a feature × sample CSV using --group-a-prefix / --group-b-prefix (default ctrl / treat). Skip when needing tunable test backends (use metabolomics-statistics); raw spectra.

Its SKILL.md is about 980 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 `met_diff.py`).

It sits in Data & Analytics, covering Statistics and CSV and tabular files. 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 Statistics
  • Tasks that involve CSV and tabular files

Example prompts

  • “/metabolomics-de”

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 De loads about 983 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 353 words of instructions outside code blocks.

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

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). 353 words, ~983 tokens.

Download SKILL.mdSave it as .claude/skills/metabolomics-de/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
metabolomics-de
description
Load when running two-group metabolomics DE (t-test + log2FC + BH-FDR + PCA) on a feature × sample CSV using `--group-a-prefix` / `--group-b-prefix` (default `ctrl` / `treat`). Skip when needing tunable test backends (use metabolomics-statistics); raw spectra.
trigger
metabolomics differential, PLS-DA, volcano plot, biomarker, OPLS-DA
tags
metabolomics, de, ttest, pca, bh-fdr, biomarker

metabolomics-de

When to use

Run Welch tests and treatment/control fold changes using ctrl/treat sample prefixes. Use metabolomics-statistics for another test backend.

Use from a step

python
import pandas as pd
from skills._sdk.notebook import load_skill, read_input, write_output
library = load_skill("metabolomics-de")
data = read_input('features.csv', reader=pd.read_csv)
result = library.differential_expression(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 -->
differential_expression(data, *, group_a_prefix='ctrl', group_b_prefix='treat')

Return Welch tests, treatment/control log2 fold changes and BH FDR.

:param data: Feature table whose first column identifies features; other columns contain intensities. :param group_a_prefix: CLI default ctrl; prefix selecting control samples. :param group_b_prefix: CLI default treat; prefix selecting treatment samples. :returns: A new differential table with group sizes in attrs['run_info']. :raises ValueError: A group is absent or groups overlap.

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.

pca_figure(data, *, group_a_prefix='ctrl', group_b_prefix='treat', random_state=0)

Plot sample PCA from untransformed intensities; NaNs become zero.

:param data: Feature table with the same sample columns as differential_expression. :param group_a_prefix: CLI default ctrl; control prefix. :param group_b_prefix: CLI default treat; treatment prefix. :param random_state: Default 0; seed forwarded to sklearn PCA. :returns: A matplotlib Figure with sample labels and explained variance axes. :raises ImportError: Install scikit-learn with install_skill_deps if unavailable. :raises ValueError: Groups are absent, overlap or the matrix is invalid.

<!-- api:end -->
Show full SKILL.md (111 more words)Show less

Methods and parameters

Welch tests use raw supplied intensities, with BH FDR and a fixed CLI significance threshold of 0.05. PCA uses untransformed intensities and converts NaNs to zero.

Gotchas

  • differential_expression treats the first column as feature IDs. Both groups must be nonempty and disjoint. tables/significant_features.csv uses fdr < 0.05. The CLI logs optional PCA failures.

Inputs and outputs

CSV input; tables/differential_features.csv, report.md and result.json. The CLI also writes tables/significant_features.csv and, when PCA succeeds, figures/pca_scores.png. Demo mode also writes its synthetic input CSV at the output root. The function library returns objects; the CLI and step own file writes.

CLI

bash
python skills/metabolomics/metabolomics-de/met_diff.py --demo --output /tmp/metabolomics_de

See also

Dependencies

numpy, pandas, scipy, scikit-learn, 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-de of TianGzlab/OmicsClaw.

  • SKILL.md
  • _api.py
  • examples/example_step.py
  • met_diff.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 De 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 De compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Metabolomics De this skillTianGzlab/OmicsClaw161—~983Automated safety check: PassApache-2.0
Analysis Graphingclshortfuse/renodx4.5k—~1.1kAutomated safety check: PassMIT
Eqtl Catalogue Region FetchClawBio/ClawBio1.2k1 repos~4.7kAutomated safety check: PassMIT
CSV Data Analysis5zjk5/prompt-engineering127—~2.6kAutomated safety check: PassNone
Gwas Catalog Region FetchClawBio/ClawBio1.2k1 repos~3.5kAutomated safety check: PassMIT
Data Analysisfastclaw-ai/fastclaw1.4k—~410Automated safety check: PassCustom licence

Similar skills

  • Analysis Graphing

    clshortfuse/renodx

    RenoDX workflow for creating readable analysis graphs and plots from shader math, CSVs, EXRs, LUTs, hue sweeps, tone curves, gamut comparisons, energy/scalar maps, and test-pattern statistics.

    4.5k GitHub stars~1.1k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~4.7k tokens
    Data & AnalyticsAuto-check passed
  • CSV Data Analysis

    5zjk5/prompt-engineering

    This skill should be used when users need to analyze CSV or Excel files, understand data patterns, generate statistical summaries, or create data visualizations.

    127 GitHub stars~2.6k tokensUpdated 25 days ago
    Data & AnalyticsAuto-check passed
  • Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Data & AnalyticsAuto-check passed
  • Data Analysis

    fastclaw-ai/fastclaw

    Analyze data, process CSV/JSON files, compute statistics, and create data visualizations.

    1.4k GitHub stars~410 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Data Analysis

    spytensor/openmozi

    Data analysis workflow: ingest, validate quality, explore, analyze, report.

    456 GitHub stars~535 tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed

More from TianGzlab/OmicsClaw

All 88 skills in this repo
  • 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 3 days ago
    Auto-check passed
  • Bulkrna Batch Correction

    TianGzlab/OmicsClaw

    Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation.

    161 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Bulkrna Coexpression

    TianGzlab/OmicsClaw

    Load when discovering bulk gene co-expression modules and hub genes with R WGCNA.

    161 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Bulkrna De

    TianGzlab/OmicsClaw

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

    161 GitHub stars~867 tokensUpdated 3 days ago
    Auto-check passed
  • Bulkrna Deconvolution

    TianGzlab/OmicsClaw

    Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference.

    161 GitHub stars~757 tokensUpdated 3 days ago
    Auto-check passed
  • Bulkrna Enrichment

    TianGzlab/OmicsClaw

    Load when running pathway / GO term enrichment on a bulk RNA-seq DE result list.

    161 GitHub stars~860 tokensUpdated 3 days ago
    Auto-check passed

Questions about Metabolomics De

What does Metabolomics De do?

Load when running two-group metabolomics DE (t-test + log2FC + BH-FDR + PCA) on a feature × sample CSV using --group-a-prefix / --group-b-prefix (default ctrl / treat). Metabolomics De is an agent skill from TianGzlab/OmicsClaw. Load when running two-group metabolomics DE (t-test + log2FC + BH-FDR + PCA) on a feature × sample CSV using --group-a-prefix / --group-b-prefix (default ctrl / treat).

When should I use Metabolomics De?

Metabolomics De fits situations like: tasks that involve Statistics; tasks that involve CSV and tabular files.

How do I install Metabolomics De in Claude Code?

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

How do I install Metabolomics De in Codex?

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

Can I use Metabolomics De 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-de -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-de, .gemini/skills/metabolomics-de, .github/skills/metabolomics-de and .opencode/skills/metabolomics-de in your project.

What does Metabolomics De need to run?

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

Does Metabolomics De 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 De 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 De use?

Metabolomics De 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 De use?

About 983 tokens (SKILL.md is roughly 3.9k 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 327 tokens, read only when the agent opens those files.

What are the alternatives to Metabolomics De?

Skills that share tags, products or a category with Metabolomics De: Analysis Graphing (clshortfuse/renodx, 4.5k stars), Eqtl Catalogue Region Fetch (ClawBio/ClawBio, 1.2k stars), CSV Data Analysis (5zjk5/prompt-engineering, 127 stars) and Gwas Catalog Region Fetch (ClawBio/ClawBio, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Metabolomics De?

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.