mfa-pipeline-orchestrator
What it does
The skill coordinates each step of a metabolic flux analysis and saves progress notes, so a failed step can be resumed. It is for researchers who want an end-to-end metabolic modeling run.
When to use it
- ✓When you give an organism name, a BiGG model ID, or a reaction list and want an end-to-end run.
- ✓When you want model building, simulations, and analysis chained together in order.
- ✓When a previous metabolic run failed and you need to resume one step.
Skill link
https://github.com/aiming-lab/AutoResearchClaw/blob/main/external/agents/Biology-Agent/skills/mfa-pipeline-orchestrator/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Run the full flux analysis pipeline for E. coli on glucose, with a pfkA knockout and yield figures.”
5 new skills a week. 1 minute to read.
How it works
The agent records your request in a progress note, then runs the model building, simulation, analysis, and phenotype steps in order. Each step writes a progress note that the next step reads.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
MFA Pipeline Orchestrator
Overview
Coordinates all mfa-agent sub-agents in sequence, tracking progress via progress/ markdown files so any failed step can be resumed independently.
Full pipeline:
Model source (BIGG ID / custom reactions)
→ [model-builder] models/<Model>.json + validation report
→ [fba-runner] simulations/fba_fluxes.csv + scan_summary.json
→ [flux-analyzer] analysis/essentiality.csv + phase_plane.png
→ [metabolic-pheno-analyzer] output/figures/*.pdf + yield table
Workflow
Step 0: Parse User Request
Extract and record in progress/step0_inputs.md:
- Model source (BIGG ID or custom)
- Organism and condition (aerobic/anaerobic, carbon source, concentration)
- Objective reaction (biomass or product)
- Gene knockouts to apply
- Analysis goals (essentiality, phase plane, yield optimisation, WT vs. mutant comparison)
- Target product (if yield analysis requested)
Step 1: Invoke model-builder
Provide: model source, medium constraints, objective, knockouts.
Wait for progress/step1_metabolic_model.md.
Read: model file path, WT growth rate, model statistics.
Step 2: Invoke fba-runner
Provide: model path, simulation types requested (FBA, pFBA, FVA, knockout screen), carbon source sweep if requested.
Wait for progress/step2_fba_simulation.md.
Read: flux CSV paths, essential gene count, secretion fluxes.
Step 3: Invoke flux-analyzer
Provide: model path, FBA results, analysis goals (essentiality, phase plane, sampling), nutrient pair for phase plane.
Wait for progress/step3_flux_analysis.md.
Read: essential genes, phase plane optimum, engineering targets.
Step 4: Invoke metabolic-pheno-analyzer
Provide: model path, all previous results, target product, publication requirements.
Wait for progress/step4_metabolic_phenotype.md.
Read: max theoretical yield, figure paths.
Progress File Specification
progress/step1_metabolic_model.md
# Step 1: Metabolic Model
## Status: PASS / FAIL
## Model: <BIGG_ID>.json
## Reactions: N Metabolites: M Genes: G
## WT growth rate: X h⁻¹
## Validation: mass balance errors=0, dead-ends=N
progress/step2_fba_simulation.md
# Step 2: FBA Simulation
## Status: PASS / FAIL
## Runs: FBA, pFBA, FVA, knockout screen
## WT growth rate: X h⁻¹ (pFBA: Y h⁻¹)
## Essential genes: N
## Key secretion products: [ethanol: X mmol/gDW/h, ...]
## Files: simulations/fba_fluxes.csv, simulations/gene_essentiality.csv
progress/step3_flux_analysis.md
# Step 3: Flux Analysis
## Status: PASS / FAIL
## Essential gene count: N
## Phase plane optimum: glucose=X, O2=Y → growth=Z h⁻¹
## Top engineering targets: [gene1, gene2, gene3]
## Files: analysis/phase_plane.png, analysis/essentiality.csv
Key Conventions
- Never re-run completed steps — check progress file status before invoking sub-agents
- Maximum total sub-agent retries: 10 across all steps
- All file paths relative to working directory
- The orchestrator does not run FBA itself — all computation delegated to sub-agents
FAQ
Can I resume a failed step?
Yes. Each step writes its own progress file, so a failed step can run again without starting over.
What inputs does it need?
A model source, the organism and condition, the objective, any knockouts, and the analysis goals.
What outputs does it create?
Model files, flux CSV files, analysis tables, and publication-style figures.
Details
Original description by the author
Orchestrate the full metabolic flux analysis pipeline from model loading to phenotype prediction and publication figures. Triggers when the user provides an organism name, BIGG model ID, or custom reaction list and wants end-to-end metabolic modelling run automatically.
Popularity
- GitHub stars
- 15k
- Ranking position
- #11058
- License
- MIT
- Updated
- 8/19/2026
Comments
- …
More skills from this repository
a-evolve
15kHelps your agent improve over repeated runs by diagnosing failures, creating targeted skills from error patterns, and recording lessons for later use.
biology-biopython
15kHelps your agent work with DNA, RNA, and protein sequences using Biopython, including file parsing, sequence calculations, BLAST searches, and database access.
chemistry-rdkit
15kHelps your agent analyze molecules written as SMILES strings with RDKit, including descriptors, fingerprints, similarity, and substructure search.
hypothesis-formulation
15kHelps your agent turn an observation into testable hypotheses, with competing explanations and clear predictions that could prove them wrong.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.