marine-carbonate-chemistry

marine-carbonate-chemistry is a skill for Claude Code, Codex from K-Dense-AI/scientific-agent-skills. It costs 109 tokens per session (2,207 once invoked), scanned A, original, MIT.

A Python workflow for calculating seawater carbonate chemistry from two measured values, such as total alkalinity and dissolved inorganic carbon. It uses PyCO2SYS to estimate pH, carbon forms, mineral saturation, and related results while recording assumptions.

In plain words
What is it for?
Use it to analyse bottle or shipboard seawater samples, ocean-acidification experiments, and marine carbon-cycle measurements. It can produce carbonate speciation, pCO2 or fCO2, aragonite and calcite saturation, Revelle factors, and uncertainty estimates.
Why use it?
It avoids doing these equilibrium calculations manually and makes the inputs, settings, and uncertainty checks reproducible. It also helps prevent unsupported conclusions, such as treating carbonate chemistry alone as proof of air–sea carbon flux.

Skill for Claude CodeCodex

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

Good fit Use it to analyse bottle or shipboard seawater samples, ocean-acidification experiments, and marine carbon-cycle measurements. It can produce carbonate speciation, pCO2 or fCO2, aragonite and calcite saturation, Revelle factors, and uncertainty estimates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agent-skills/marine-carbonate-chemistry
About the project

Scientific Agent Skills is a collection of reusable procedures that give AI agents capabilities for scientific research across areas such as biology, chemistry, medicine, and drug discovery. It is used by researchers and by people building AI scientist workflows with compatible coding agents. The catalogue contains many of the project's skills and supporting instructions.

K-Dense-AI/scientific-agent-skills · 58,946 stars · on GitHub · arxiv.org

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 K-Dense-AI/scientific-agent-skills --skill marine-carbonate-chemistry
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills

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 marine-carbonate-chemistry

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/marine-carbonate-chemistry/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/marine-carbonate-chemistry)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/marine-carbonate-chemistry"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/marine-carbonate-chemistry/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 marine-carbonate-chemistry

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/marine-carbonate-chemistry"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/marine-carbonate-chemistry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,207 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.00109 $0.02207
Opus 5.5 $0.00044 $0.00883
Sonnet 5.5 $0.00022 $0.00441
Haiku 4.5 $0.00011 $0.00221

Measured 1mo ago against content hash 03e58c7f9d7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

marine-carbonate-chemistry 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/solve_carbonate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/marine-carbonate-chemistry/SKILL.md · 160 lines

How it starts

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

Marine Carbonate Chemistry

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 is for a beta with breaking changes; use the v1 documentation for this pin.

When to use

  • Analyze bottle samples, shipboard carbonate measurements, or acidification experiments.
  • Calculate total-scale pH, seawater pCO2/fCO2, carbonate ion, aragonite/calcite saturation state, or the Revelle factor from a valid measured pair.
  • Convert a system determined at laboratory conditions to specified ocean conditions.
  • Quantify how stated measurement uncertainties affect the calculated results.

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.

Establish the measurement contract

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

Read the full file on GitHub · 160 lines

Files

What ships with it

3 files 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. 1mo ago Changed · +11 lines 03e58c7f9d7d
  2. 2mo ago First seen · 149 lines · 109 tokens per session scan A eb22e76149b0

Subscribe to this mod's changes

marine-carbonate-chemistry is a skill published in the GitHub repository K-Dense-AI/scientific-agent-skills (58,946 stars, last pushed 7d ago), licensed MIT. It adds 109 tokens to every session and 2,207 once invoked, about $0.0004 per session on Opus 5.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-10-01.

Related

marine-carbonate-chemistry compared with skills from other repositories

marine-carbonate-chemistry next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
marine-carbonate-chemistryK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA109Claude Code, Codex
discovery-toolboxdekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA122Claude Code
discovery-directordekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA114Claude Code
notebooksfmschulz/omics-skillsSkill11yesterdayMITA29Claude Code
bio-annotationfmschulz/omics-skillsSkill11yesterdayMITA38Claude Code, Codex
bio-viromicsfmschulz/omics-skillsSkill11yesterdayMITA79Claude Code, Codex
polars-dovmedfmschulz/omics-skillsSkill11yesterdayMITA57Claude Code, Codex