Borrowing it
Nothing to install: this file belongs to psu-efd/pyHMT2D. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/psu-efd/pyHMT2D/main/AGENTS.mdgit clone --depth 1 https://github.com/psu-efd/pyHMT2DWrote 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.
[](https://agentmods.dev/instructions/psu-efd/pyhmt2d/agents-md)<a href="https://agentmods.dev/instructions/psu-efd/pyhmt2d/agents-md"><img src="https://agentmods.dev/badge/instructions/psu-efd/pyhmt2d/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.
<a href="https://agentmods.dev/instructions/psu-efd/pyhmt2d/agents-md"><img src="https://agentmods.dev/badge/instructions/psu-efd/pyhmt2d/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01462 | $0.01462 |
| Opus 5.5 | $0.00585 | $0.00585 |
| Sonnet 5.5 | $0.00292 | $0.00292 |
| Haiku 4.5 | $0.00146 | $0.00146 |
Grade A, and why
pyHMT2D 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 2mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- pyHMT2D CLAUDE.md — 91% identical, 8 lines differ
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
Commands
# Install in editable mode (development)
pip install -e .
# Run all tests
pytest
# Run a specific test file
pytest tests/01_SRH_2D_Data/01_01_SRH_2D_Data_test.py
# Run tests with verbose output (already enabled via pytest.ini addopts = -s)
pytest -v
CLI tools (available after install):
# Convert HEC-RAS 2D mesh to SRH-2D format
hmt-cli ras_to_srh --args '{"ras_hdf_file": "input.hdf", "terrain_tif_file": "terrain.tif", "srh_case_name": "output"}'
# Convert SRH-2D results to VTK (last time step)
hmt-cli srh_to_vtk --args '{"srhhydro_file": "case.srhhydro", "output_file": "result.h5"}'
# Export SRH-2D mesh only to VTK
hmt-cli srh_to_vtk --args '{"srhhydro_file": "case.srhhydro", "output_file": "mesh.vtk", "mesh_only": true}'
Architecture
pyHMT2D automates and post-processes 2D hydraulic simulations for two external solvers: SRH-2D (USBR) and HEC-RAS 2D (USACE). It is Windows-only due to solver dependencies (SRH-2D via subprocess, HEC-RAS via COM interface).
Package Layout
pyHMT2D/
├── Hydraulic_Models_Data/ # Model-specific data and control
│ ├── Hydraulic_Models_Data_Base/ # Abstract base classes
│ │ ├── HydraulicModel.py # Base for all model controllers
│ │ └── HydraulicData.py # Base for all data readers
│ ├── SRH_2D/ # SRH-2D implementation
│ ├── RAS_2D/ # HEC-RAS 2D implementation
│ └── Backwater_1D/ # Simple 1D demo model
├── Calibration/ # Model calibration (scipy-based)
├── Parametric_Study/ # Batch/Monte Carlo parametric studies
├── Misc/ # Utilities shared across models
│ ├── Terrain.py # DEM/raster processing (rasterio)
│ ├── RAS_to_SRH_Converter.py # Mesh/BC format conversion
│ ├── vtk_utilities.py # VTK export and manipulation
│ └── tools.py # Result sampling and probing
└── __common__.py # Global config (verbose flag, etc.)
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.
- 2mo ago First seen · 116 lines · 1,462 tokens per session scan A 0414fd8d84d0
pyHMT2D AGENTS.md is an instructions file published in the GitHub repository psu-efd/pyHMT2D (134 stars, last pushed 2mo ago), licensed MIT. It adds 1,462 tokens to every session, about $0.0058 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-30.
pyHMT2D AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pyHMT2D AGENTS.mdpsu-efd/pyHMT2D | Instructions file | 134 | 2mo ago | MIT | A | 1,462 | Codex, OpenCode |
| runtm copilot-instructions.mdruntm-ai/runtm | Instructions file | 303 | yesterday | none | A | 297 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |