aiming-lab/autoresearchclaw/gsmm-validator
Claude Code and agent skill by aiming-lab/autoresearchclaw
- community
Checking that the SKILL.md file is still in the repository.
Validate a COBRApy genome-scale metabolic model for mass/charge balance, stoichiometric consistency, biomass producibility, dead-end metabolites, thermodynamic loops, and GPR rule formatting. Outputs a structured validation report with errors and warnings.
Install
npx vskill@latest install aiming-lab/autoresearchclaw/gsmm-validatorSKILL.md
Overview
The gsmm-validator skill performs rigorous quality control on a COBRApy Model before it enters any flux analysis pipeline. An invalid model silently produces biologically meaningless fluxes; validation catches structural errors early.
Validation covers six categories: (1) mass/charge balance, (2) feasibility and biomass production, (3) dead-end metabolites, (4) stoichiometric consistency, (5) thermodynamic loop detection, and (6) GPR rule integrity.
Workflow
Step 1 — Load the Model
Step 2 — Mass and Charge Balance Check
Unbalanced reactions are among the most common modelling errors. COBRApy computes elemental balance per reaction.
Step 3 — Biomass Producibility (FBA Feasibility)
Step 4 — Dead-End Metabolite Detection
A metabolite is a dead-end if it is produced by at least one reaction but consumed by none, or vice versa. Dead-ends create infeasibility in network regions.
Step 5 — Blocked Reaction Detection
Step 6 — Thermodynamic Loop Detection (Loopless FBA)
Energy-generating cycles violate thermodynamics and inflate apparent fluxes.
Step 7 — GPR Rule Validation
Gene-Protein-Reaction associations must use valid gene IDs and boolean logic.
Step 8 — Write Validation Report
Key Conventions
| Check | Failure Condition | Severity | |
|---|---|---|---|
| Mass balance | Non-exchange reaction has elemental imbalance | ERROR | |
| Biomass producibility | solution.status != "optimal" or growth < 1e-6 | ERROR | |
| Dead-end metabolites | Produced but never consumed (or vice versa) | WARNING | |
| Blocked reactions | Reaction carries zero flux under all conditions | WARNING | |
| Thermodynamic loops | Standard FBA growth >> loopless FBA growth | WARNING | |
| GPR integrity | GPR string references gene IDs not in model.genes | ERROR |
Interpretation Guide
- ERROR — must fix before proceeding to FBA. These cause incorrect results.
- WARNING — may indicate incomplete reconstruction; investigate per case.
- Boundary reactions (
EX_,DM_,SK_,BIOMASS) are excluded from mass
balance errors because they intentionally have no counter-reaction.
- A model with only warnings is acceptable for exploratory FBA but should be
corrected for publication-quality analysis.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexternal/agents/Biology-Agent/skills/gsmm-validator/SKILL.md
Popularity
- Repository stars
- 13,869
- Repository forks
- 1,628
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aiming-lab/autoresearchclaw/gsmm-validator)