bio-systems-biology-model-curation

bio-systems-biology-model-curation is a skill for Claude Code, Codex from thesecondfox/skill. It costs 59 tokens per session (1,743 once invoked), scanned A, original, MIT.

A quality-control and editing tool for genome-scale metabolic models. It checks whether a model follows SBML standards, scores its quality, and helps repair missing reactions or chemical inconsistencies.

In plain words
What is it for?
Use it to assess metabolic-model quality with memote, inspect failed checks, gap-fill blocked reactions, and curate models with COBRApy.
Why use it?
Draft models often contain blocked pathways or structural errors that can make predictions unreliable. This tool helps identify and fix those problems before analysis or publication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess metabolic-model quality with memote, inspect failed checks, gap-fill blocked reactions, and curate models with COBRApy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thesecondfox/skill/bio-systems-biology-model-curation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add thesecondfox/skill --skill bio-systems-biology-model-curation
Clone the repo
git clone --depth 1 https://github.com/thesecondfox/skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bio-systems-biology-model-curation

README.md
[![agentmods](https://agentmods.dev/badge/skills/thesecondfox/skill/bio-systems-biology-model-curation/github.svg)](https://agentmods.dev/skills/thesecondfox/skill/bio-systems-biology-model-curation)
Your own site
<a href="https://agentmods.dev/skills/thesecondfox/skill/bio-systems-biology-model-curation"><img src="https://agentmods.dev/badge/skills/thesecondfox/skill/bio-systems-biology-model-curation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bio-systems-biology-model-curation

Your own site · 80×15
<a href="https://agentmods.dev/skills/thesecondfox/skill/bio-systems-biology-model-curation"><img src="https://agentmods.dev/badge/skills/thesecondfox/skill/bio-systems-biology-model-curation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,743 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01743
Opus 5 $0.00030 $0.00872
Sonnet 5 $0.00012 $0.00349
Haiku 4.5 $0.00006 $0.00174

Measured 5d ago against content hash 48a8f55969ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

bio-systems-biology-model-curation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Common_Skills/bio-systems-biology-model-curation/SKILL.md · 243 lines

How it starts

The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Version Compatibility

Reference examples tested with: COBRApy 0.29+

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures
  • CLI: <tool> --version then <tool> --help to confirm flags

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Model Curation

"Validate and improve the quality of my metabolic model" → Score a genome-scale model against SBML community standards using memote, then gap-fill blocked reactions and fix stoichiometric inconsistencies using COBRApy to ensure biologically meaningful predictions.

  • CLI: memote report snapshot for quality scoring
  • Python: cobra.flux_analysis.gapfilling.gapfill() for gap-filling

Memote Quality Assessment

Goal: Evaluate the quality and standards compliance of a genome-scale metabolic model to identify areas needing curation.

Approach: Run memote snapshot to score the model against SBML community standards, then use the Python API to inspect individual test failures and guide manual fixes.

# Install memote
pip install memote

# Run full quality report
memote report snapshot model.xml --filename report.html

# Quick score
memote run model.xml

# Continuous integration testing
memote run --pytest-args "--tb=short" model.xml

Memote Python API

import memote
import cobra

model = cobra.io.read_sbml_model('model.xml')

# Run all tests
result = memote.suite.api.run(model)

# Get score breakdown
scores = memote.suite.api.snapshot(model)
print(f"Total score: {scores['score']['total_score']:.2%}")

# Detailed test results
for test_name, test_result in scores['tests'].items():
    if not test_result['passed']:
        print(f"Failed: {test_name}")

Gap-Filling

import cobra
from cobra.flux_analysis import gapfill

model = cobra.io.read_sbml_model('model.xml')

# Load universal reaction database
universal = cobra.io.read_sbml_model('universal_model.xml')

# Find reactions to add for growth
# demand: reaction to optimize (usually biomass exchange)
# iterations: number of alternative solutions
solution = gapfill(model, universal,
                   demand=model.reactions.BIOMASS,
                   iterations=5)

# solution contains list of reaction sets to add
for i, rxn_set in enumerate(solution):
    print(f'Solution {i+1}: {[r.id for r in rxn_set]}')

# Add first solution
for rxn in solution[0]:
    model.add_reactions([rxn])

Read the full file on GitHub · 243 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 243 lines · 59 tokens per session scan A 48a8f55969ec

Subscribe to this mod's changes

bio-systems-biology-model-curation is a skill published in the GitHub repository thesecondfox/skill (3 stars, last pushed 5mo ago), licensed MIT. It adds 59 tokens to every session and 1,743 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.