Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jaechang-hits/libsbml-network-modeling
Build, read, validate, modify SBML biological network models via the libSBML Python API. SBML Levels 1–3, reactions/kinetic laws, species, rules, FBC extension for flux balance, conversion. Interoperates with COBRApy, Tellurium/RoadRunner, COPASI.
Passed 22 of 22 test cases with the skill, and 18 of 22 without it.
and 3 more in the full report
4 fixed18 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Python snippet using libsbml that takes an in-memory SBMLDocument object `doc` and exports its XML contents directly into a Python string variable without writing to disk.
| Checked | Without skill | With skill |
|---|---|---|
| The snippet calls libsbml.SBMLWriter().writeSBMLToString(doc). | Missed | Passed |
The instructions your model reads when the skill loads.
libSBML is the reference library for reading, writing, creating, and validating SBML (Systems Biology Markup Language) models. SBML is the community standard for encoding biochemical reaction networks — ODE models, signaling cascades, and genome-scale metabolic models all use it. The Python API (python-libsbml) exposes a full object model covering compartments, species, reactions, kinetic laws, rules, constraints, and every SBML extension. Models saved as SBML .xml files are interoperable with COPASI, Tellurium, RoadRunner, COBRApy, and BioModels Database.
cobrapy-metabolic-modeling instead when you need to run FBA, FVA, or gene knockouts on an already-built metabolic model — libSBML is for constructing and editing the SBML file itselftellurium directly when you want an integrated Python environment for both SBML authoring (Antimony syntax) and ODE simulation without low-level XML manipulationpython-libsbml, numpy, pandas (optional, for matrix extraction)cobra (COBRApy, for FBA after SBML load), tellurium (for SBML↔Antimony conversion and simulation).xml), or built from scratch in Python; BioModels Database SBML files are freely available at https://www.ebi.ac.uk/biomodels/pip install python-libsbml numpy pandas
# Optional simulation/FBA integrations:
pip install cobra tellurium
Load an SBML file, inspect its content, and modify a parameter value:
import libsbml
# Read an SBML model file
reader = libsbml.SBMLReader()
doc = reader.readSBMLFromFile("BIOMD0000000012.xml")
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.