hikaru122700/cim-cac-maxcut-g22/gsmm-builder
Claude Code and agent skill by hikaru122700/cim-cac-maxcut-g22
- community
Checking that the SKILL.md file is still in the repository.
Build or load a genome-scale metabolic model (GSMM) using COBRApy. Covers loading from BIGG, constructing minimal models from scratch, setting medium constraints, and exporting validated .json model files.
Install
npx vskill@latest install hikaru122700/cim-cac-maxcut-g22/gsmm-builderSKILL.md
The same SKILL.md was published earlier as aiming-lab/autoresearchclaw/gsmm-builder.
Overview
The gsmm-builder skill constructs or loads genome-scale metabolic models (GSMMs) in the COBRApy framework. It is the entry point for every metabolic flux analysis pipeline. Output is a validated COBRApy Model object serialized to a JSON file ready for downstream FBA and flux analysis.
GSMMs encode every known metabolic reaction in an organism as a stoichiometric matrix. Constraints (reaction bounds, medium composition, objective function) turn the model into a solvable linear program.
Workflow
Step 1 — Decide: Load Existing or Build from Scratch
Option A: Load a curated BIGG model
Key BIGG model IDs:
iJO1366— E. coli K-12 MG1655 (2583 reactions)Recon3D— Homo sapiens (13543 reactions)iMM904— S. cerevisiae (1577 reactions)iNJ661— M. tuberculosis (1049 reactions)
Option B: Build a minimal model from scratch
Step 2 — Set the Objective Function
Step 3 — Define the Growth Medium
Step 4 — Export Model
Key Conventions
| Convention | Detail | |
|---|---|---|
| Metabolite ID format | <bigg_id>_<compartment> e.g. glc__D_c, atp_m | |
| Compartment codes | c cytosol, e extracellular, m mitochondria, n nucleus | |
| Exchange reaction prefix | EX_ e.g. EX_glc__D_e | |
| Transport reaction prefix | t or species-specific e.g. GLCt, PGI | |
| Uptake bound sign | Negative lower bound = import (e.g. lb = -10) | |
| Secretion bound sign | Positive upper bound = export (e.g. ub = 1000) | |
| Biomass objective | Reaction with ID containing BIOMASS or Growth | |
| Aerobic medium | EX_o2_e lb = -20 (mmol/gDW/h) | |
| Anaerobic medium | EX_o2_e lb = 0 | |
| Default irreversible rxn | lb = 0, ub = 1000 | |
| Default reversible rxn | lb = -1000, ub = 1000 |
BIGG Database Downloads
Common Failure Modes
- Infeasible model: missing exchange reaction or closed medium — run
model.optimize() and check solution.status == "infeasible".
- Negative growth: objective reaction direction inverted — ensure
biomass_rxn.lower_bound = 0.
- Dead-end metabolites: metabolite produced but never consumed — run
gsmm-validator before FBA.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingAutoResearchClaw/external/agents/Biology-Agent/skills/gsmm-builder/SKILL.md
Popularity
- 7-day trend score
- 0
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/hikaru122700/cim-cac-maxcut-g22/gsmm-builder)