ClimaCore.jl AGENTS.md

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

Repository-specific instructions for working on CliMA and ClimaCore.jl, Julia software for climate and Earth-system modeling.

In plain words
What is it for?
Use them when contributing to that repository, especially before public API changes, CI edits, version updates, formatting, commits, or scientifically important changes.
Why use it?
They tell coding agents which guides to read and which approval, formatting, testing, and repository rules to follow before changing the code.

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/clima/climacore.jl/agents-md.svg)](https://agentmods.dev/instructions/clima/climacore.jl/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/clima/climacore.jl/agents-md"><img src="https://agentmods.dev/badge/instructions/clima/climacore.jl/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 559 This file is loaded in full into every session.
When invoked 559 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.00559 $0.00559
Opus 5 $0.00280 $0.00280
Sonnet 5 $0.00112 $0.00112
Haiku 4.5 $0.00056 $0.00056

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

Security

Grade A, and why

ClimaCore.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 4d 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 · 30 lines

How it starts

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

AGENTS.md

Read these documents in the order listed when starting work on this repository.

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.

Shared guides (via DeveloperGuides subtree)

The shared engineering guidelines are vendored as a Git subtree at docs/dev-guides/. Julia's Pkg does not resolve git submodules, so subtree is the standard mechanism across the CliMA ecosystem. The full index lives at docs/dev-guides/AGENTS.md. Start there for:

  • Architecture, design patterns, and cross-repo contracts
  • GPU performance, type stability, and AD compatibility
  • Code style, testing, and PR review

Edits to shared guidelines belong in CliMA/DeveloperGuides, not in the vendored copy here. A scheduled workflow (.github/workflows/update_dev_guides.yml) syncs the subtree monthly.

Formatting and pre-commit hooks

  • Format code before committing. CI checks formatting via the prek hook in .github/workflows/run-prek.yml, which runs JuliaFormatter from the version-pinned .dev/format/Project.toml environment (currently =2.10.1). Match CI with either prek run julia-formatter --all-files or the pinned env directly: julia --startup-file=no --project=.dev/format -e 'using Pkg; Pkg.instantiate(io=devnull); using JuliaFormatter; format(ARGS)' .. Avoid julia -e 'using JuliaFormatter; format(".")' from your global environment — a mismatched version produces a different diff.
  • Optional but recommended: install the pre-commit hooks in .pre-commit-config.yaml (uv tool install prek && prek install) to auto-format and trim trailing whitespace on commit. See docs/src/Contributing.md ("Pre-commit hooks").

Read the full file on GitHub · 30 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. 4d ago First seen · 30 lines · 559 tokens per session scan A 5288c774f996

Subscribe to this mod's changes

ClimaCore.jl AGENTS.md is an instructions file published in the GitHub repository CliMA/ClimaCore.jl (117 stars, last pushed today), licensed Apache-2.0. It adds 559 tokens to every session, about $0.0028 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.