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-swmm-workflow --skill swmm-runnergit clone --depth 1 https://github.com/Zhonghao1995/agentic-swmm-workflowWrote 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-swmm-workflow/swmm-runner)<a href="https://agentmods.dev/skills/zhonghao1995/agentic-swmm-workflow/swmm-runner"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-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-swmm-workflow/swmm-runner"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00114 | $0.01101 |
| Opus 5.5 | $0.00046 | $0.00440 |
| Sonnet 5.5 | $0.00023 | $0.00220 |
| Haiku 4.5 | $0.00011 | $0.00110 |
Grade A, and why
swmm-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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SWMM Runner (CLI-first)
Part of Agentic SWMM — install the project first for the executable toolchain (aiswmm CLI, SWMM solver, MCP servers).
What this skill provides
- Deterministic execution wrapper around the
swmm5binary. - A standard run directory layout:
inp/,rpt/,out/,stdout,stderr,manifest.json. - Metric extraction read directly from SWMM's own
.rpt:- peak flow + time-of-peak for any junction or outfall;
- Runoff Quantity and Flow Routing continuity tables + continuity error %;
- cross-run comparison (e.g. GUI vs CLI) on continuity error.
When to use this skill
Use after a SWMM model is fully assembled (typically by swmm-builder.build_inp) and you need to actually execute it and read back the metrics. Also use to compare two .rpt files for regression / GUI parity.
Do not use this skill to assemble the .inp itself (that's swmm-builder) or to plot the results (that's swmm-plot).
MCP tools
mcp/swmm-runner/server.js exposes four tools.
-
swmm_run— runswmm5against an .inp and write rpt + out + stdout + stderr + manifest.json into a run directory.- Args:
inp(path),runDir(path),node(optional),rptName(optional),outName(optional). - When
nodeis omitted, the server auto-detects the first entry from the .inp[OUTFALLS]section so the manifest's peak metric targets a real outfall name (no more silent "O1" default). - Output: a manifest with inp_sha256, swmm5 version, file paths,
metrics.peak,metrics.continuity.
- Args:
-
swmm_peak— parse peak flow and time-of-peak for a specific node from a SWMM .rpt. Thenodeargument is required (no default; the previous misleading "O1" default has been removed).- Args:
rpt(path),node(required). - Falls back from "Node Inflow Summary" to "Outfall Loading Summary" when no timed inflow entry exists for the node.
- Args:
-
swmm_continuity— parse the Runoff Quantity and Flow Routing continuity tables from a SWMM .rpt.- Args:
rpt(path). - Returns a structured dict with
Continuity Error (%)for both blocks plus all the volume rows (precipitation, evaporation, infiltration, runoff, etc.).
- Args:
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 66 lines · 114 tokens per session scan A 98e4496142c6
swmm-runner is a skill published in the GitHub repository Zhonghao1995/agentic-swmm-workflow (37 stars, last pushed 1mo ago), licensed MIT. It adds 114 tokens to every session and 1,101 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-30.
swmm-runner compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swmm-runnerZhonghao1995/agentic-swmm-workflow | Skill | 37 | 1mo ago | MIT | A | 114 | Claude Code, Codex |
| arxiv-summarizer-orchestratorInternLM/WildClawBench | Skill | 536 | 13d ago | MIT | A | 75 | Codex |
| academic-literature-searchInternLM/WildClawBench | Skill | 536 | 13d ago | MIT | A | 0 | Claude Code, Codex |
| cuopt-numerical-optimization-formulationNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 42 | Claude Code, Codex |
| cuequivariance-torchNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 37 | Claude Code, Codex |
| tao-validate-recipe-transferNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 179 | Claude Code |
| nemo-mbridge-perf-expert-parallel-overlapNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 56 | Claude Code |