hmt-results
Skill132 starsChanged 8 months agoMITView on GitHub
Load simulation results and query values at specific points, domain-wide statistics, flood extent, or cross-section profiles. Use this when the user wants to read, query, probe, or analyze simulation results.
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-modifySkill
- 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-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
- Very specific: line 14
Check .hmt_session.json for result_file.
- Distinctive: line 18
If multiple result files exist, ask the user which one to use.
≈ “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
Load simulation results and query values at points, domain-wide statistics, flood extent, or cross-section profiles.
Prerequisites
A project must be open. A result file (.h5 or .hdf) must exist.
Steps
- Find the result file.
Check
.hmt_session.jsonforresult_file. If not set, inspect any.h5/.hdffile:
If multiple result files exist, ask the user which one to use.hmt-cli get_result_variables --args '{"result_file": "<path>"}' - Load the results.
Report: available variable names, number of time steps.hmt-cli read_results --args '{"result_file": "<path>", "timestep": -1}' Ask the user what they want to query. Offer these options:
a) Value at a point — ask for x, y, variable name:
hmt-cli get_value_at_point --args '{"x": <x>, "y": <y>, "variable": "<var>"}'b) Domain-wide statistics — ask for variable name:
hmt-cli get_result_statistics --args '{"variable": "<var>"}'Report: min, max, mean, std, number of cells.
c) Flood extent — ask for depth threshold (default 0.01, in the project's own length unit — m for SI projects, ft for English ones):
hmt-cli get_flood_extent --args '{"depth_threshold": <threshold>}'Report: flooded area in the project's units (the
area_unitsfield says which) plus the converted km² figure, and the percentage of domain flooded.d) Cross-section profile — ask for two (x,y) endpoints and variable:
hmt-cli get_cross_section_profile --args '{"x1": <x1>, "y1": <y1>, "x2": <x2>, "y2": <y2>, "variable": "<var>", "n_points": 50}'Present as a table: Distance (
distance_units) | X | Y | Value.- Offer further queries or suggest
/hmt-exportto create VTK files.
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.

