Public repository for Agent Skills
cobrapy
Agent skill fromK-Dense-AI/scientific-agent-skills
Performs constraint-based metabolic modeling with COBRApy, including FBA, pFBA, FVA, gene knockouts, flux sampling, growth media, production envelopes, gap filling, and SBML model validation for systems biology and metabolic engineering.
How to install cobrapy
npx skills add K-Dense-AI/scientific-agent-skills# or add only this skill to Claude Code: copy the folder
skills/cobrapy/
# into
~/.claude/skills/cobrapy/ (all projects)
.claude/skills/cobrapy/ (one project)
1# COBRApy - Constraint-Based Reconstruction and Analysis23## When to use45Use for loading/building metabolic networks, optimizing their steady-state fluxes,6knockout screens, medium design, feasible-space sampling, and gap-filling hypotheses.7FBA is a constraint-based prediction; it does not infer kinetic rates or establish8experimental growth, thermodynamic feasibility, or flux identifiability.910## Setup and reproducibility1112Targets **cobra 0.32.1** (import `cobra`), checked against its released source and13[current documentation](https://cobrapy.readthedocs.io/en/latest/).1415```bash16uv pip install "cobra==0.32.1"17# Optional SciPy support for MATLAB I/O and array operations:18uv pip install "cobra[array]==0.32.1"19```2021Plotting examples additionally require matplotlib, pandas, and seaborn. The22`cobra[chrr]` extra supplies hopsy for the new CHRR sampler; that optional backend23was documentation-reviewed, not executed in this refresh. In 0.32.1, `sample()`24defaults to `method="auto"` (CHRR when hopsy is installed, otherwise OptGP).25Choose the method explicitly to avoid environment-dependent changes.2627Record model source/version/checksum, cobra and solver versions, objective,28medium, bounds, tolerances, and any random seed with each analysis. GLPK handles29the examples below; inspect `cobra.util.solver.solvers` before choosing an30optional solver. Use `"hybrid"` for its HiGHS/OSQP interface when installed;31…
Excerpt shown under the repository's MIT license.
More skills in scientific-agent-skills
Similar skill repositories
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
The open-source app everyone uses to manage agents at work
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
