CloudMicrophysics.jl AGENTS.md

An agent guide for CloudMicrophysics.jl, a Julia package for simulating cloud physics. It explains shared project rules, when approval is needed, and where the main source files are located.

In plain words
What is it for?
Use it before changing CloudMicrophysics.jl, especially for public API changes, version updates, CI changes, reproducibility tests, or work involving its microphysics modules.
Why use it?
It helps agents make changes safely in a scientific codebase where reproducibility and public behavior matter. It also points them to the project's shared development guidance and source layout.

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/cloudmicrophysics.jl/agents-md
Clone the repo
git clone --depth 1 https://github.com/CliMA/CloudMicrophysics.jl

Made for: Codex, OpenCode.

Per session 989 This file is loaded in full into every session.
When invoked 989 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.00989 $0.00989
Opus 5 $0.00495 $0.00495
Sonnet 5 $0.00198 $0.00198
Haiku 4.5 $0.00099 $0.00099

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

Security

Grade A, and why

CloudMicrophysics.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 2d 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 · 68 lines

How it starts

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

CloudMicrophysics 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

Source layout

Path Description
src/CloudMicrophysics.jl Top-level module; all submodules are included here
src/Microphysics0M.jl 0-moment microphysics (threshold removal)
src/Microphysics1M.jl 1-moment bulk microphysics
src/Microphysics2M.jl 2-moment bulk microphysics
src/MicrophysicsNonEq.jl Non-equilibrium condensation/evaporation and cloud terminal velocities
src/BulkMicrophysicsTendencies.jl Unified tendency API for bulk schemes
src/P3.jl, src/P3_*.jl P3 ice microphysics scheme (properties, size distribution, processes, velocity)
src/AerosolActivation.jl Aerosol activation (CCN)
src/AerosolModel.jl Aerosol size distribution types (Mode_B, Mode_κ, AerosolDistribution)
src/IceNucleation.jl Heterogeneous and homogeneous ice nucleation
src/Nucleation.jl General nucleation routines
src/Common.jl Shared helper functions (terminal velocity, ventilation, etc.)
src/CloudDiagnostics.jl Radar reflectivity and effective radius diagnostics
src/DistributionTools.jl Generalized gamma and exponential distribution tools
src/ThermodynamicsInterface.jl Thin wrapper around Thermodynamics.jl
src/Utilities.jl Numerical utilities (clamp_to_nonneg, ϵ_numerics)
src/PrecipitationSusceptibility.jl Precipitation susceptibility diagnostics
src/ArtifactCalling.jl Artifact (lookup table) loading
src/show.jl Pretty-printing for parameter structs
src/parameters/ ClimaParams parameter definitions
test/ Unit and integration tests
docs/ Documenter.jl documentation
ext/ Weak-dep extensions (EmulatorModelsExt for MLJ/DataFrames)
parcel/ Parcel model examples
box/ Box model examples
papers/ Scripts reproducing published figures
p3_sandbox/ P3 scheme sandbox scripts

Read the full file on GitHub · 68 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. 2d ago First seen · 68 lines · 989 tokens per session scan A 37c63e13c757

Subscribe to this mod's changes

CloudMicrophysics.jl AGENTS.md is an instructions file published in the GitHub repository CliMA/CloudMicrophysics.jl (53 stars, last pushed 7d ago), licensed Apache-2.0. It adds 989 tokens to every session, about $0.0049 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.