Alphagenome Single Variant Analysis
google-deepmind/science-skills
Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API.
Runs flux balance analysis and related constraint-based simulations on a COBRApy metabolic model, from standard FBA to gene knockouts and carbon source swaps.
$ npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aiming-lab/AutoResearchClaw fba-simulator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aiming-lab/AutoResearchClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/external/agents/Biology-Agent/skills/fba-simulator .claude/skills/fba-simulator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fba-simulator" agent skill from https://github.com/aiming-lab/AutoResearchClaw/tree/main/external/agents/Biology-Agent/skills/fba-simulator into .claude/skills/fba-simulator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fba-simulator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aiming-lab/AutoResearchClaw/tree/main/external/agents/Biology-Agent/skills/fba-simulatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aiming-lab/AutoResearchClaw fba-simulator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiming-lab/AutoResearchClaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/external/agents/Biology-Agent/skills/fba-simulator .agents/skills/fba-simulator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fba-simulator" agent skill from https://github.com/aiming-lab/AutoResearchClaw/tree/main/external/agents/Biology-Agent/skills/fba-simulator into .agents/skills/fba-simulator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fba-simulator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aiming-lab/AutoResearchClaw fba-simulator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiming-lab/AutoResearchClaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/external/agents/Biology-Agent/skills/fba-simulator .cursor/skills/fba-simulator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fba-simulator" agent skill from https://github.com/aiming-lab/AutoResearchClaw/tree/main/external/agents/Biology-Agent/skills/fba-simulator into .cursor/skills/fba-simulator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fba-simulator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aiming-lab/AutoResearchClaw.git --path external/agents/Biology-Agent/skills/fba-simulator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aiming-lab/AutoResearchClaw fba-simulator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiming-lab/AutoResearchClaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/external/agents/Biology-Agent/skills/fba-simulator .gemini/skills/fba-simulator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fba-simulator" agent skill from https://github.com/aiming-lab/AutoResearchClaw/tree/main/external/agents/Biology-Agent/skills/fba-simulator into .gemini/skills/fba-simulator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fba-simulator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aiming-lab/AutoResearchClaw fba-simulatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aiming-lab/AutoResearchClaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/external/agents/Biology-Agent/skills/fba-simulator .github/skills/fba-simulator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fba-simulator" agent skill from https://github.com/aiming-lab/AutoResearchClaw/tree/main/external/agents/Biology-Agent/skills/fba-simulator into .github/skills/fba-simulator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fba-simulator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aiming-lab/AutoResearchClaw fba-simulator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiming-lab/AutoResearchClaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/external/agents/Biology-Agent/skills/fba-simulator .opencode/skills/fba-simulator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fba-simulator" agent skill from https://github.com/aiming-lab/AutoResearchClaw/tree/main/external/agents/Biology-Agent/skills/fba-simulator into .opencode/skills/fba-simulator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fba-simulator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fba-simulatorRuns flux balance analysis and related constraint-based simulations on a COBRApy metabolic model, from standard FBA to gene knockouts and carbon source swaps.
The skill runs constraint-based metabolic simulations on an already validated COBRApy model. Standard FBA solves a linear program for the flux distribution that optimizes the objective, usually biomass, under steady-state stoichiometric and bound constraints. The workflow then moves to parsimonious FBA, which fixes maximum growth first and then minimizes total flux, and to flux variability analysis, which reports the minimum and maximum flux of each reaction at a chosen fraction of optimal growth, such as 90%.
Further steps cover loopless FBA to remove thermodynamically infeasible energy cycles, single gene and reaction knockouts, and carbon source swapping through exchange reactions. COBRApy context managers restore the model after each change, so the simulations leave it untouched. The skill is meant to sit after model construction (gsmm-builder) and before biological interpretation (flux-analyzer), and it writes out flux distributions and CSV files.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit be4ba47. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Flux Balance Analysis Simulator loads about 2.1k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 374 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aiming-lab/AutoResearchClaw at commit be4ba47, republished under its MIT licence (© aiming-lab). 374 words, ~2,070 tokens.
.claude/skills/fba-simulator/SKILL.md (or your agent's skills folder).The fba-simulator skill executes constraint-based metabolic simulations on
a validated COBRApy model. FBA solves a linear program to find the flux
distribution that maximizes (or minimizes) the objective function subject to
stoichiometric and thermodynamic constraints.
This skill sits between model construction (gsmm-builder) and biological
interpretation (flux-analyzer). All simulations are non-destructive: COBRApy
context managers restore model state after each perturbation.
import cobra
import cobra.io
import cobra.flux_analysis
import pandas as pd
model = cobra.io.load_json_model("my_model.json")
print(f"Model: {model.id} Solver: {model.solver}")FBA maximizes the objective (typically biomass) subject to stoichiometric
steady-state constraints: S·v = 0, lb ≤ v ≤ ub.
# Run FBA
solution = model.optimize()
print(f"Status : {solution.status}")
print(f"Growth rate : {solution.objective_value:.4f} h^-1")
print(f"Glucose uptake : "
f"{solution.fluxes['EX_glc__D_e']:.4f} mmol/gDW/h")
print(f"O2 uptake : "
f"{solution.fluxes.get('EX_o2_e', 0):.4f} mmol/gDW/h")
print(f"Acetate sec. : "
f"{solution.fluxes.get('EX_ac_e', 0):.4f} mmol/gDW/h")
# Save full flux distribution
solution.fluxes.to_csv("fba_fluxes.csv", header=["flux_mmol_gDW_h"])pFBA first maximizes growth, then minimizes total absolute flux, producing the most "economical" solution consistent with maximum growth. This avoids biologically unrealistic high-flux split cycles.
pfba_solution = cobra.flux_analysis.pfba(model)
print(f"pFBA growth rate : {pfba_solution.objective_value:.4f} h^-1")
print(f"Total flux norm : {pfba_solution.fluxes.abs().sum():.2f}")
pfba_solution.fluxes.to_csv("pfba_fluxes.csv", header=["flux_mmol_gDW_h"])FVA computes the minimum and maximum flux each reaction can carry while
maintaining at least fraction_of_optimum of the maximum growth rate. This
reveals which fluxes are uniquely determined vs. flexible.
from cobra.flux_analysis import flux_variability_analysis
# FVA at 90% of maximum growth
fva_result = flux_variability_analysis(
model,
fraction_of_optimum=0.90,
processes=4, # parallel workers
)
# fva_result is a DataFrame with columns "minimum" and "maximum"
print(fva_result.head(10))
# Identify rigidly constrained reactions (min ≈ max)
TOLERANCE = 1e-6
rigid = fva_result[
(fva_result["maximum"] - fva_result["minimum"]).abs() < TOLERANCE
]
print(f"\nRigid reactions (min=max): {len(rigid)}")
fva_result.to_csv("fva_result.csv")Standard FBA may route flux through thermodynamically infeasible energy- generating cycles. Loopless FBA enforces thermodynamic feasibility.
loopless_sol = cobra.flux_analysis.loopless_solution(model)
print(f"Loopless growth : {loopless_sol.objective_value:.4f} h^-1")
loopless_sol.fluxes.to_csv("loopless_fluxes.csv",
header=["flux_mmol_gDW_h"])# Single gene knockout (context manager — model is restored after)
gene_id = "b0720" # pgi in E. coli iJO1366
with model:
model.genes.get_by_id(gene_id).knock_out()
ko_solution = model.optimize()
print(f"KO {gene_id} growth: {ko_solution.objective_value:.4f} h^-1")
# Batch single gene deletions
from cobra.flux_analysis import single_gene_deletion
deletion_results = single_gene_deletion(model)
# Returns DataFrame: index = frozenset({gene_id}), columns = [growth, status]
deletion_results.to_csv("gene_deletions.csv")
# Essential genes: growth < 5% of wild-type
wt_growth = model.optimize().objective_value
essential = deletion_results[
deletion_results["growth"] < 0.05 * wt_growth
]
print(f"\nEssential genes: {len(essential)}")
print(essential.head())from cobra.flux_analysis import single_reaction_deletion
rxn_deletion_results = single_reaction_deletion(model)
rxn_deletion_results.to_csv("reaction_deletions.csv")
essential_rxns = rxn_deletion_results[
rxn_deletion_results["growth"] < 0.05 * wt_growth
]
print(f"Essential reactions: {len(essential_rxns)}")CARBON_SOURCES = {
"glucose": ("EX_glc__D_e", -10.0),
"fructose": ("EX_fru_e", -10.0),
"acetate": ("EX_ac_e", -10.0),
"glycerol": ("EX_glyc_e", -10.0),
"succinate": ("EX_succ_e", -10.0),
}
results = []
for carbon, (rxn_id, bound) in CARBON_SOURCES.items():
with model:
# Close all carbon exchange reactions first
for r in model.exchanges:
if r.lower_bound < 0 and r.id != "EX_o2_e":
r.lower_bound = 0.0
# Open the target carbon source
if rxn_id in model.reactions:
model.reactions.get_by_id(rxn_id).lower_bound = bound
sol = model.optimize()
results.append({
"carbon_source": carbon,
"growth_rate": sol.objective_value,
"status": sol.status,
})
else:
results.append({
"carbon_source": carbon,
"growth_rate": None,
"status": "reaction_not_in_model",
})
carbon_df = pd.DataFrame(results)
print(carbon_df)
carbon_df.to_csv("carbon_source_comparison.csv", index=False)summary = {
"model_id": model.id,
"wt_growth_fba": wt_growth,
"wt_growth_pfba": pfba_solution.objective_value,
"wt_growth_loopless": loopless_sol.objective_value,
"n_essential_genes": len(essential),
"n_essential_reactions": len(essential_rxns),
}
import json
with open("simulation_summary.json", "w") as f:
json.dump(summary, f, indent=2)
print("Summary written to simulation_summary.json")| Parameter | Recommended Value | Rationale |
|---|---|---|
fraction_of_optimum (FVA) | 0.9 | 10% growth slack — realistic variability |
| Essentiality threshold | growth < 5% WT | Standard in metabolic engineering |
| pFBA norm | L1 (sum abs fluxes) | COBRApy default; correlates with enzyme cost |
| Loopless FBA | Use for publication | Standard FBA may inflate central metabolism |
processes (FVA) | 4 or CPU count | Scales near-linearly; avoid >8 for small models |
| File | Content |
|---|---|
fba_fluxes.csv | Standard FBA flux vector |
pfba_fluxes.csv | pFBA flux vector (minimum total flux) |
fva_result.csv | FVA minimum/maximum per reaction |
loopless_fluxes.csv | Loopless-constrained flux vector |
gene_deletions.csv | Growth rate for each single gene KO |
reaction_deletions.csv | Growth rate for each single reaction KO |
carbon_source_comparison.csv | Growth across different carbon sources |
simulation_summary.json | Scalar summary of all simulation runs |
solution.status = "infeasible": medium is too restrictive or objective
reaction bounds are wrong. Run gsmm-validator first.cobra.flux_analysis.pfba is
called on an infeasible model — always check model.optimize() first.processes or set loopless=False; large models
(>10,000 reactions) may require HPC clusters.model.reactions.query("EX_") to list available exchanges.© aiming-lab, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in external/agents/Biology-Agent/skills/fba-simulator of aiming-lab/AutoResearchClaw.
Open the folder on GitHubat commit be4ba47
Flux Balance Analysis Simulator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Flux Balance Analysis Simulator this skillaiming-lab/AutoResearchClaw | 15k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Alphagenome Single Variant Analysisgoogle-deepmind/science-skills | 3.2k | 2 repos | ~3k | Automated safety check: Notes | Apache-2.0 | |
| 13C Metabolic Flux AnalysisK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Singlecell Qcxuzhougeng/wisp-science | 1k | — | ~1.6k | Automated safety check: Pass | AGPL-3.0 | |
| Trackplotygidtu/trackplot | 109 | — | ~1.9k | Automated safety check: Pass | BSD-3-Clause | |
| UniProt Database Accessdavila7/claude-code-templates | 32k | 14 repos | ~1.7k | Automated safety check: Pass | MIT |
google-deepmind/science-skills
Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API.
K-Dense-AI/scientific-agent-skills
Estimates reaction fluxes inside cells from steady-state carbon-13 labeling data with a bundled mfapy-based solver, and reports which fluxes the data pin down.
xuzhougeng/wisp-science
A skill your agent uses when designing, reviewing, or implementing single-cell RNA-seq QC in Python or R with a human-in-the-loop, data-driven approach.
ygidtu/trackplot
Generate sashimi-style genome visualization plots (coverage, line, heatmap, IGV read-by-read, HiC, circRNA, motif) from BAM/bigWig/depth/HiC inputs.
davila7/claude-code-templates
Queries the UniProt REST API directly to search proteins, fetch FASTA sequences, map IDs between databases and read Swiss-Prot and TrEMBL entries.
QING1105/ezST
End-to-end 10x Visium spatial transcriptomics analysis workflow with staged execution and human review gates.
aiming-lab/AutoResearchClaw
Diagnoses where an agent failed across runs and turns the findings into new skills, system prompt patches and knowledge entries, using the A-Evolve loop.
aiming-lab/AutoResearchClaw
Turns a broad metabolic modelling topic into a concrete, paper-shaped plan with organism, model, perturbations, metrics and figures before any FBA code is written.
aiming-lab/AutoResearchClaw
Runs a metabolic flux analysis from model loading to phenotype prediction and figures by handing work to four sub-agents in sequence.
aiming-lab/AutoResearchClaw
Reference patterns for writing qiskit 2.x code for variational quantum machine learning: feature maps, VQC training, VQE for chemistry, MPS circuits and noise models.
aiming-lab/AutoResearchClaw
Builds or loads a genome-scale metabolic model in COBRApy, sets its growth medium and objective, and exports it as a validated JSON file for flux analysis.
aiming-lab/AutoResearchClaw
Quick reference for Biopython work: sequence operations, SeqIO file parsing, BLAST searches, Entrez queries, phylogenetic trees and PDB structure analysis.
Works with
Categories
Runs flux balance analysis and related constraint-based simulations on a COBRApy metabolic model, from standard FBA to gene knockouts and carbon source swaps. The skill runs constraint-based metabolic simulations on an already validated COBRApy model. Standard FBA solves a linear program for the flux distribution that optimizes the objective, usually biomass, under steady-state stoichiometric and bound constraints.
Flux Balance Analysis Simulator fits situations like: predicting growth rate from a genome-scale metabolic model; finding which reactions can carry flux near optimal growth; simulating gene or reaction knockouts and comparing growth; testing how growth changes when the carbon source is swapped.
Run `npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a claude-code`. Or copy the skill folder (external/agents/Biology-Agent/skills/fba-simulator in aiming-lab/AutoResearchClaw) into .claude/skills/fba-simulator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a codex`. Or copy the skill folder (external/agents/Biology-Agent/skills/fba-simulator in aiming-lab/AutoResearchClaw) into .agents/skills/fba-simulator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiming-lab/AutoResearchClaw --skill fba-simulator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fba-simulator, .gemini/skills/fba-simulator, .github/skills/fba-simulator and .opencode/skills/fba-simulator in your project.
SKILL.md names no scripts, command-line tools or credentials: Flux Balance Analysis Simulator is instructions for the agent only. Our summary lists: Python with COBRApy; A validated COBRApy metabolic model.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Flux Balance Analysis Simulator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Flux Balance Analysis Simulator: Alphagenome Single Variant Analysis (google-deepmind/science-skills, 3.2k stars), 13C Metabolic Flux Analysis (K-Dense-AI/scientific-agent-skills, 48k stars), Singlecell Qc (xuzhougeng/wisp-science, 1k stars) and Trackplot (ygidtu/trackplot, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aiming-lab (a GitHub organization) maintains it in aiming-lab/AutoResearchClaw, which has 14,602 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on August 19, 2026.
Source: aiming-lab/AutoResearchClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.