hmt-modify

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

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-modify
Any agent
npx skills add psu-efd/pyHMT2D --skill hmt-modify
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.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.svg" alt="Measured on agentmods" 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. 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.00048 $0.00495
Opus 5 $0.00024 $0.00247
Sonnet 5 $0.00010 $0.00099
Haiku 4.5 $0.00005 $0.00049

Measured 4d ago against content hash 6aebd233c9f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (129 stars, last pushed 25d ago), licensed MIT. It adds 48 tokens to every session and 495 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

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

Jupyter Live Kernel

Guides notebook-first analysis with reproducible kernels, inspectable data loading, and explicit promotion paths back into durable code.

agentic-in/elephant-agent · 29 tokens

suap-iff-api

Authenticate to and consume the SUAP IFF (Instituto Federal Fluminense) API v2 from the CLI — obtain the JWT access/refresh token via matricula+senha, then fetch student data (periodos letivos, dados do aluno, boletim). Use when the user has a suap.iff.edu.br matricula+senha and wants to extract academic data…

pedroiff0/awesome-skills · 102 tokens

ras-end-to-end

Standard operating procedure for an auditable, headless HEC-RAS workflow via the hec-ras MCP server — how to plan, copy, edit boundaries, run, QA-gate, read results, compare, plot, audit, and safely stop. Use FIRST whenever an agent is handed a HEC-RAS project (.prj folder) or a results file (.p##.hdf) plus a…

Zhonghao1995/Agentic-HEC-RAS · 113 tokens