cobrapy
Analyze Metabolic Models with COBRApy
Systems biology teams need reliable guidance for COBRApy analyses, from model loading to flux studies. This skill provides focused workflows and API patterns for Claude, Codex, and Claude Code.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "cobrapy" from https://skillstore.io/skills/k-dense-ai-cobrapy.md and its manifest at https://skillstore.io/api/skills/k-dense-ai-cobrapy/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "cobrapy". I need to find essential genes in an E. coli model.
Expected outcome:
A structured workflow for loading the model, running baseline growth, applying single gene deletion, filtering growth results, and interpreting essentiality.
Using "cobrapy". My model is feasible, but several fluxes have wide ranges.
Expected outcome:
A diagnostic plan using FVA, loopless FVA, flux sampling, and reaction-specific plots to explain uncertainty and alternate pathways.
Using "cobrapy". I want to improve acetate production while preserving growth.
Expected outcome:
A production analysis plan covering target objective setup, minimum growth constraints, production envelopes, candidate knockouts, and result interpretation.
Security Audit
SafeThe static analyzer flagged 71 patterns, but review showed they are documentation false positives in Markdown. Python import statements, COBRApy object identifiers, code fences, and a public documentation URL do not execute commands, access secrets, or perform network activity. No semantic prompt injection or data-exfiltration intent was found.
Risk Factors
โก Contains scripts (4)
โ๏ธ External commands (50)
๐ Network access (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/k-dense-ai-cobrapy/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/k-dense-ai-cobrapy?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/k-dense-ai-cobrapy?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/k-dense-ai-cobrapy/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/k-dense-ai-cobrapy.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
K-Dense-AI. (2026). cobrapy security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/k-dense-ai-cobrapy/audits/7BibTeX citation
@techreport{k-dense-ai-k-dense-ai-cobrapy-2026,
author = {K-Dense-AI},
title = {cobrapy security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/k-dense-ai-cobrapy/audits/7},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "cobrapy security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "K-Dense-AI"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/k-dense-ai-cobrapy/audits/7"
identifiers:
- type: other
value: "skillstore:k-dense-ai-cobrapy:audit:7"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
k-dense-ai-cobrapy
2026-08-21
davila7-cobrapy
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Run Baseline Metabolic Simulations
Load a model, check feasibility, run FBA, and interpret growth and flux outputs.
Screen Engineering Targets
Evaluate gene or reaction knockouts and compare effects on growth or product formation.
Teach COBRApy Workflows
Turn core COBRApy APIs into clear examples for model structure, constraints, and validation.
Try These Prompts
Use the cobrapy skill to explain how to load the textbook model, inspect reactions, metabolites, and genes, and check growth feasibility.
Use the cobrapy skill to plan flux balance analysis and flux variability analysis for my SBML model. Include validation steps and expected outputs.
Use the cobrapy skill to design a gene knockout screen that identifies essential genes, neutral genes, and growth effects. Include practical thresholds.
Use the cobrapy skill to compare production envelopes, media constraints, FVA, and knockout combinations for a target metabolite. Explain tradeoffs.
Best Practices
- Validate model feasibility before running expensive analyses or comparing biological scenarios.
- Use context managers for temporary objective, medium, bound, or knockout changes.
- Check solver status and numerical stability before interpreting growth or flux values.
Avoid
- Do not compare knockout results against an undefined or stale baseline growth value.
- Do not modify reaction bounds without recording the biological assumption behind each constraint.
- Do not treat computational predictions as experimental evidence without domain review.
Frequently Asked Questions
What is COBRApy used for?
Can this skill analyze SBML models?
Does this skill run solvers automatically?
Can it help with gene knockout studies?
Does it support metabolic engineering tasks?
What should users verify before trusting results?
Developer Details
Author
K-Dense-AILicense
GPL-2.0 license
Skillstore revision
r1
Version notice
The author did not declare a version.
Repository
https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/cobrapyRef
b8ca75d2c0a7e7102978993058777d82b8ab2610
Maintenance freshness
7/18/2026
Usage
11 downloads ยท 241 views
File structure