Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Zhonghao1995/agentic-swmm-workflownpx agentmods add skills/zhonghao1995/agentic-swmm-workflow/swmm-uncertaintyWrote 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-uncertainty)<a href="https://agentmods.dev/skills/zhonghao1995/agentic-swmm-workflow/swmm-uncertainty"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-uncertainty/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-uncertainty"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-uncertainty.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.00182 | $0.05257 |
| Opus 5 | $0.00091 | $0.02629 |
| Sonnet 5 | $0.00036 | $0.01051 |
| Haiku 4.5 | $0.00018 | $0.00526 |
Grade A, and why
swmm-uncertainty 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 5d 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 — 398 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SWMM Uncertainty
Part of Agentic SWMM — install the project first for the executable toolchain (aiswmm CLI, SWMM solver, MCP servers).
Agent path without observed data
The honest split (live findings F-107 and F-109, 2026-09-03): WITH observed
flow, swmm_sensitivity_oat / swmm_sensitivity_morris / swmm_sensitivity_sobol
rank parameters against the data (they need an observed series and a patch
map). WITHOUT observed flow, propagate_parameter_ranges is the tool for both
questions: mode=one_at_a_time varies each parameter alone in one call and
returns a per-parameter spread and a ranking ("which parameters matter most");
the default joint mode samples all ranges together and reports the spread
("how uncertain is the peak"). Never emulate a ranking with one sweep per
parameter. Rainfall: a request to scale the observed event by factors (0.8,
1.0, 1.2) on a model with inline rain is run_climate_scenarios with those
factors (live finding F-112, 2026-09-03); swmm_rainfall_ensemble needs a
prepared rainfall series file and a JSON config (perturbation or IDF).
propagate_parameter_ranges is the typed tool for "how uncertain is the peak if
Manning's n and imperviousness vary". It applies each named parameter globally
(the same value on every subcatchment or conduit), runs SWMM once per sample
through the audited runner, and writes 09_audit/parameter_sweep.json and
.md with the baseline peak, the min/median/max over the samples, the spread
as a percent of the baseline and the dominant parameter. Ranges are a mapping
such as {"n_imperv": [0.010, 0.020], "pct_imperv": [60, 80]}; aliases
manning_n, imperviousness, conduit_roughness, n_perv, s_imperv,
s_perv, width, slope. It is prior sensitivity, not calibrated
uncertainty; the per-object fuzzy and Monte Carlo workflows below remain the
research path.
What this skill provides
- User-defined fuzzy membership functions for SWMM parameters.
- Baseline-aware triangular fuzzy numbers, where the current model value is the default triangle peak.
- Alpha-cut transformation from fuzzy membership functions to parameter intervals.
- LHS, random, or boundary sampling inside each alpha-cut interval.
- Monte Carlo parameter sampling for prior or calibration-informed probability distributions.
- Normal/lognormal/truncated-normal/uniform sampling with simple physical constraints such as bound parameters and greater-than rules.
- Batch propagation through SWMM by reusing the existing calibration patch-map convention.
- Normalized Shannon entropy metrics for output ensembles, such as hydrograph entropy over time.
- Machine-readable uncertainty summaries for output envelopes, entropy records, and failed/invalid samples.
- Sensitivity-analysis screening with three sub-methods (OAT / Morris / Sobol') sharing one entry point (
scripts/sensitivity.py). - Rainfall-forcing ensembles: time-series perturbation of an observed rainfall record (gaussian, multiplicative, AR(1), intensity_scaling) or IDF-curve sampling of design storms (Chicago / Huff / SCS Type II), with optional per-realisation SWMM runs and ensemble envelope aggregation.
What ships with it
13 files 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.
- examples/fuzzy_space.json 746 B
- examples/rainfall_idf_config.json 369 B
- examples/rainfall_perturbation_config.json 249 B
- examples/uncertainty_config.json 307 B
- scripts/fuzzy_membership.py 12 KB runs code
- scripts/parameter_recommender.py 12 KB runs code
- scripts/rainfall_ensemble.py 38 KB runs code
- scripts/sampling.py 6.0 KB runs code
- scripts/sensitivity.py 19 KB runs code
- scripts/source_decomposition.py 30 KB runs code
- scripts/uncertainty_propagate.py 11 KB runs code
- tests/test_fuzzy_membership.py 2.3 KB runs code
- tests/test_sampling.py 1.6 KB runs code
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.
- 5d ago Changed · +3 lines fc1cf2ab8b84
- 6d ago Changed · +24 lines · +31 tokens per session d0f179df4c14
- 11d ago First seen · 371 lines · 151 tokens per session scan A c6e896c45151
swmm-uncertainty is a skill published in the GitHub repository Zhonghao1995/agentic-swmm-workflow (27 stars, last pushed 4d ago), licensed MIT. It adds 182 tokens to every session and 5,257 once invoked, about $0.0009 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-30.
Other skills, from other repositories
arxiv-summarizer-orchestrator
End-to-end orchestration skill for periodic arXiv collection and reporting using three sub-skills: arxiv-search-collector, arxiv-paper-processor, and arxiv-batch-reporter. Supports manual language control across all markdown outputs and Stage-B processing strategy (subagentparallel default max 5, or serial).
academic-literature-search
A multi-database search tool for academic papers and other scholarly publications. It searches sources such as Semantic Scholar, Crossref, arXiv, and PubMed, which cover research across fields including computing, physics, and medicine.
cuopt-numerical-optimization-formulation
LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.
nemo-mbridge-perf-expert-parallel-overlap
Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.
earth2studio-create-datasource
Create and validate Earth2Studio data source wrappers (DataSource, ForecastSource, DataFrameSource, ForecastFrameSource) from remote stores. Do NOT use for fetching data with existing sources, model inference, or installation tasks.
earth2studio-data-fetch
Fetch weather/climate data via Earth2Studio data sources for specific variables and times. Do NOT use for inference pipelines, model discovery, or installation.