metabolomics-analysis

metabolomics-analysis is a skill for Claude Code from Lord1Egypt/scientific-agent-toolkit. It costs 65 tokens per session (2,806 once invoked), scanned A, original, MIT.

A guide to studying small molecules in cells, tissues, or body fluids from LC-MS and GC-MS experiments. It covers data processing, metabolite identification, statistical comparisons, and pathway analysis.

In plain words
What is it for?
Use it to process mzML data, align features across samples, identify metabolites, compare biological conditions, map results to pathways, and combine findings with other omics data.
Why use it?
It helps turn mass-spectrometry files into comparable molecular measurements and biological findings. It addresses feature detection, normalization, differential analysis, and links to known metabolic pathways.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to process mzML data, align features across samples, identify metabolites, compare biological conditions, map results to pathways, and combine findings with other omics data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lord1egypt/scientific-agent-toolkit/metabolomics-analysis
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 Lord1Egypt/scientific-agent-toolkit --skill metabolomics-analysis
Clone the repo
git clone --depth 1 https://github.com/Lord1Egypt/scientific-agent-toolkit

Made for: Claude Code.

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-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/lord1egypt/scientific-agent-toolkit/metabolomics-analysis/github.svg)](https://agentmods.dev/skills/lord1egypt/scientific-agent-toolkit/metabolomics-analysis)
Your own site
<a href="https://agentmods.dev/skills/lord1egypt/scientific-agent-toolkit/metabolomics-analysis"><img src="https://agentmods.dev/badge/skills/lord1egypt/scientific-agent-toolkit/metabolomics-analysis/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 metabolomics-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/lord1egypt/scientific-agent-toolkit/metabolomics-analysis"><img src="https://agentmods.dev/badge/skills/lord1egypt/scientific-agent-toolkit/metabolomics-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,806 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00065 $0.02806
Opus 5 $0.00032 $0.01403
Sonnet 5 $0.00013 $0.00561
Haiku 4.5 $0.00006 $0.00281

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

Security

Grade A, and why

metabolomics-analysis scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

r = requests.get(url, timeout=30)
scientific-skills/metabolomics-analysis/SKILL.md · 292 lines

How it starts

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

Metabolomics Analysis

Overview

Metabolomics is the large-scale study of small molecules (metabolites) within cells, tissues, or biofluids. This skill covers untargeted LC-MS and GC-MS metabolomics workflows including feature extraction, normalization, statistical analysis, metabolite identification, and pathway enrichment using Python-based tools.

When to Use This Skill

  • Processing LC-MS or GC-MS raw data for metabolite profiling
  • Feature detection and alignment across samples
  • Metabolite identification using MS2 matching (GNPS, mzCloud, HMDB)
  • Statistical analysis: PCA, PLS-DA, ANOVA, fold-change
  • Differential metabolite analysis between biological conditions
  • Metabolic pathway mapping (KEGG, BioCyc, MetaCyc)
  • Normalization methods for metabolomics data
  • Multi-omics integration with proteomics and transcriptomics

Quick Start

Loading mzML Data with pyMZML

from pyteomics import mzml
import numpy as np
import pandas as pd

# Load mzML file
spectra = []
with mzml.MzML("sample.mzML") as reader:
    for spectrum in reader:
        if spectrum["ms level"] == 1:
            spectra.append({
                "scan": spectrum["index"],
                "rt": spectrum["scanList"]["scan"][0]["scan start time"],
                "mz": spectrum["m/z array"],
                "intensity": spectrum["intensity array"],
            })

print(f"MS1 spectra loaded: {len(spectra)}")
print(f"RT range: {spectra[0]['rt']:.2f} - {spectra[-1]['rt']:.2f} min")

Feature Detection and Peak Picking

import numpy as np
import pandas as pd
from scipy.signal import find_peaks
from scipy.ndimage import gaussian_filter1d

def extract_ion_chromatogram(spectra: list, mz_target: float, ppm: float = 10.0) -> pd.DataFrame:
    """Extract Extracted Ion Chromatogram (EIC) for a target m/z."""
    mz_tol = mz_target * ppm / 1e6
    eic = []
    for s in spectra:
        mask = np.abs(s["mz"] - mz_target) <= mz_tol
        intensity = s["intensity"][mask].sum() if mask.any() else 0.0
        eic.append({"rt": s["rt"], "intensity": intensity})
    return pd.DataFrame(eic)

def detect_peaks(eic: pd.DataFrame, min_intensity: float = 1000.0) -> list:
    """Detect chromatographic peaks in EIC."""
    smoothed = gaussian_filter1d(eic["intensity"].values, sigma=2)
    peaks, props = find_peaks(smoothed, height=min_intensity, prominence=500, width=3)
    return [
        {
            "rt": eic["rt"].iloc[p],
            "peak_intensity": smoothed[p],
            "width": props["widths"][i],
        }
        for i, p in enumerate(peaks)
    ]

# Example: extract glucose (M+H = 181.0708 Da)
eic = extract_ion_chromatogram(spectra, mz_target=181.0708, ppm=5.0)
peaks = detect_peaks(eic, min_intensity=5000.0)
print(f"Peaks found for m/z 181.0708: {len(peaks)}")
for p in peaks:
    print(f"  RT={p['rt']:.2f} min, Intensity={p['peak_intensity']:.0f}")

Read the full file on GitHub · 292 lines

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. 8d ago First seen · 292 lines · 65 tokens per session scan A a46d8613f091

Subscribe to this mod's changes

metabolomics-analysis is a skill published in the GitHub repository Lord1Egypt/scientific-agent-toolkit (3 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 2,806 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

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

alterlab-deep-research

Runs a 13-agent deep research pipeline for rigorous academic work on any topic across 7 modes (full research, quick brief, paper review, lit-review, fact-check, Socratic guided research dialogue, and systematic review with optional meta-analysis), covering research-question formulation, Socratic mentoring, methodology…

AlterLab-IEU/AlterLab-Academic-Skills · 239 tokens

alterlab-imaging-data-commons

Query and download public cancer imaging data from the NCI Imaging Data Commons (IDC) using the idc-index Python package, filtering by metadata, visualizing in-browser, and checking licenses, with no authentication required. Use when obtaining large-scale radiology (CT, MR, PET) or digital pathology DICOM datasets for…

AlterLab-IEU/AlterLab-Academic-Skills · 90 tokens

alterlab-pyhealth

Develops, tests, and deploys clinical machine learning models with the PyHealth healthcare AI toolkit. Use when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC), physiological signals (EEG, ECG), healthcare…

AlterLab-IEU/AlterLab-Academic-Skills · 117 tokens

alterlab-cobrapy

Build and analyze genome-scale constraint-based metabolic models with COBRApy — flux balance analysis (FBA), flux variability analysis (FVA), gene and reaction knockouts, flux sampling, and SBML model I/O. Use when simulating metabolic networks, predicting growth or knockout phenotypes, or running systems-biology and…

AlterLab-IEU/AlterLab-Academic-Skills · 91 tokens

alterlab-deeptools

Process and visualize deep-sequencing coverage with the deepTools CLI — convert BAM to bigWig (bamCoverage), build log2 ratio tracks (bamCompare), run QC (multiBamSummary correlation, PCA, plotFingerprint), apply the ATAC-seq Tn5 shift (alignmentSieve --ATACshift), and make TSS/peak heatmaps and profiles…

AlterLab-IEU/AlterLab-Academic-Skills · 173 tokens