Cobrapy skill for Claude

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.

Cobrapy SKILL.md

A preview of the skill file from K-Dense-AI/scientific-agent-skills (GPL-2.0 license).

COBRApy - Constraint-Based Reconstruction and Analysis

When to use

Use for loading/building metabolic networks, optimizing their steady-state fluxes, knockout screens, medium design, feasible-space sampling, and gap-filling hypotheses. FBA is a constraint-based prediction; it does not infer kinetic rates or establish experimental growth, thermodynamic feasibility, or flux identifiability.

Setup and reproducibility

Targets cobra 0.32.1 (import cobra), checked against its released source and current documentation.

uv pip install "cobra==0.32.1"
# Optional SciPy support for MATLAB I/O and array operations:
uv pip install "cobra[array]==0.32.1"

Plotting examples additionally require matplotlib, pandas, and seaborn. The cobra[chrr] extra supplies hopsy for the new CHRR sampler; that optional backend was documentation-reviewed, not executed in this refresh. In 0.32.1, sample() defaults to method="auto" (CHRR when hopsy is installed, otherwise OptGP). Choose the method explicitly to avoid environment-dependent changes.

Read the full SKILL.md on GitHub →

How to install Cobrapy

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit K-Dense-AI/scientific-agent-skills/skills/cobrapy#main ~/.claude/skills/cobrapy

Codex

npx degit K-Dense-AI/scientific-agent-skills/skills/cobrapy#main ~/.codex/skills/cobrapy

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Cobrapy skill do?

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 do I install Cobrapy in Claude Code?

Copy the skill folder into ~/.claude/skills/cobrapy, for example with "npx degit K-Dense-AI/scientific-agent-skills/skills/cobrapy#main ~/.claude/skills/cobrapy". Claude Code loads it automatically and uses it when a task matches.

+Does Cobrapy work with ChatGPT or Codex?

Yes. Cobrapy uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/cobrapy. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Cobrapy free?

Cobrapy is published on GitHub by K-Dense-AI under the GPL-2.0 license license; check the license terms before using it.

Related marketing skills

  1. Marketing Skills

    Use when looking for which of the 44 marketing skills fits a task. Lists them by pod and routes to one; does no marketing work itself.

    alirezarezvani/claude-skills★ 30k
  2. Image

    When the user wants to create, generate, edit, or optimize marketing images, or asks which approach to take (generate, design, or…

    coreyhaines31/marketingskills★ 61k
  3. Agent Reach

    只读读取各平台内容:搜索、读帖、看评论、取字幕、查行情和职位。 Use when 用户提到或贴出链接:小红书/xiaohongshu、B站/bilibili、Twitter/X、Reddit、…

    Panniantong/Agent-Reach★ 113k
  4. Nwb Conversion

    Converts neuroscience acquisition data to Neurodata Without Borders files with NeuroConv and PyNWB, preserves metadata and timebases,…

    K-Dense-AI/scientific-agent-skills★ 58k
  5. Pacsomatic

    Prepares and launches nf-core/pacsomatic matched tumor-normal PacBio HiFi genomics workflows from unaligned BAM inputs.

    K-Dense-AI/scientific-agent-skills★ 58k
  6. Pathogen Variant Surveillance

    Queries public GenSpectrum LAPIS data for pathogen genomic surveillance, current lineage nomenclature, weekly sequence proportions,…

    K-Dense-AI/scientific-agent-skills★ 58k
  7. File Conversion

    Use when the user needs a local file converted between common image, audio, video, document, or data formats.

    wshobson/agents★ 43k
  8. Hermes Tweet

    Install and operate Hermes Tweet, a Hermes Agent plugin for X/Twitter research, timeline reading, tweet analysis, and approval-gated…

    wshobson/agents★ 43k
  9. Social Publishing

    Schedule and publish social media posts across 13 platforms (X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube,…

    wshobson/agents★ 43k

See all marketing skills →

More skills from K-Dense-AI

  1. Consciousness Council

    Structures a multi-perspective council exercise for decisions, research trade-offs, and creative challenges.

    K-Dense-AI/scientific-agent-skills★ 58k
  2. Dask

    Scales pandas, NumPy, and custom Python research workflows beyond memory or across clusters with Dask.

    K-Dense-AI/scientific-agent-skills★ 58k
  3. Database Lookup

    Queries documented public database APIs with explicit endpoints, filters, pagination, and provenance.

    K-Dense-AI/scientific-agent-skills★ 58k

All skills by K-Dense-AI →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.