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.
npx skills add Zhonghao1995/Agentic-HEC-RAS --skill ras-runnergit clone --depth 1 https://github.com/Zhonghao1995/Agentic-HEC-RASWrote 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.
[](https://agentmods.dev/skills/zhonghao1995/agentic-hec-ras/ras-runner)<a href="https://agentmods.dev/skills/zhonghao1995/agentic-hec-ras/ras-runner"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-hec-ras/ras-runner/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-hec-ras/ras-runner"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-hec-ras/ras-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.00955 |
| Opus 5.5 | $0.00051 | $0.00382 |
| Sonnet 5.5 | $0.00026 | $0.00191 |
| Haiku 4.5 | $0.00013 | $0.00096 |
Grade A, and why
ras-runner 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ras-runner: headless run + QA gate
Tool
ras_run(project, plan, run_dir?, num_cores?, overwrite?, clear_geompre?, timeout_s?, accept_tcu?, ras_exe?)
- runs
Ras.exe -c <project.prj> <project.p##>(geometry preprocessing + unsteady/steady compute + post-processing), blocking run_dirgiven -> the project is copied there first and run inside it (safe); omitted -> runs in place (only on a copy!)- a watchdog thread handles HEC-RAS's Terms and Conditions for Use (TCU) form (
accept_tcu, default true: pages through it and presses "I agree" / OK; false: terminates the run and reportsfailed) and kills the run aftertimeout_s(default 14400 s); what it did is listed inwatchdog_events - returns
status,usable,reasons,metrics{max_wsel_error, volume_error_pct, n_error_lines, n_warning_lines},hdf(the.p##.hdf),runtime(unsteady speed hr/hr, complete process hr),elapsed_s,log_file,log_tail,watchdog_events,ras_exe/ras_version
Procedure
- Copy (
ras_project_copy) and edit first (ras-model). ras_run(project=<copy>, plan="03", num_cores=4).- Gate: usable =
statusin{completed, completed_with_warnings}ANDhdfnon-null.completed_with_warnings: usable, but quotereasons(max WSEL error > 0.05, |volume error| > 1 %, WARNING lines).unstable/failed/no_results/unknown: NOT usable — reportreasons+log_tail, do not read results, stop the branch.
- Hand
hdftoras-results; keep the wholeras_runreturn forras_manifest_write(run=...).
Rules
- HEC-RAS is auto-detected (
HECRAS_EXEenv var,<repo>/.local/HEC-RAS/<ver>/Ras.exe,C:/Program Files (x86)/HEC/HEC-RAS/<ver>/Ras.exe, newest first). Ifras_runreturnsok:falsementioningHECRAS_EXE, HEC-RAS is not installed: stop and say so (results of earlier runs can still be read). - Runs block until HEC-RAS exits; a 2D run can take minutes to hours. Do not run the same copy twice concurrently; run baseline and variant sequentially or in separate copies.
- Runtime scales with cores only up to ~4-8;
num_coresoverrides the plan's setting for this run. - After geometry edits (not supported by these tools) pass
clear_geompre=true; otherwise leave it. - HEC-RAS 7.0.1 can show its "Terms and Conditions for Use" form even on headless launches (seen on some, not all, runs). The built-in watchdog accepts it (~15 s overhead) unless
accept_tcu=false; if a run still returnsfailedwith a TCU reason, ask the user to open HEC-RAS once and accept. - Set
timeout_sto something realistic for big 2D models; a timed-out run is killed and returnsstatus=failedwith the reason. - Linux compute engines exist (
RasUnsteady,.local/HEC-RAS/7.0.1/Linux) but need Windows-side preprocessing first; not wired intoras_runin v0.1.
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.
- 3mo ago First seen · 40 lines · 128 tokens per session scan A 1ef3cbb3c343
ras-runner is a skill published in the GitHub repository Zhonghao1995/Agentic-HEC-RAS (3 stars, last pushed 3mo ago), licensed MIT. It adds 128 tokens to every session and 955 once invoked, about $0.0005 per session on Opus 5.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.
ras-runner compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ras-runnerZhonghao1995/Agentic-HEC-RAS | Skill | 3 | 3mo ago | MIT | A | 128 | Claude Code, Codex |
| mike-end-to-endZhonghao1995/Agentic-MIKE-Plus | Skill | 8 | 3mo ago | MIT | A | 98 | Claude Code, Codex |
| mike-plotZhonghao1995/Agentic-MIKE-Plus | Skill | 8 | 3mo ago | MIT | A | 109 | Claude Code, Codex |
| mike-compareZhonghao1995/Agentic-MIKE-Plus | Skill | 8 | 3mo ago | MIT | A | 93 | Claude Code, Codex |
| mike-importZhonghao1995/Agentic-MIKE-Plus | Skill | 8 | 3mo ago | MIT | A | 97 | Claude Code, Codex |
| mike-paramsZhonghao1995/Agentic-MIKE-Plus | Skill | 8 | 3mo ago | MIT | A | 86 | Claude Code, Codex |
| mike-rainZhonghao1995/Agentic-MIKE-Plus | Skill | 8 | 3mo ago | MIT | A | 98 | Claude Code, Codex |