hmt-modify
Skill132 starsChanged 8 months agoMITView on GitHub
Modify Manning's n roughness coefficients, inlet flow rates, or exit water surface elevations for the currently open pyHMT2D project and save the changes. Use this when the user wants to change model parameters.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/calibration-parametric.mdcCursor rule
- .cursor/rules/cli-usage.mdcCursor rule
- .cursor/rules/hydraulic-models.mdcCursor rule
- .cursor/rules/project-overview.mdcCursor rule
- hmt-calibrateSkill
- hmt-convertSkill
- hmt-exportSkill
- hmt-monte-carloSkill
- hmt-openSkill
- hmt-resultsSkill
- hmt-runSkill
- hmt-statusSkill
- hmt-calibrateSkill
- hmt-convertSkill
- hmt-exportSkill
- hmt-modifySkill
- hmt-monte-carloSkill
- hmt-openSkill
- hmt-resultsSkill
- hmt-runSkill
- hmt-statusSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run sequentially — do NOT run in parallel (each call opens a HEC-RAS instance):
- Very specific: line 52
Confirm: all changes with a summary table: Parameter | Old value | New value.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- 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
Present both as Markdown tables.hmt-cli get_boundary_conditions - 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)
- Apply Manning's n changes (if any).
Map material names to IDs from the materials table shown in step 1.
Report the old and new values for each material.hmt-cli set_manning_n --args '{"material_ids": [...], "values": [...], "material_names": [...]}' - Apply inlet flow changes (if any, SRH-2D only).
Note: skip this step for HEC-RAS models.hmt-cli set_inlet_flow --args '{"bc_ids": [...], "values": [...]}' - Apply exit WSE changes (if any, SRH-2D only).
hmt-cli set_exit_wse --args '{"bc_ids": [...], "values": [...]}' - Save the modified input files.
Report the file path where changes were written.hmt-cli save_modified_inputs - Confirm all changes with a summary table: Parameter | Old value | New value.
Suggest running
/hmt-runto execute the simulation with the new parameters.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

