metabolomics-xcms-preprocessing

metabolomics-xcms-preprocessing is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 47 tokens per session (521 once invoked), scanned A, original, Apache-2.0.

An LC-MS or GC-MS metabolomics preprocessing tool. It turns raw or vendor-converted files into a table of detected signals with mass-to-charge ratio, retention time, and sample intensities.

In plain words
What is it for?
Use it to perform XCMS-style peak detection, align signals across samples, and produce a peak table for later analysis.
Why use it?
Raw instrument files are not yet organised for comparing features across samples. This creates a common peak table and fills gaps between samples in the workflow.

Skill for Claude CodeCodex

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

Good fit Use it to perform XCMS-style peak detection, align signals across samples, and produce a peak table for later analysis.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/metabolomics-xcms-preprocessing/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/metabolomics-xcms-preprocessing)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/metabolomics-xcms-preprocessing"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/metabolomics-xcms-preprocessing/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-xcms-preprocessing

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/metabolomics-xcms-preprocessing"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/metabolomics-xcms-preprocessing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 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.00047 $0.00521
Opus 5.5 $0.00019 $0.00208
Sonnet 5.5 $0.00009 $0.00104
Haiku 4.5 $0.00005 $0.00052

Measured 1mo ago against content hash e3c4722c71d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

metabolomics-xcms-preprocessing 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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/example_step.py, metabolomics_xcms_preprocessing.py, tests/test_cli.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-xcms-preprocessing/SKILL.md · 60 lines

What it actually says

metabolomics-xcms-preprocessing

When to use

This CLI generates synthetic peak tables only. It does not read mzML spectra, run XCMS, align retention times or perform gap filling. Real --input runs fail before writing results. Use XCMS externally for raw LC-MS analysis. The skill remains CLI-only because it has no implemented scientific analysis that can be exposed as a computational function library.

Inputs & Outputs

--demo needs no input. Outputs are tables/peak_table.csv, report.md, result.json and reproducibility/commands.sh. The table contains synthetic m/z bounds, retention-time bounds, integrated/maximum intensities and five sample columns. There are no Figures or AnnData outputs.

Flow

  1. Reject real input and invalid ppm/peak-width settings.
  2. Generate a seeded synthetic peak table using the supplied demo parameters.
  3. Write the CSV, report, result envelope and command record.

Gotchas

  • xcms_preprocess_python uses seed 42 and never reads spectra. The name is historical.
  • --demo --ppm 5 changes tables/peak_table.csv from 1,200 to 240 rows with default peak widths; these are simulated parameter responses.
  • result.json summary contains n_samples, n_peaks, mz_min, mz_max, rt_min and rt_max. They describe the simulation only.

Key CLI

python skills/metabolomics/metabolomics-xcms-preprocessing/metabolomics_xcms_preprocessing.py --demo --output /tmp/xcms_demo

Steps call run_cli('metabolomics-xcms-preprocessing', '--demo'). examples/example_step.py records and checks the synthetic peak table through the step runner and fresh replay.

See also

Dependencies

numpy, pandas

Files

What ships with it

6 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. 1mo ago Changed · -27 lines · -29 tokens per session e3c4722c71d1
  2. 2mo ago First seen · 87 lines · 76 tokens per session scan A a035bc8d1eb4

Subscribe to this mod's changes

metabolomics-xcms-preprocessing is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 521 once invoked, about $0.0002 per session on Opus 5.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

metabolomics-xcms-preprocessing compared with skills from other repositories

metabolomics-xcms-preprocessing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
metabolomics-xcms-preprocessingTianGzlab/OmicsClawSkill1611mo agoApache-2.0A47Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
cellxgene-census-queryPharMolix/OpenBioMedSkill1.1k4mo agoMITA105Claude Code, Codex
single-cell-scrna-seq-analysis-scanpyPharMolix/OpenBioMedSkill1.1k4mo agoMITA85Claude Code, Codex
single-cell-multi-omics-analysis-scviPharMolix/OpenBioMedSkill1.1k4mo agoMITA94Claude Code, Codex
molview-specPDBeurope/PDBe-MCP-ServersSkill4814d agoApache-2.0A57Claude Code, Codex
anndatasynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A63Claude Code, Codex