Agent skill

Hmt Convert

by psu-efd in psu-efd/pyHMT2D

Convert between hydraulic model formats. An agent skill from psu-efd/pyHMT2D.

MITAuto-check passed

Install Hmt Convert

skills CLI
$ npx skills add psu-efd/pyHMT2D --skill hmt-convert -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install psu-efd/pyHMT2D hmt-convert --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/psu-efd/pyHMT2D.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/hmt-convert .claude/skills/hmt-convert && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hmt-convert
GitHub stars
133
Token cost
~605 tokens
SKILL.md length
205 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Convert between hydraulic model formats. An agent skill from psu-efd/pyHMT2D.

  • Works in 4 steps: Determine the conversion type from the… → Collect required file paths. → Run the conversion. → …
  • Wants to convert formats
  • SKILL.md covers Usage, Supported conversions and Steps
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Hmt Convert is an agent skill from psu-efd/pyHMT2D. Convert between hydraulic model formats. Supports HEC-RAS 2D to SRH-2D mesh conversion, and SRH-2D results or mesh to VTK. These tools are stateless — no open project is required. Use this when the user wants to convert formats, e.g. "convert RAS to SRH", "export SRH-2D to VTK", or "convert mesh to VTK".

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Python Hydraulic Modeling Tools - 2D. The licence is MIT.

When your agent uses it

  • Wants to convert formats

Example prompts

  • “convert RAS to SRH”
  • “export SRH-2D to VTK”
  • “convert mesh to VTK”
  • “/hmt-convert”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Determine the conversion type from the user's request or arguments.
  2. Collect required file paths.
  3. Run the conversion.
  4. Report output files and suggest next steps

What it can do on your machine

Read from SKILL.md and the folder at commit 57645ff. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hmt Convert loads about 605 tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 205 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~605

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from psu-efd/pyHMT2D at commit 57645ff, republished under its MIT licence (© psu-efd). 205 words, ~605 tokens.

