Thermodynamics.jl AGENTS.md

Thermodynamics.jl AGENTS.md is an instructions file for Codex, OpenCode from CliMA/Thermodynamics.jl. It costs 699 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for coding agents working on Thermodynamics.jl, a Julia library for calculating thermodynamic properties. It explains the repository's architecture, shared development rules, and when the agent must ask before making consequential changes.

In plain words
What is it for?
Use it when changing, reviewing, or debugging Thermodynamics.jl code, especially numerical functions, documentation, tests, or release-related files.
Why use it?
It gives the agent project-specific context that general coding conventions cannot provide. This helps protect scientific behavior, public APIs, reproducibility, and workflow rules.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/clima/thermodynamics.jl/agents-md
Clone the repo
git clone --depth 1 https://github.com/CliMA/Thermodynamics.jl

Made for: Codex, OpenCode.

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 Thermodynamics.jl AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/clima/thermodynamics.jl/agents-md.svg)](https://agentmods.dev/instructions/clima/thermodynamics.jl/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/clima/thermodynamics.jl/agents-md"><img src="https://agentmods.dev/badge/instructions/clima/thermodynamics.jl/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 699 This file is loaded in full into every session.
When invoked 699 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00699 $0.00699
Opus 5 $0.00349 $0.00349
Sonnet 5 $0.00140 $0.00140
Haiku 4.5 $0.00070 $0.00070

Measured 5d ago against content hash 3451cda4fd61, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Thermodynamics.jl AGENTS.md 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 5d ago.

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.

AGENTS.md · 53 lines

How it starts

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

Thermodynamics.jl Agent Guide

Ecosystem Guidelines

Please refer to the shared CliMA agent index for ecosystem-wide rules regarding architecture, performance, code quality, infrastructure, and workflows:

Shared guides live at docs/dev-guides/ and are vendored from the canonical source: https://github.com/CliMA/DeveloperGuides. Edit shared guides there, not here.

Before You Act: Agent Autonomy

Before making changes that are externally visible or scientifically consequential (git push, version bumps, reproducibility-test edits, CI config changes, public API renames), check docs/dev-guides/workflow/agent_autonomy.md. The boundaries listed there require explicit user approval.

Repo-Specific Guidelines

Thermodynamics.jl provides a library of thermodynamic functions for the CliMA ecosystem. It is a relatively small, focused package.

Architecture

  • Pure-function library: All public API functions are pure (no mutation of global state). They accept a parameter set (AbstractThermodynamicsParameters) and thermodynamic state variables as arguments.
  • Saturation adjustment: The core numerical solver lives in src/saturation_adjustment.jl. Multiple methods are available (Newton, Newton-AD, secant, Brent's). This is the most performance-critical code path.

Source layout

Path Purpose
src/Thermodynamics.jl Module definition, exports
src/Parameters.jl Parameter interface (AbstractThermodynamicsParameters)
src/ThermoTypes.jl Independent-variable dispatch types (IndepVars) and phase types
src/saturation_adjustment.jl Saturation adjustment solvers
src/air_*.jl Thermodynamic property functions
src/TemperatureProfiles.jl Reference temperature/pressure profiles
src/DataCollection.jl Internal solver diagnostic statistics
src/aux_functions.jl Internal helpers (ReLU, fast_power, ϵ_numerics)
ext/CreateParametersExt.jl ClimaParams weak-dep extension for parameter construction
test/ Test suite
perf/ Performance benchmarks
docs/ Documentation source

Read the full file on GitHub · 53 lines

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. 5d ago First seen · 53 lines · 699 tokens per session scan A 3451cda4fd61

Subscribe to this mod's changes

Thermodynamics.jl AGENTS.md is an instructions file published in the GitHub repository CliMA/Thermodynamics.jl (93 stars, last pushed 23d ago), licensed Apache-2.0. It adds 699 tokens to every session, about $0.0035 per session on Opus 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-08-30.