ras-model

ras-model is a skill for Claude Code, Codex from Zhonghao1995/Agentic-HEC-RAS. It costs 142 tokens per session (949 once invoked), scanned A, original, MIT.

A tool for inspecting and editing HEC-RAS flood-modelling projects without opening the HEC-RAS graphical program. HEC-RAS is engineering software used to model rivers, flooding, and water flow.

In plain words
What is it for?
Use it to inspect plans, geometries, flow files, and boundary conditions; copy projects; change simulation settings; and replace or scale hydrograph values.
Why use it?
It makes project changes and reviews repeatable from files or scripts, while supporting safe copies before edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect plans, geometries, flow files, and boundary conditions; copy projects; change simulation settings; and replace or scale hydrograph values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhonghao1995/agentic-hec-ras/ras-model
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.

Any agent
npx skills add Zhonghao1995/Agentic-HEC-RAS --skill ras-model
Clone the repo
git clone --depth 1 https://github.com/Zhonghao1995/Agentic-HEC-RAS

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 ras-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhonghao1995/agentic-hec-ras/ras-model.svg)](https://agentmods.dev/skills/zhonghao1995/agentic-hec-ras/ras-model)
Your own site
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-hec-ras/ras-model"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-hec-ras/ras-model.svg" alt="Measured on agentmods" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 949 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.
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.00142 $0.00949
Opus 5 $0.00071 $0.00475
Sonnet 5 $0.00028 $0.00190
Haiku 4.5 $0.00014 $0.00095

Measured 7d ago against content hash c2d14059d9bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ras-model 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 7d 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.

skills/ras-model/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ras-model: inspect + edit (no GUI, no HEC-RAS needed)

Tools

Tool Does Needs
ras_project_info project overview: plans (title, short id, g##, u##/f##, sim window, intervals, cores, results HDF present?), geometries, flow files + boundaries, current plan, detected Ras.exe; plan -> that plan's boundaries in detail (boundary_index, river/reach/rs or area/bc_line, kind, interval, n, peak; include_values for the series) .prj
ras_project_copy copy the whole project folder to dest (results/logs excluded unless include_results) folder
ras_plan_set edit one .p##: simulation_start / simulation_end, computation_interval, output_interval, mapping_interval, num_cores, short_id, title, description, geom, flow a copy
ras_flow_set_hydrograph edit ONE boundary table in a .u##: values (replace, any length), multiplier (scale existing values), qmult (HEC-RAS QMult multiplier, values untouched), interval; select by boundary_index or river/reach/rs or area/bc_line a copy

Procedure

  1. ras_project_info(project) -> pick the plan; note flow_kind (only unsteady plans have an editable .u##).
  2. ras_project_copy(project, dest=runs/<case>/00_<name>) for EVERY variant (baseline too).
  3. ras_project_info(project=<copy>, plan=..) -> read plan_detail.boundaries; use its index.
  4. Edit the copy:
    • inflow +20 %: ras_flow_set_hydrograph(project=<copy>, plan="03", boundary_index=0, multiplier=1.2)
    • new event: ras_flow_set_hydrograph(..., values=[...], interval="15MIN") (values in the project's units)
    • shorter time step / window / cores: ras_plan_set(project=<copy>, plan="03", computation_interval="5SEC", num_cores=4)
  5. Re-run ras_project_info(plan=..) and quote the before/after from the tool return in the report.

Rules

  • Never edit the original folder; every edit tool rewrites files in place.
  • One boundary per ras_flow_set_hydrograph call; the tool refuses ambiguous selectors — add river/reach/rs.
  • multiplier and values are mutually exclusive; qmult leaves the table alone (HEC-RAS scales at run time) — prefer multiplier when the edited file must show the actual numbers.
  • Precipitation: only a Precipitation Hydrograph TABLE in the .u## is editable; gridded (DSS) precipitation is not.
  • Steady-flow files (.f##), geometry (.g##), terrain, land cover, 2D mesh, structures: not editable here (GUI / RAS Mapper).
  • Intervals must be HEC-RAS strings (1SEC ... 1DAY); dates 02JAN1900 0000 or ISO 1900-01-02T00:00.
  • Units follow the project (US customary: cfs / ft; SI: m3/s / m) — check ras_results_summary.units_system on any HDF or the plan HDF root.

Read the full file on GitHub · 39 lines

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. 7d ago First seen · 39 lines · 142 tokens per session scan A c2d14059d9bb

Subscribe to this mod's changes

ras-model is a skill published in the GitHub repository Zhonghao1995/Agentic-HEC-RAS (1 stars, last pushed 21d ago), licensed MIT. It adds 142 tokens to every session and 949 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

mike-end-to-end

Standard operating procedure for an auditable, headless MIKE+ workflow via the mike-plus MCP server — how to plan, copy, run, QA-gate, compare, plot, audit, and safely stop. Use FIRST whenever an agent is handed a MIKE+ model (.sqlite) or result (.res1d) plus a plain-language goal; it picks the operating mode and…

Zhonghao1995/Agentic-MIKE-Plus · 98 tokens

mike-plot

Produce publication-style figures from MIKE+ .res1d results via the mike-plus MCP server — a stacked rainfall-runoff hydrograph, a single time series, a network map, a baseline-vs-scenario overlay, or a longitudinal profile (bed / crown / ground / max water level along a pipe string), in the house style (Arial 12…

Zhonghao1995/Agentic-MIKE-Plus · 109 tokens

mike-compare

Compare two MIKE+ runs via the mike-plus MCP server — baseline vs scenario, before vs after a parameter edit — to say WHERE a change mattered and BY HOW MUCH (delta peak, delta volume, timing shift, RMSE/NSE) and to draw the overlay hydrograph. Use whenever two .res1d files of the same model exist or a re-run just…

Zhonghao1995/Agentic-MIKE-Plus · 93 tokens

mike-import

Bring an EPA SWMM (.inp) or EPANET (.inp) model into MIKE+ via the mike-plus MCP server — the bridge from an INP builder such as SWMMCanada or agentic-swmm into a MIKE+ database that mikemodelinfo / mikerun can use. Use when the user has an .inp and wants it in MIKE+. Requires MIKE+ installed + a checked-out license…

Zhonghao1995/Agentic-MIKE-Plus · 97 tokens

mike-rain

Turn a timestamped rainfall CSV (design storm, gauge record, climate-scenario series) into a MIKE+ rainfall .dfs0 via the mike-plus MCP server, verified by read-back, ready to drive a model's rainfall boundary or to sit on top of a hydrograph figure. Use when the user brings rain as CSV or asks to run a model with a…

Zhonghao1995/Agentic-MIKE-Plus · 98 tokens

mike-results

Read MIKE+ .res1d results via the mike-plus MCP server — list contents, summarize peaks, extract a single time series, or check which nodes flood (peak water level vs ground level). Use when an agent needs to inspect or pull numbers from MIKE+ network results (node water levels, link/reach discharge, velocities…

Zhonghao1995/Agentic-MIKE-Plus · 84 tokens