Download SKILL.mdSave it as .claude/skills/hmt-convert/SKILL.md (or your agent's skills folder).
name
hmt-convert
description
Convert between hydraulic model formats. Supports HEC-RAS 2D to SRH-2D mesh conversion, and SRH-2D results or mesh to VTK. These tools are stateless — no open project is required. Use this when the user wants to convert formats, e.g. "convert RAS to SRH", "export SRH-2D to VTK", or "convert mesh to VTK".

Convert between hydraulic model formats using stateless conversion tools. No open project or session is required.

Usage

/hmt-convert [description of what to convert]

Supported conversions

ConversionTool
HEC-RAS 2D mesh + Manning's n → SRH-2D (.srhgeom, .srhmat)ras_to_srh
SRH-2D HDF results → VTKsrh_to_vtk
SRH-2D mesh only → VTKsrh_to_vtk with mesh_only: true

Steps

  1. Determine the conversion type from the user's request or arguments. If unclear, ask:

    • "Do you want to convert HEC-RAS to SRH-2D, or export SRH-2D results/mesh to VTK?"
  2. Collect required file paths. If the user did not provide them, scan the current directory for relevant files:

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

    For ras_to_srh: need .hdf result file, terrain .tif, and desired output case name. For srh_to_vtk: need .srhhydro file and either the HDF result file or output VTK filename.

  3. Run the conversion.

    HEC-RAS → SRH-2D:

    bash
    hmt-cli ras_to_srh --args '{"ras_hdf_file": "<path>", "terrain_tif_file": "<path>", "srh_case_name": "<name>"}'

    Report the generated .srhgeom and .srhmat files. Remind the user that a .srhhydro boundary-condition file must be created separately.

    SRH-2D results → VTK (last time step):

    bash
    hmt-cli srh_to_vtk --args '{"srhhydro_file": "<path>", "output_file": "<result.h5>"}'

    SRH-2D results → VTK (all time steps):

    bash
    hmt-cli srh_to_vtk --args '{"srhhydro_file": "<path>", "output_file": "<result.h5>", "all_timesteps": true}'

    SRH-2D mesh only → VTK:

    bash
    hmt-cli srh_to_vtk --args '{"srhhydro_file": "<path>", "output_file": "<mesh.vtk>", "mesh_only": true}'
  4. Report output files and suggest next steps:

    • For HEC-RAS → SRH-2D: "Create a .srhhydro file to complete the SRH-2D case, then run /hmt-open to open it."
    • For VTK output: "Open the VTK file(s) in ParaView to visualize the results."

© psu-efd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/hmt-convert of psu-efd/pyHMT2D.

Open the folder on GitHubat commit 57645ff

Compare with similar skills

Hmt Convert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hmt Convert compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hmt Convert this skillpsu-efd/pyHMT2D133—~605Automated safety check: PassMIT
Convertremotion-dev/remotion62k—~247Automated safety check: PassCustom licence
File Format Converterjeremylongshore/tons-of-skills-marketplace2.8k—~569Automated safety check: PassMIT
Tao Convert Dataset FormatNVIDIA/skills3.5k—~1.3kAutomated safety check: NotesApache-2.0
Latex Manuscript Format Converteraipoch/medical-research-skills2k—~2.9kAutomated safety check: PassMIT
Format ConverterAFK-surf/OpenBridge430—~549Automated safety check: PassMIT

Similar skills

  • Convert

    remotion-dev/remotion

    Official

    Start the local @remotion/convert app and open it in the Codex browser.

    62k GitHub stars~247 tokensUpdated today
    Media & CreativeAuto-check passed
  • File Format Converter

    jeremylongshore/tons-of-skills-marketplace

    Convert file format converter operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~569 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Official

    Run tao-daft convert to convert NVIDIA TAO DAFT datasets between supported formats.

    3.5k GitHub stars~1.3k tokensUpdated today
    Auto-check: notes
  • Latex Manuscript Format Converter

    aipoch/medical-research-skills

    Converts existing manuscript content into LaTeX format aligned with a target journal, conference, or template while preserving manuscript meaning and structural integrity.

    2k GitHub stars~2.9k tokensUpdated 21 days ago
    Documents & OfficeAuto-check passed
  • Format Converter

    AFK-surf/OpenBridge

    Convert files between formats. An agent skill from AFK-surf/OpenBridge.

    430 GitHub stars~549 tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Chat Format

    ruvnet/ruflo

    Format prompts for different LLM providers with chat templates and HNSW-powered context retrieval

    74k GitHub starsUsed in 1 repo~362 tokens
    DatabasesAuto-check: notes

More from psu-efd/pyHMT2D

All 9 skills in this repo
  • Hmt Calibrate

    psu-efd/pyHMT2D

    Run automated Manning's n calibration against observed water surface elevations using Bayesian optimization or Nelder-Mead.

    133 GitHub stars~597 tokensUpdated 1 mo ago
    Auto-check passed
  • Hmt Modify

    psu-efd/pyHMT2D

    Modify Manning's n roughness coefficients, inlet flow rates, or exit water surface elevations for the currently open pyHMT2D project and save the changes.

    133 GitHub stars~470 tokensUpdated 1 mo ago
    Auto-check passed
  • Hmt Monte Carlo

    psu-efd/pyHMT2D

    Run Monte Carlo uncertainty analysis on a hydraulic model by sampling parameters from statistical distributions and computing exceedance probabilities.

    133 GitHub stars~672 tokensUpdated 1 mo ago
    Auto-check passed
  • Hmt Open

    psu-efd/pyHMT2D

    Open a pyHMT2D hydraulic model project (SRH-2D or HEC-RAS) and display its materials, boundary conditions, and available result variables.

    133 GitHub stars~593 tokensUpdated 1 mo ago
    Auto-check passed
  • Hmt Results

    psu-efd/pyHMT2D

    Load simulation results and query values at specific points, domain-wide statistics, flood extent, or cross-section profiles.

    133 GitHub stars~478 tokensUpdated 1 mo ago
    Auto-check passed
  • Hmt Export

    psu-efd/pyHMT2D

    Export simulation results and/or the computational mesh to VTK files for ParaView visualization.

    133 GitHub stars~272 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Hmt Convert

What does Hmt Convert do?

Convert between hydraulic model formats. An agent skill from psu-efd/pyHMT2D. Hmt Convert is an agent skill from psu-efd/pyHMT2D. Convert between hydraulic model formats.

When should I use Hmt Convert?

Hmt Convert fits situations like: wants to convert formats.

How do I install Hmt Convert in Claude Code?

Run `npx skills add psu-efd/pyHMT2D --skill hmt-convert -a claude-code`. Or copy the skill folder (.agents/skills/hmt-convert in psu-efd/pyHMT2D) into .claude/skills/hmt-convert in your project. Claude Code loads it when a task matches its description.

How do I install Hmt Convert in Codex?

Run `npx skills add psu-efd/pyHMT2D --skill hmt-convert -a codex`. Or copy the skill folder (.agents/skills/hmt-convert in psu-efd/pyHMT2D) into .agents/skills/hmt-convert in your project. Codex loads it when a task matches its description.

Can I use Hmt Convert in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add psu-efd/pyHMT2D --skill hmt-convert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hmt-convert, .gemini/skills/hmt-convert, .github/skills/hmt-convert and .opencode/skills/hmt-convert in your project.

What does Hmt Convert need to run?

SKILL.md names no scripts, command-line tools or credentials: Hmt Convert is instructions for the agent only.

Does Hmt Convert access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hmt Convert safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hmt Convert use?

Hmt Convert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hmt Convert use?

About 605 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hmt Convert?

Skills that share tags, products or a category with Hmt Convert: Convert (remotion-dev/remotion, 62k stars), File Format Converter (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Tao Convert Dataset Format (NVIDIA/skills, 3.5k stars) and Latex Manuscript Format Converter (aipoch/medical-research-skills, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hmt Convert?

psu-efd (a GitHub user) maintains it in psu-efd/pyHMT2D, which has 133 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 9, 2026.

Source: psu-efd/pyHMT2D on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.