skills/metabolomics/SKILL.md
ToolUniverse workflow — Metabolomics
npx skillsauth add lamm-mit/scienceclaw metabolomicsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive metabolomics research skill that identifies metabolites, analyzes studies, and searches metabolomics databases. Generates structured research reports with annotated metabolite information, study details, and database statistics.
Use this skill when asked to:
Example queries:
Primary metabolite databases:
The skill executes a 4-phase analysis pipeline:
For each metabolite in the input list:
For provided study IDs:
For keyword searches:
Always included in reports:
Input:
Output report includes:
Input:
Output report includes:
Input:
Output report includes:
Input:
Output report includes:
List of metabolite names to identify and annotate.
["glucose"], ["lactate", "pyruvate", "acetate"]MetaboLights or Metabolomics Workbench study identifier.
"MTBLS1", "ST000001"Keyword to search metabolomics studies.
"diabetes", "glucose metabolism", "LC-MS"Target organism for study filtering.
"Homo sapiens""Mus musculus", "Saccharomyces cerevisiae"Path for the generated markdown report.
"my_analysis.md", "metabolomics_report.md"All analyses generate a structured markdown report with:
Header section:
Phase sections:
Database overview:
Error handling:
HMDB tools are SOAP-based and require special parameter handling:
HMDB_search: Requires operation="search" parameterHMDB_get_metabolite: Requires operation="get_metabolite" parameterendpoint or method parameters (not applicable to SOAP)Tools return different response formats - handle all three:
{status: "success", data: [...], metadata: {...}}[...] (e.g., metabolights_list_studies){field1: ..., field2: ...} (e.g., some detail endpoints)Always check response type with isinstance() before accessing fields.
Follow this hierarchy for robustness:
Write report incrementally to avoid memory issues:
The skill automatically discovers and uses these tools from ToolUniverse:
HMDB Tools:
HMDB_search: Search metabolites by nameHMDB_get_metabolite: Get detailed metabolite informationMetaboLights Tools:
metabolights_list_studies: List available studiesmetabolights_search_studies: Search studies by keywordmetabolights_get_study: Get study details by IDMetabolomics Workbench Tools:
MetabolomicsWorkbench_get_study: Get study informationMetabolomicsWorkbench_search_compound_by_name: Search compoundsPubChem Tools:
PubChem_get_CID_by_compound_name: Get PubChem CIDPubChem_get_compound_properties_by_CID: Get chemical propertiesNo manual tool configuration required - all tools loaded automatically.
Cause: HMDB search returned empty results or index error accessing first result Solution: This is expected for uncommon metabolites; PubChem fallback will be attempted
Cause: Study ID not found or API unavailable Solution: Verify study ID format (MTBLS* or ST*), check if study is public
Cause: Missing API keys for some databases
Solution: Check .env.template, add required API keys to .env file (most metabolomics tools work without keys)
Cause: Pipeline queries each metabolite individually Solution: Reports limit to first 10 metabolites; consider batching for >20 metabolites
| Tool | Required Parameters | Optional Parameters | Response Format | Notes |
|------|---------------------|---------------------|-----------------|-------|
| HMDB_search | operation="search", query | - | {status, data: []} | SOAP tool - operation required |
| HMDB_get_metabolite | operation="get_metabolite", hmdb_id | - | {status, data: {}} | SOAP tool - operation required |
| Tool | Required Parameters | Optional Parameters | Response Format | Notes |
|------|---------------------|---------------------|-----------------|-------|
| metabolights_list_studies | - | size (default: 10) | {status, data: []} or [...] | May return direct list |
| metabolights_search_studies | query | - | {status, data: []} | Returns study IDs |
| metabolights_get_study | study_id | - | {status, data: {}} | Full study metadata |
| Tool | Required Parameters | Optional Parameters | Response Format | Notes |
|------|---------------------|---------------------|-----------------|-------|
| MetabolomicsWorkbench_get_study | study_id | output_item (default: "summary") | {status, data: {}} | Data may be text |
| MetabolomicsWorkbench_search_compound_by_name | compound_name | - | {status, data: {}} | Compound information |
| Tool | Required Parameters | Optional Parameters | Response Format | Notes |
|------|---------------------|---------------------|-----------------|-------|
| PubChem_get_CID_by_compound_name | compound_name | - | {status, data: {cid}} | Returns CID |
| PubChem_get_compound_properties_by_CID | cid | - | {status, data: {}} | Chemical properties |
Important: All parameter names and requirements apply to both Python SDK and MCP implementations.
The Metabolomics Research skill provides comprehensive metabolomics analysis through a 4-phase pipeline that:
Key Features:
operation parameter)Best for:
Limitations:
See QUICK_START.md for:
tools
Onboard and manage Paperclip AI for research-paper knowledge and agent orchestration
development
Perform AI-powered web searches with real-time information using Perplexity models via LiteLLM and OpenRouter. This skill should be used when conducting web searches for current information, finding recent scientific literature, getting grounded answers with source citations, or accessing information beyond the model knowledge cutoff. Provides access to multiple Perplexity models including Sonar Pro, Sonar Pro Search (advanced agentic search), and Sonar Reasoning Pro through a single OpenRouter API key.
testing
Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.
development
Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.