hmt-run

hmt-run is a skill for Claude Code, Codex from psu-efd/pyHMT2D. It costs 38 tokens per session (393 once invoked), scanned A, original, MIT.

A run tool for pyHMT2D, a program that models water flow in rivers, channels, and flood areas. It prepares the open SRH-2D project and runs its hydraulic simulation, or runs an HEC-RAS model.

In plain words
What is it for?
Use it to run a saved hydraulic model, check that result files exist, and continue to result queries or VTK export for ParaView, a tool for viewing scientific data.
Why use it?
It avoids manually starting the right preparation and simulation commands and checking whether output files were created. It also reports errors and points to the log when a run fails.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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 skills/psu-efd/pyhmt2d/hmt-run
Any agent
npx skills add psu-efd/pyHMT2D --skill hmt-run
Clone the repo
git clone --depth 1 https://github.com/psu-efd/pyHMT2D

Made for: Claude Code, Codex.

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 hmt-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/psu-efd/pyhmt2d/hmt-run.svg)](https://agentmods.dev/skills/psu-efd/pyhmt2d/hmt-run)
Your own site
<a href="https://agentmods.dev/skills/psu-efd/pyhmt2d/hmt-run"><img src="https://agentmods.dev/badge/skills/psu-efd/pyhmt2d/hmt-run.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 393 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00038 $0.00393
Opus 5 $0.00019 $0.00197
Sonnet 5 $0.00008 $0.00079
Haiku 4.5 $0.00004 $0.00039

Measured 6d ago against content hash 9c711cc4c914, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

hmt-run 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 6d 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/skills/hmt-run/SKILL.md · 39 lines

What it actually says

Run preprocessing (SRH-2D) and the hydraulic simulation for the open project.

Prerequisites

A project must be open (/hmt-open) and input files must be saved.

Steps

  1. Check the session. Read .hmt_session.json for model_type. If no project is open, ask the user to run /hmt-open first.

  2. Run preprocessing (SRH-2D only). Skip this step for HEC-RAS models.

    hmt-cli run_preprocessing
    

    Report elapsed time on success. On error: show the message and stop.

  3. Run the simulation.

    hmt-cli run_simulation --args '{"timeout_minutes": 120}'
    

    For HEC-RAS, pass "faceless": false by default. If the user does not want to see the GUI window, pass "faceless": true. Warn the user this may take several minutes. Report elapsed time and status. On error: show the message and suggest checking pyHMT2D.log.

  4. Confirm result files were created.

    hmt-cli list_model_files --args '{"directory": "."}'
    
  5. Suggest next steps: "Run /hmt-results to query output, or /hmt-export to create VTK files for ParaView." For HEC-RAS runs with faceless=false: "Run hmt-cli exit_model to close the HEC-RAS GUI, or hmt-cli close_session to reset the session entirely."

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. 6d ago First seen · 39 lines · 38 tokens per session scan A 9c711cc4c914

Subscribe to this mod's changes

hmt-run is a skill published in the GitHub repository psu-efd/pyHMT2D (130 stars, last pushed 27d ago), licensed MIT. It adds 38 tokens to every session and 393 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation.…

bytedance/deer-flow · 95 tokens

arxiv-paper-writer

Write LaTeX ML/AI review articles for arXiv using the IEEEtran template and verified BibTeX citations. Use when writing, planning, or continuing an arXiv review/survey paper, or when validating and repairing citations in an existing LaTeX project.

appautomaton/latex-arxiv-SKILL · 62 tokens

personal-genomics

Analyse personal DNA / genome files for pharmacogenomics, disease risk, carrier status, ancestry and traits. Use whenever the user mentions DNA or genome analysis, a raw genome file, gene names, drug-gene interactions, or wants to combine multiple DNA sources.

sammcj/agentic-coding · 56 tokens

latex-rhythm-refiner

Post-process LaTeX project prose to improve readability through varied sentence and paragraph lengths. Removes filler phrases and unnecessary transitions while preserving all citations and semantic meaning. Use after drafting is complete, when sections read as monotonous or blocky.

appautomaton/latex-arxiv-SKILL · 53 tokens

calculation-skill

A skill for mathematical calculations.

agentscope-ai/agentscope-java · 10 tokens

huggingface-vision-trainer

Prepare, train, evaluate, and publish computer-vision and vision-language models with Hugging Face datasets, Transformers, PEFT, and Jobs.

metaspartan/cybara · 37 tokens