Alterlab Cobrapy

Build and analyze genome-scale constraint-based metabolic models with COBRApy — flux balance analysis (FBA), flux variability analysis (FVA), gene and reaction knockouts, flux sampling, and SBML model I/O. Use when simulating metabolic networks, predicting growth or knockout phenotypes, or running systems-biology and metabolic-engineering analyses on SBML genome-scale models. Part of the AlterLab Academic Skills suite.

87 stars 18 forksResearch & Science Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add AlterLab-IEU/AlterLab-Academic-Skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-cobrapy
Manual install
git clone --depth 1 https://github.com/AlterLab-IEU/AlterLab-Academic-Skills.git /tmp/AlterLab-Academic-Skills
mkdir -p ~/.claude/skills
cp -r /tmp/AlterLab-Academic-Skills/skills/bioinformatics/alterlab-cobrapy ~/.claude/skills/alterlab-cobrapy

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# COBRApy - Constraint-Based Reconstruction and Analysis

## Overview

COBRApy is a Python library for constraint-based reconstruction and analysis (COBRA) of metabolic models, essential for systems biology research. Work with genome-scale metabolic models, perform computational simulations of cellular metabolism, conduct metabolic engineering analyses, and predict phenotypic behaviors.

## When to Use This Skill

Use this skill when the user wants to:
- Load a genome-scale metabolic model (SBML/JSON/YAML) and simulate growth with FBA/pFBA.
- Predict knockout phenotypes, essential genes, or minimal media.
- Explore flux space with FVA, flux sampling, or production envelopes.
- Build, gapfill, or curate a constraint-based model.

### Does NOT Trigger

| Scenario | Use Instead |
|----------|-------------|
| Looking up a pathway or reaction annotation rather than simulating | `alterlab-kegg`, `alterlab-reactome` |
| Enzyme kinetic parameters (kcat, Km) for a reaction | `alterlab-brenda` |
| Differential gene expression on RNA-seq counts (which genes change between conditions) | `alterlab-pydeseq2` |
| Gene regulatory network inference (TF→target links) from an expression matrix | `alterlab-arboreto` |
| Graph analysis of the metabolic network (centrality, communities) rather than flux | `alterlab-networkx` |
| Metabolomics measurements and their identification | `alterlab-metabolomics-wb`, `alterlab-hmdb` |
Read the full skill on GitHub

Details

Skill name
alterlab-cobrapy
Path
skills/bioinformatics/alterlab-cobrapy/SKILL.md
License
MIT
Repo updated
11 November 2026

FAQ

What does the Alterlab Cobrapy skill do?

Build and analyze genome-scale constraint-based metabolic models with COBRApy — flux balance analysis (FBA), flux variability analysis (FVA), gene and reaction knockouts, flux sampling, and SBML model I/O. Use when simulating metabolic networks, predicting growth or knockout phenotypes, or running systems-biology and metabolic-engineering analyses on SBML genome-scale models. Part of the AlterLab Academic Skills suite.

How do I install the Alterlab Cobrapy skill?

Claude Code plugin: /plugin marketplace add AlterLab-IEU/AlterLab-Academic-Skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Alterlab Cobrapy popular?

It lives in AlterLab-IEU/AlterLab-Academic-Skills, which has 87 GitHub stars and 18 forks, and is included in 1 curated skill list.

Related skills

Alterlab Abm Mesa

87

AlterLab-IEU/AlterLab-Academic-Skills

Builds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions

Research & ScienceIn 1 list18

Alterlab Academic Career

87

AlterLab-IEU/AlterLab-Academic-Skills

Prepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.

Research & ScienceIn 1 list18

Alterlab Accreditation Aol

87

AlterLab-IEU/AlterLab-Academic-Skills

Scaffolds program-level Assurance-of-Learning (AoL) documentation for AACSB (Standard 5 in the 2020 standards and the 2026 Global Standards) and ABET (Criterion 3 Student Outcomes, Criterion 4 Continuous Improvement) accreditation — program learning outcomes / competency goals, curriculum-to-outcome mapping matrices, direct- and indirect-assessment plans, rubric design, and closing-the-loop continuous-improvement narratives — and validates the structure of an outcome-mapping matrix with scripts/aol_matrix.py. Use when the user needs AACSB or ABET assurance-of-learning material, a program-learn

Learning & EducationIn 1 list18

Alterlab Cosmic

87

AlterLab-IEU/AlterLab-Academic-Skills

Work with COSMIC, the catalogue of somatic mutations in cancer — COSMIC mutational signature matrices (no login), keyless cancer-gene, hotspot, somatic-mutation-frequency and drug-resistance answers from open sources (OncoKB gene list with COSMIC CGC membership, Cancer Hotspots, cBioPortal, CIViC), and, with an optional COSMIC login, the Cancer Gene Census, mutation exports, fusions and resistance files. Use when curating known cancer driver genes, looking up recurrent somatic mutations in a gene, or interpreting mutational signatures for cancer research and precision oncology. Not for germlin

Research & ScienceIn 1 list18

Alterlab Clinvar

87

AlterLab-IEU/AlterLab-Academic-Skills

Query NCBI ClinVar via the E-utilities API or FTP for the clinical significance (pathogenicity) of human germline genetic variants, searching by gene, variant, condition, or genomic position and interpreting ACMG/AMP classifications and review-status star ratings. Use when assessing whether a variant is pathogenic, likely pathogenic, VUS, likely benign, or benign, resolving conflicting interpretations, or annotating a VCF with ClinVar clinical significance. For population allele frequencies by ancestry use alterlab-gnomad; for somatic cancer mutation frequencies use alterlab-cosmic. Part of th

Research & ScienceIn 1 list18

Alterlab Datamol

87

AlterLab-IEU/AlterLab-Academic-Skills

Wraps RDKit in a high-level, pandas-friendly datamol interface with sensible defaults for everyday drug discovery — SMILES/SDF loading into DataFrames, molecule standardization, descriptors, fingerprints, Butina clustering, 3D conformer generation, scaffold analysis, and parallel batch processing, returning native rdkit.Chem.Mol objects. Use when running standard cheminformatics pipelines on molecule tables with minimal boilerplate; for low-level control, custom sanitization, or specialized algorithms prefer alterlab-rdkit. Part of the AlterLab Academic Skills suite.

Research & ScienceIn 1 list18

Browse the most popular Claude skills, all research & science skills, or write your own with the skills generator.