Agent skill

Seawater Freezing Temperature

by InternScience in InternScience/scp

Calculate the freezing point temperature of seawater from absolute salinity and pressure using GSW thermodynamic equations.

MITAuto-check passed

Install Seawater Freezing Temperature

skills CLI
$ npx skills add InternScience/scp --skill seawater-freezing-temperature -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install InternScience/scp seawater-freezing-temperature --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/InternScience/scp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/seawater-freezing-temperature .claude/skills/seawater-freezing-temperature && rm -rf skills-src

Use ~/.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/

Facts

Skill name
seawater-freezing-temperature
GitHub stars
170
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
122 words
Files
1
Skills in repo
73
Repo updated
First seen
Licence
MIT

At a glance

Calculate the freezing point temperature of seawater from absolute salinity and pressure using GSW thermodynamic equations.

  • Works in 2 steps: MCP Server Definition → Freezing Temperature Workflow
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Seawater Freezing Temperature is an agent skill from InternScience/scp. Calculate the freezing point temperature of seawater from absolute salinity and pressure using GSW thermodynamic equations.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is MIT.

Example prompts

  • “/seawater-freezing-temperature”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. MCP Server Definition
  2. Freezing Temperature Workflow

What it can do on your machine

Read from SKILL.md and the folder at commit cea5398. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Seawater Freezing Temperature loads about 1.1k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 122 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from InternScience/scp at commit cea5398, republished under its MIT licence (© InternScience). 122 words, ~1,094 tokens.

