adaptyv
Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps, mfapy isotope simulation, constrained multistart fitting, and flux-profile diagnostics. Use for 13C-MFA, carbon tracing, mass isotopomer distributions
$ npx -y skills add K-Dense-AI/scientific-agent-skills --skill 13c-metabolic-flux --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/13c-metabolic-fluxContext preview
The summary Claude sees to decide when to auto-load this skill.
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps, mfapy isotope simulation, constrained multistart fitting, and flux-profile diagnostics. Use for 13C-MFA, carbon tracing, mass isotopomer distributions
name: 13c-metabolic-flux description: Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps, mfapy isotope simulation, constrained multistart fitting, and flux-profile diagnostics. Use for 13C-MFA, carbon tracing, mass isotopomer distributions (MDVs/MIDs), positional isotopomers, parallel tracer experiments, and determining whether labeling data constrain a pathway flux. Distinguishes measured-label inference from COBRA flux balance analysis and flags experiments requiring nonstationary MFA. license: MIT compatibility: Python 3.12 with uv and Git for installation. Tested with mfapy 0.6.3 at a10433af16682386548b360297e2476152d46ede, NumPy 2.5.3, SciPy 1.18.1, and NLopt 2.11.0. Network access is needed only to install public dependencies. Inference runs locally without credentials; inputs are JSON. metadata: version: "1.2" skill-author: K-Dense Inc. last-reviewed: "2026-09-30"
Turn reviewed carbon maps, explicit tracer mixtures, and corrected labeling measurements into feasible flux estimates and evidence about which fluxes the experiment constrains. Use the bundled solver rather than reconstructing isotope balances or fitting each reaction independently. It runs mfapy's EMU forward simulator and fits fluxes in the mass-balanced feasible space with SciPy. It does not use an FBA objective.
This implementation supports **metabolic and isotopic steady state**, a single shared flux state across one or more tracer experiments, nonnegative one-way reaction fluxes, and carbon-subset mass distributions. Reversible reactions are two separately mapped directions. Measurement error is Gaussian with a supplied covariance or a disclosed diagonal approximation.
Before fitting, obtain:
not specify where labeled atoms go. Record compartments as separate metabolite IDs.
establish isotopic steady state. Time-course labeling requires INST-MFA with pool sizes and initial labeling; do not average it into this solver.
supplements, bicarbonate/CO2 when assimilated, and tracer impurity.
of the **reported mean**. Raw peak intensities, derivatized spectra, and MS/MS transitions require validated preprocessing before these inputs can be constructed.
and biologically justified bounds. Label fractions alone cannot set an absolute rate.
If necessary information is missing, name it and prepare the input template; do not invent a fragment assignment, atom map, isotope correction, or measurement error. Read [references/input-contract.md](references/input-contract.md) when preparing inputs. Read [references/inference.md](references/inference.md) before interpreting an actual fit.
Run in the user's analysis directory. Set `SKILL_DIR` to this skill's installed directory, using the actual resolved path. Keep environments and generated results outside the skill.
uv venv --python 3.12 .venv-mfa uv pip install --python .venv-mfa/bin/python -r "$SKILL_DIR/assets/requirements.txt"
The following commands use `.venv-mfa/bin/python`; on Windows use the environment's `Scripts/python.exe`. mfapy is installed from an immutable Git revision because it is not distributed on PyPI. Installation executes dependency build code; model inputs are data, not user-supplied Python. The adapter restricts identifiers and atom-map syntax before they reach mfapy's internally generated numerical functions.
The pinned commit matched upstream `master` on 2026-09-30. Its README labels the latest change "064", but its installed distribution still reports `0.6.3`; retain the Git commit alongside the package version in an analysis record. The refreshed NumPy/SciPy pins require Python 3.12 or later; the commands above use the tested 3.12 environment. See the reviewed forward-model contract in [references/inference.md](references/inference.md).
1. **Prepare explicit inputs.** Copy a relevant model asset into the analysis directory, then replace its scientific content only from reviewed evidence. The bundled models are demonstrations, not validated organism-specific reconstructions. Use a separate dataset for each biological condition; jointly fit tracer replicates only when their biological flux state is defensibly shared. 2. **Check the contract and feasibility.**
.venv-mfa/bin/python "$SKILL_DIR/scripts/mfa.py" check \
--model model.json --data measurements.json --output input-check.jsonThis checks atom counts and conservation, fragments, tracer sums, uncertainty matrices, bounds, and steady-state mass-balance feasibility. It cannot verify that a chemically consistent atom map is biologically correct or that a sample reached steady state. 3. **Exercise the forward model.** Supply one mass-balanced flux vector in the declared units. Compare predicted labeling with a reference or independently derived limits.
.venv-mfa/bin/python "$SKILL_DIR/scripts/mfa.py" simulate \
--model model.json --data measurements.json --fluxes fluxes.json \
--output simulated-mdvs.json4. **Fit and profile the fluxes relevant to the question.**
.venv-mfa/bin/python "$SKILL_DIR/scripts/mfa.py" fit \
--model model.json --data measurements.json --starts 12 --seed 2026 \
--profile v3 --profile v7 --profile-points 31 --profile-starts 6 \
--output fit.jsonReplace `v3` and `v7` with actual reaction IDs. Each profile point fixes t
🔔 Claude Scientific Skills is now Scientific Agent Skills. Same skills, broader compatibility — now works with any AI agent that supports the open Agent Skills standard, not just Claude.
Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization…
This skill should be used for time series machine learning tasks including classification,…
Plans, executes, and documents validation, verification, and transfer of analytical…
Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration…
Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators,…