13c-metabolic-flux
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing…
Solves seawater carbonate chemistry with PyCO2SYS for chemical oceanography, ocean acidification, and marine carbon-cycle research. Use for paired total alkalinity, dissolved inorganic carbon, pH, or seawater pCO2/fCO2 measurements; carbonate speciation; aragonite and calcite
$ npx -y skills add K-Dense-AI/scientific-agent-skills --skill marine-carbonate-chemistry --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/marine-carbonate-chemistryContext preview
The summary Claude sees to decide when to auto-load this skill.
Solves seawater carbonate chemistry with PyCO2SYS for chemical oceanography, ocean acidification, and marine carbon-cycle research. Use for paired total alkalinity, dissolved inorganic carbon, pH, or seawater pCO2/fCO2 measurements; carbonate speciation; aragonite and calcite
name: marine-carbonate-chemistry description: Solves seawater carbonate chemistry with PyCO2SYS for chemical oceanography, ocean acidification, and marine carbon-cycle research. Use for paired total alkalinity, dissolved inorganic carbon, pH, or seawater pCO2/fCO2 measurements; carbonate speciation; aragonite and calcite saturation; Revelle factors; lab-to-in-situ temperature and pressure corrections; and measurement uncertainty propagation. Applies to carbonate-system calculations, not general aqueous speciation or air-sea gas-flux estimation. license: MIT compatibility: Requires Python 3.13 with PyCO2SYS 1.8.3.4 and NumPy. Network access is needed only to install packages or obtain external data; bundled calculations run locally without credentials. metadata: version: "1.1" skill-author: K-Dense Inc. upstream-version: "PyCO2SYS 1.8.3.4" last-reviewed: "2026-10-01"
Turn two independent seawater carbonate measurements into a reproducible speciation table, mineral saturation estimates, and a record of the calculation assumptions. Targets **PyCO2SYS 1.8.3.4**, tested with Python 3.13 and NumPy 2.5.3. As reviewed on 2026-10-01, this remains the stable PyPI release. The [v2 documentation](https://mvdh.xyz/PyCO2SYS/) is for a beta with breaking changes; use the v1 documentation for this pin.
saturation state, or the Revelle factor from a valid measured pair.
This workflow concerns seawater carbonate equilibria. Freshwater, porewaters with substantial uncharacterized alkalinity, brines outside the selected calibration range, and reaction/transport models require additional chemistry and validation. Do not infer an air-sea flux or atmospheric carbon removal from a carbonate equilibrium alone.
Before running a solver, identify the two measured variables, their units, quality flags, and their temperature/pressure basis. Retain a separate source table containing station, depth, timestamps, methods, reference materials, and original QC codes, joined by sample ID. Do not turn missing values or rejected measurements into zero.
| Quantity | Required convention | |---|---| | Total alkalinity (TA), DIC, nutrients | micromol per **kg seawater**, not per litre or kg water | | Salinity | Practical Salinity, not Absolute Salinity in g/kg | | Temperature | In-situ/measurement temperature in degrees Celsius, not potential or Conservative Temperature | | Pressure | Sea pressure in dbar; surface sample is 0, not 1 atmosphere | | pH | Declared total, seawater, free, or NBS scale, at the declared measurement conditions | | pCO2 / fCO2 | Seawater partial pressure / fugacity in microatm; these are distinct quantities |
TA and DIC remain constant during the solver's temperature/pressure conversion for a closed sample. pH and gas parameters change. Two inputs measured at different conditions cannot simply share one `temperature` value. Establish a consistent measurement basis first. Temperature correction does not repair sample changes caused by gas exchange, biology, evaporation, or mineral dissolution/precipitation.
Use two independent carbonate parameters. pCO2 plus fCO2 is not an independent pair. Three or more measurements enable an overdetermination check: solve independent pairs and compare predicted versus measured third parameters, including their uncertainty. Do not average inconsistent solutions to hide a calibration or scale mismatch.
Create a dedicated environment in the user's working directory:
uv venv --python 3.13 .venv uv pip install --python .venv/bin/python "PyCO2SYS==1.8.3.4" "numpy==2.5.3"
On Windows the environment's interpreter is `.venv/Scripts/python.exe`. The commands below use the POSIX interpreter path. Set the shell variable `SKILL_DIR` to this installed skill's directory. Keep inputs and generated outputs in the working directory.
1. **Prepare paired measurements.** Use the schema in [references/input-and-results.md](references/input-and-results.md). Resolve units and quality flags before creating the input file. Supply phosphate and silicate explicitly; zero is an assumption to justify, not a missing-data code. 2. **Choose equilibrium constants.** Read [references/chemistry-decisions.md](references/chemistry-decisions.md) for pH scales, carbonic-acid constants, borate, saturation interpretation, and uncertainty limits. Match the study's validated convention and report it. The helper supports carbonic-acid options 10 and 15; other systems require a separately verified direct PyCO2SYS call. 3. **Solve with `scripts/solve_carbonate.py`.** It validates the full input table, solves the pair, checks finite outputs and DIC species balance, then writes `carbonate.csv` and `provenance.json` into a new output directory. 4. **Review flags and consistency.** Inspect calibration-range and gas-pressure flags, carbonate balance, measured-third-parameter residuals when available, and controls. A successful solve does not validate the sample, constants, or measurement method. 5. **Report at the intended conditions.** Results ending `_out` describe the supplied output temperature/pressure. Unsuffixed results describe input conditions. Gas results retain the helper's uncorrected hydrostatic gas convention (see below). Include parameter pair, pH scale, units, constants, nutrient assumptions, uncertainty scope, software versions, and excluded/flagged samples with the result table.
The following values are synthetic, not field obs
🔔 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.
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing…
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…