Download SKILL.mdSave it as .claude/skills/seawater-freezing-temperature/SKILL.md (or your agent's skills folder).
name
seawater-freezing-temperature
description
Calculate the freezing point temperature of seawater from absolute salinity and pressure using GSW thermodynamic equations.
license
MIT license
metadata.skill-author
PJLab

Seawater Freezing Temperature Calculation

Usage

1. MCP Server Definition
python
import asyncio
import json
from mcp.client.streamable_http import streamablehttp_client
from mcp import ClientSession

class OceanClient:
    """OceanGSW-Tool MCP Client"""

    def __init__(self, server_url: str, api_key: str):
        self.server_url = server_url
        self.api_key = api_key
        self.session = None

    async def connect(self):
        try:
            self.transport = streamablehttp_client(
                url=self.server_url,
                headers={"SCP-HUB-API-KEY": self.api_key}
            )
            self.read, self.write, self.get_session_id = await self.transport.__aenter__()
            self.session_ctx = ClientSession(self.read, self.write)
            self.session = await self.session_ctx.__aenter__()
            await self.session.initialize()
            return True
        except Exception as e:
            print(f"✗ connect failure: {e}")
            return False

    async def disconnect(self):
        try:
            if self.session:
                await self.session_ctx.__aexit__(None, None, None)
            if hasattr(self, 'transport'):
                await self.transport.__aexit__(None, None, None)
        except Exception as e:
            print(f"✗ disconnect error: {e}")

    def parse_result(self, result):
        try:
            if hasattr(result, 'content') and result.content:
                content = result.content[0]
                if hasattr(content, 'text'):
                    return json.loads(content.text)
            return str(result)
        except Exception as e:
            return {"error": f"parse error: {e}", "raw": str(result)}
2. Freezing Temperature Workflow

Calculate the freezing point of seawater based on salinity and pressure.

Workflow Steps:

  1. Calculate Absolute Salinity - Convert practical salinity
  2. Calculate Freezing Temperature - Compute freezing point

Implementation:

python
## Initialize client
client = OceanClient(
    "https://scp.intern-ai.org.cn/api/v1/mcp/34/OceanGSW-Tool",
    "<your-api-key>"
)

if not await client.connect():
    print("connection failed")
    exit()

## Input parameters
input_params = {
    'SP': [35.0, 5.0],
    'p': [1000.0, 1000.0],
    'lon': [120.0, 165.0],
    'lat': [30.0, 45.0],
    'saturation_fraction': [0.0, 0.0]  # 0=air-free, 1=air-saturated
}

## Step 1: Calculate absolute salinity
result = await client.session.call_tool(
    "gsw_example_absolute_salinity",
    arguments={
        "SP": input_params['SP'],
        'p': input_params['p'],
        'lon': input_params['lon'],
        'lat': input_params['lat']
    }
)

SA_result = client.parse_result(result)["st"]

## Step 2: Calculate freezing temperature
result = await client.session.call_tool(
    "gsw_example_freezing_temp",
    arguments={
        "SA": SA_result,
        "p": input_params['p'],
        "saturation_fraction": input_params['saturation_fraction']
    }
)

t_freeze_result = client.parse_result(result)["st"]["t_freeze"]

print("Freezing Temperature Results:")
for i, t_freeze in enumerate(t_freeze_result):
    print(f"{i+1}. SA={SA_result[i]:.2f} g/kg, p={input_params['p'][i]} dbar")
    print(f"   Freezing temp: {t_freeze:.3f}°C\n")

await client.disconnect()
Tool Descriptions

OceanGSW-Tool Server:

  • gsw_example_absolute_salinity: Convert practical to absolute salinity
  • gsw_example_freezing_temp: Calculate freezing temperature
    • Args:
      • SA (list): Absolute salinity (g/kg)
      • p (list): Pressure (dbar)
      • saturation_fraction (list): Air saturation (0-1)
    • Returns: Freezing temperature (°C)
Input/Output

Input:

  • SA: Absolute salinity (0-42 g/kg)
  • p: Sea pressure (0-11000 dbar)
  • saturation_fraction: 0 (air-free) to 1 (air-saturated)

Output:

  • Freezing temperature in °C (typically -2 to 0°C)
Use Cases
  • Sea ice formation prediction
  • Polar oceanography
  • Marine engineering in cold regions
  • Climate modeling
Performance Notes
  • Standards: TEOS-10
  • Accuracy: ±0.001°C

© InternScience, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/seawater-freezing-temperature of InternScience/scp.

Open the folder on GitHubat commit cea5398

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in InternScience/scp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Seawater Freezing Temperature 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.

Seawater Freezing Temperature compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Seawater Freezing Temperature this skillInternScience/scp1701 repos~1.1kAutomated safety check: PassMIT
Freezealirezarezvani/claude-skills28k—~931Automated safety check: PassMIT
Freeze Edit Boundarygarrytan/gstack136k—~1.1kAutomated safety check: NotesMIT
Eol Resistor Calculatorsickn33/agentic-awesome-skills47k1 repos~3.5kAutomated safety check: PassMIT
Metric Calculatorjeremylongshore/tons-of-skills-marketplace2.8k—~563Automated safety check: PassMIT
Retention Calculatorjeremylongshore/tons-of-skills-marketplace2.8k—~573Automated safety check: PassMIT

Similar skills

  • Freeze

    alirezarezvani/claude-skills

    /cs:freeze <decision <days — Lock a strategic decision for a cooldown period to prevent impulse reversal.

    28k GitHub stars~931 tokensUpdated 1 mo ago
    Auto-check passed
  • Freeze Edit Boundary

    garrytan/gstack

    Locks file edits for the session to one directory by blocking Edit and Write calls anywhere else, useful when debugging or scoping a change.

    136k GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Eol Resistor Calculator

    sickn33/agentic-awesome-skills

    Calculates and validates end-of-line (EOL, SEOL, DEOL, TEOL) resistor loops for intrusion alarm panels (Honeywell, DSC, Paradox, Bosch) with wire gauge drop and state tables.

    47k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Metric Calculator

    jeremylongshore/tons-of-skills-marketplace

    Configure and manage - Calculate metric calculator operations.

    2.8k GitHub stars~563 tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Retention Calculator

    jeremylongshore/tons-of-skills-marketplace

    Configure and manage - Calculate retention calculator operations.

    2.8k GitHub stars~573 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Throughput Calculator

    jeremylongshore/tons-of-skills-marketplace

    Calculate throughput calculator operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~577 tokensUpdated today
    Testing & QAAuto-check passed

More from InternScience/scp

All 73 skills in this repo
  • Given an rsID, query multiple databases (dbSNP, FAVOR, GWAS Catalog, ClinVar, gnomAD, PharmGKB, ClinGen) for comprehensive annotation.

    170 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Calculate atmospheric parameters including Coriolis parameter, geostrophic wind, heat index, potential temperature, and dewpoint for meteorology and climate science.

    170 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Biomedical Web Search

    InternScience/scp

    Search biomedical literature and web content using Tavily search engine for research and clinical information.

    170 GitHub starsUsed in 1 repo~598 tokens
    Auto-check passed
  • Calculate buoyancy forces and acceleration for fluid mechanics and hydrodynamics analysis.

    170 GitHub starsUsed in 1 repo~540 tokens
    Auto-check passed
  • Capacitance Calculation

    InternScience/scp

    Calculate electrical capacitance from geometric parameters and dielectric properties for circuit design.

    170 GitHub starsUsed in 1 repo~537 tokens
    Auto-check passed
  • Chembl Molecule Search

    InternScience/scp

    Search ChEMBL database for molecule information by name to retrieve bioactivity data and chemical structures.

    170 GitHub starsUsed in 1 repo~757 tokens
    Auto-check passed

Questions about Seawater Freezing Temperature

What does Seawater Freezing Temperature do?

Calculate the freezing point temperature of seawater from absolute salinity and pressure using GSW thermodynamic equations. Seawater Freezing Temperature is an agent skill from InternScience/scp. Calculate the freezing point temperature of seawater from absolute salinity and pressure using GSW thermodynamic equations.

How do I install Seawater Freezing Temperature in Claude Code?

Run `npx skills add InternScience/scp --skill seawater-freezing-temperature -a claude-code`. Or copy the skill folder (skills/seawater-freezing-temperature in InternScience/scp) into .claude/skills/seawater-freezing-temperature in your project. Claude Code loads it when a task matches its description.

How do I install Seawater Freezing Temperature in Codex?

Run `npx skills add InternScience/scp --skill seawater-freezing-temperature -a codex`. Or copy the skill folder (skills/seawater-freezing-temperature in InternScience/scp) into .agents/skills/seawater-freezing-temperature in your project. Codex loads it when a task matches its description.

Can I use Seawater Freezing Temperature in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add InternScience/scp --skill seawater-freezing-temperature -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/seawater-freezing-temperature, .gemini/skills/seawater-freezing-temperature, .github/skills/seawater-freezing-temperature and .opencode/skills/seawater-freezing-temperature in your project.

What does Seawater Freezing Temperature need to run?

SKILL.md names no scripts, command-line tools or credentials: Seawater Freezing Temperature is instructions for the agent only. Our summary lists: Python 3.

Does Seawater Freezing Temperature access the network?

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.

Is Seawater Freezing Temperature safe to install?

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.

What licence does Seawater Freezing Temperature use?

Seawater Freezing Temperature is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Seawater Freezing Temperature use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Seawater Freezing Temperature?

Skills that share tags, products or a category with Seawater Freezing Temperature: Freeze (alirezarezvani/claude-skills, 28k stars), Freeze Edit Boundary (garrytan/gstack, 136k stars), Eol Resistor Calculator (sickn33/agentic-awesome-skills, 47k stars) and Metric Calculator (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Seawater Freezing Temperature?

InternScience (a GitHub organization) maintains it in InternScience/scp, which has 170 GitHub stars. The repository holds 73 skills in this directory. The repository was last updated on June 3, 2026.

Source: InternScience/scp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.