hmt-open

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

An opening and inspection tool for pyHMT2D hydraulic models, including SRH-2D and HEC-RAS projects. It finds a project file, opens it, and displays its materials, boundary conditions, and available result information.

In plain words
What is it for?
Use it to load a hydraulic project, review material roughness values, inspect boundary conditions, and see which result variables or files are available.
Why use it?
It gives you a quick view of what a model contains before you run or modify it. It also helps identify the correct project when several model files are in the folder.

Skill for Claude CodeCodex

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-open
Any agent
npx skills add psu-efd/pyHMT2D --skill hmt-open
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-open

README.md
[![agentmods](https://agentmods.dev/badge/skills/psu-efd/pyhmt2d/hmt-open.svg)](https://agentmods.dev/skills/psu-efd/pyhmt2d/hmt-open)
Your own site
<a href="https://agentmods.dev/skills/psu-efd/pyhmt2d/hmt-open"><img src="https://agentmods.dev/badge/skills/psu-efd/pyhmt2d/hmt-open.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 605 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 $0.00056 $0.00605
Opus 5 $0.00028 $0.00302
Sonnet 5 $0.00011 $0.00121
Haiku 4.5 $0.00006 $0.00060

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

Security

Grade A, and why

hmt-open 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 5d 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-open/SKILL.md · 63 lines

How it starts

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

Open a pyHMT2D hydraulic model project and display its contents.

Usage

/hmt-open [project_file]

The project file path is optional — if omitted, this skill scans the current directory.

Steps

  1. Find the project file. If the user provided a path in the command, use it directly. Otherwise, scan the current directory:

    hmt-cli list_model_files --args '{"directory": "."}'
    

    Show the found files as a table (file, model type, case name). If multiple files are found, ask the user which one to open. If none are found, tell the user no model files were detected and stop.

  2. Open the project.

    hmt-cli get_project_info --args '{"project_file": "<path>"}'
    

    On error: report the message and stop. On success: report model type, case name, number of cells, number of material zones, and number of boundary conditions.

  3. Show materials.

    hmt-cli get_materials
    

    Present as a Markdown table: ID | Name | Manning's n

  4. Show boundary conditions. (run after step 3 completes — do NOT run in parallel)

    hmt-cli get_boundary_conditions
    

    Present as a Markdown table: ID | Name | Type | Value | Units

  5. Look for a result file. (run after step 4 completes — do NOT run in parallel) Check the same directory for .h5, .hdf, or .hdf5 files. If found, offer to inspect available variables:

    hmt-cli get_result_variables --args '{"result_file": "<result_file>"}'
    

    Report: variable names and number of time steps.

    Important: Each hmt-cli call spawns a separate process that opens its own HEC-RAS COM instance. Always run these calls sequentially to avoid simultaneous instances that can cause file I/O conflicts.

  6. Suggest next steps based on what was found:

    • If result file present: "Run /hmt-results to query simulation output."
    • If no result file: "Run /hmt-run to execute the simulation."
    • To change parameters: "Run /hmt-modify."

Read the full file on GitHub · 63 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. 5d ago First seen · 63 lines · 56 tokens per session scan A 0a3eedbe598e

Subscribe to this mod's changes

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