hea-bench: Instructions file for Codex

AGENTS.md

hea-bench AGENTS.md is an instructions file for Codex, OpenCode from dfieser/hea-bench. It costs 8,305 tokens per session, scanned A, original, MIT.

Repository instructions for using hea-bench, a transparent calculator for high-entropy alloys, which are materials made by mixing several elements in similar amounts. It documents the Python library, command-line tool, browser app, and desktop app.

In plain words
What is it for?
Calculating alloy thermodynamic and geometric descriptors, applying phase-prediction rules, using the library or command-line interface, and keeping documentation clear about units and terms.
Why use it?
It gives coding agents the exact public API, return types, units, and common usage patterns. This reduces mistakes when using the calculator or editing its documentation.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is dfieser/hea-bench's own configuration. It tells Codex and OpenCode how to work on hea-bench itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hea-bench configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dfieser/hea-bench. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dfieser/hea-bench/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/dfieser/hea-bench

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 hea-bench AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dfieser/hea-bench/agents-md/github.svg)](https://agentmods.dev/instructions/dfieser/hea-bench/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/dfieser/hea-bench/agents-md"><img src="https://agentmods.dev/badge/instructions/dfieser/hea-bench/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hea-bench AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dfieser/hea-bench/agents-md"><img src="https://agentmods.dev/badge/instructions/dfieser/hea-bench/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,305 This file is loaded in full into every session.
When invoked 8,305 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.08305 $0.08305
Opus 5.5 $0.03322 $0.03322
Sonnet 5.5 $0.01661 $0.01661
Haiku 4.5 $0.00830 $0.00830

Measured yesterday against content hash 3266de66bd06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hea-bench 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 yesterday.

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 · 612 lines

How it starts

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

AGENTS.md

Machine-oriented usage guide for hea-bench. If you are an AI coding agent integrating this library into another project, read this first. It tells you the public API, exact return types and units, the fastest path to each common task, and the mistakes to avoid. Every snippet here is copy-pasteable and was checked against the shipped code.

Editing this repo's own docs (or this file)? Follow the writing rule in CONTRIBUTING.md: minimize jargon and explain any necessary term inline in plain language, and always state what a number is and its units. Don't defer to a glossary.

What this is

hea-bench is an open, interpretable calculator of the standard high-entropy-alloy (HEA) thermodynamic and geometric descriptors plus the canonical empirical phase-prediction rules. Every descriptor is a transparent closed-form expression over a curated element-property table. The fitted predictions (hardness, phase prediction sets) carry calibrated uncertainty and a flag for alloys unlike their training data.

One calculation core, four parts, and every feature is in all four (owner rule, 2026-10-06), so point each person at whichever part suits them:

  1. Python library + CLI: this package (pip install hea-bench, or pip install "hea-bench[all]" for the fitted models and the MCP server too).
  2. MCP server: pip install "hea-bench[mcp]", then run hea-bench-mcp (stdio), or uvx --from "hea-bench[mcp]" hea-bench-mcp. Twenty-four tools over this same library: the calculator (parse_composition, batch alloy_descriptors with the Miedema enthalpies and alloy_rules, both taking custom elements and pair values, omega_sensitivity, oxide_report, ceramic_report, element_data, element_coverage), the dataset (corpus_build, corpus_query, corpus_describe, corpus_export, measured_properties), predictions (predict_properties, predict_phase_set, check_applicability), design (design_search, campaign_suggest), the benchmark (benchmark_summary, benchmark_run, benchmark_folds, benchmark_score, coverage_study) and about, which reports what is available. Every response carries units or uncertainty fields, a citation key where a parametrization is involved, and the library version. If you are an agent with MCP support, prefer those tools over reimplementing the formulas below. Without MCP support, use the Python API, which is identical.
  3. Web app: https://dfieser.github.io/hea-bench/, built from web/. The calculator (alloys, oxides, ceramics, property and phase predictions), the Dataset, Design and Benchmark tabs. Point a person who does not code here.
  4. Desktop app: one portable offline exe that is the web app in a Tauri window.

Read the full file on GitHub · 612 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. yesterday Changed · +7 lines · +28 tokens per session 3266de66bd06
  2. 1mo ago Changed · +5 lines · +91 tokens per session e71febcbedf7
  3. 1mo ago Changed · +75 lines · +1,221 tokens per session 63017320e17b
  4. 1mo ago Changed · +8 lines · +140 tokens per session 4eed6b9e98ed
  5. 2mo ago First seen · 517 lines · 6,825 tokens per session scan A 47c446598d9e

Subscribe to this mod's changes

hea-bench AGENTS.md is an instructions file published in the GitHub repository dfieser/hea-bench (3 stars, last pushed yesterday), licensed MIT. It adds 8,305 tokens to every session, about $0.0332 per session on Opus 5.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-31.

Related

hea-bench AGENTS.md compared with instructions from other repositories

hea-bench AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hea-bench AGENTS.mddfieser/hea-benchInstructions file3yesterdayMITA8,305Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot