marine-carbonate-chemistry
Skill này làm gì
Công cụ này tính toán hóa học carbonat trong nước biển. Nó dùng hai phép đo của nước biển để suy ra các đặc tính quan trọng khác như pH và CO2 hòa tan.
Khi nào nên dùng
- ✓Khi phân tích mẫu nước biển thu thập trên biển.
- ✓Khi thực hiện thí nghiệm về axit hóa đại dương.
- ✓Khi nghiên cứu chu trình carbon của đại dương.
Liên kết skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/marine-carbonate-chemistry/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tính pH tổng, pCO2 và chỉ số bão hòa aragonit cho các mẫu nước biển này, cho biết độ kiềm tổng và carbon vô cơ hòa tan.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn cung cấp hai phép đo nước biển (như độ kiềm và carbon hòa tan). Công cụ dùng chương trình PyCO2SYS để tính các đặc tính hóa học khác và ước tính độ bão hòa khoáng chất.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 |
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.
Install
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.
Workflow
- Prepare paired measurements. Use the schema in 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.
- Choose equilibrium constants. Read 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.
- Solve with
scripts/solve_carbonate.py. It validates the full input table, solves the pair, checks finite outputs and DIC species balance, then writescarbonate.csvandprovenance.jsoninto a new output directory. - Review flags and consistency. Inspect calibration-range and gas-pressure flags, carbonate balance, measured-third-parameter residuals when available, and controls.
…
Câu hỏi thường gặp
“Phép đo cặp” là gì?
Đó là hai giá trị được đo độc lập mà công cụ dùng cùng nhau để tính toán, chẳng hạn độ kiềm tổng và carbon vô cơ hòa tan.
Tôi có thể dùng bất kỳ đơn vị nào cho phép đo không?
Không. Bạn cần dùng đúng đơn vị, chẳng hạn “micromol trên kg nước biển” cho độ kiềm và carbon, và “dbar” cho áp suất, như đã quy định.
Công cụ có tính thông lượng carbon từ không khí ra biển không?
Không. Công cụ chỉ tập trung vào cân bằng carbonat bên trong nước biển. Tính thông lượng cần thêm thông tin và mô hình khác.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 51k
- Vị trí xếp hạng
- #3491
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
13c-metabolic-flux
51kƯớc tính thông lượng chuyển hóa bằng dữ liệu theo dõi đồng vị carbon-13. Hữu ích để phân tích chuyển hóa tế bào và các con đường sinh hóa.
adaptyv
51kThiết kế thí nghiệm đặc trưng protein bằng Adaptyv API. Hỗ trợ ước tính chi phí, gửi trình tự và theo dõi kết quả phòng thí nghiệm.
aeon
51kThực hiện các tác vụ học máy trên dữ liệu chuỗi thời gian. Hữu ích để phân loại, dự báo, phát hiện bất thường và tìm mẫu trong dữ liệu tuần tự.
alphagenome
51kTra cứu các tác động di truyền đã được tính trước cho biến thể gen. Cung cấp điểm số và giải thích để hiểu ảnh hưởng của biến thể lên bộ gen.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.