pyHMT2D: Skill for Claude Code

.agents/skills/hmt-modify/SKILL.md

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

A procedure for changing hydraulic-model parameters in an open pyHMT2D project. Manning's n describes surface roughness; inlet flow and exit water-surface elevation describe boundary conditions for the model.

In plain words
What is it for?
Use it to change roughness values, inlet flows, or exit water levels, with separate handling for SRH-2D and HEC-RAS models.
Why use it?
It makes parameter changes traceable by showing current materials and boundaries before applying updates.

Skill for Claude CodeCodex

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

This is psu-efd/pyHMT2D's own configuration. It tells Claude Code and Codex how to work on pyHMT2D 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 pyHMT2D configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/psu-efd/pyHMT2D/main/.agents/skills/hmt-modify/SKILL.md
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-modify

README.md
[![agentmods](https://agentmods.dev/badge/skills/psu-efd/pyhmt2d/hmt-modify/github.svg)](https://agentmods.dev/skills/psu-efd/pyhmt2d/hmt-modify)
Your own site
<a href="https://agentmods.dev/skills/psu-efd/pyhmt2d/hmt-modify"><img src="https://agentmods.dev/badge/skills/psu-efd/pyhmt2d/hmt-modify/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 hmt-modify

Your own site · 80×15
<a href="https://agentmods.dev/skills/psu-efd/pyhmt2d/hmt-modify"><img src="https://agentmods.dev/badge/skills/psu-efd/pyhmt2d/hmt-modify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.00495
Opus 5.5 $0.00019 $0.00198
Sonnet 5.5 $0.00010 $0.00099
Haiku 4.5 $0.00005 $0.00049

Measured 2mo ago against content hash 6aebd233c9f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hmt-modify 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.

.agents/skills/hmt-modify/SKILL.md · 54 lines

What it actually says

Modify Manning's n roughness, inlet flow, or exit water surface elevation for the open project.

Prerequisites

A project must be open. If not, run /hmt-open first.

Steps

  1. Show current materials and boundary conditions so the user knows what is available. Run sequentially — do NOT run in parallel (each call opens a HEC-RAS instance):

    hmt-cli get_materials
    
    hmt-cli get_boundary_conditions
    

    Present both as Markdown tables.

  2. Ask the user what to change. They may specify:

    • Manning's n values by material name or ID and new value
    • Inlet flow by BC ID and new value (SRH-2D only)
    • Exit WSE by BC ID and new value (SRH-2D only)
  3. Apply Manning's n changes (if any). Map material names to IDs from the materials table shown in step 1.

    hmt-cli set_manning_n --args '{"material_ids": [...], "values": [...], "material_names": [...]}'
    

    Report the old and new values for each material.

  4. Apply inlet flow changes (if any, SRH-2D only).

    hmt-cli set_inlet_flow --args '{"bc_ids": [...], "values": [...]}'
    

    Note: skip this step for HEC-RAS models.

  5. Apply exit WSE changes (if any, SRH-2D only).

    hmt-cli set_exit_wse --args '{"bc_ids": [...], "values": [...]}'
    
  6. Save the modified input files.

    hmt-cli save_modified_inputs
    

    Report the file path where changes were written.

  7. Confirm all changes with a summary table: Parameter | Old value | New value. Suggest running /hmt-run to execute the simulation with the new parameters.

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. 2mo ago First seen · 54 lines · 48 tokens per session scan A 6aebd233c9f8

Subscribe to this mod's changes

hmt-modify is a skill published in the GitHub repository psu-efd/pyHMT2D (134 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 495 once invoked, about $0.0002 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.

Related

hmt-modify compared with skills from other repositories

hmt-modify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hmt-modifypsu-efd/pyHMT2DSkill1342mo agoMITA48Claude Code, Codex
academic-paper-reviewbytedance/deer-flowSkill85kyesterdayMITA95Claude Code, Codex
personal-genomicssammcj/agentic-codingSkill1682d agoApache-2.0A56Claude Code
huggingface-vision-trainermetaspartan/cybaraSkill34yesterdayMITA37Claude Code, Codex
huggingface-papersmetaspartan/cybaraSkill34yesterdayMITA30Claude Code, Codex
publish-the-run-that-did-not-workbrcampidelli/chimera-agentSkill29yesterdayApache-2.0A38Claude Code, Codex
suap-iff-apipedroiff0/awesome-skillsSkill114d agoMITA102Claude Code, Codex