swmm-plot

swmm-plot is a skill for Claude Code, Codex from Zhonghao1995/agentic-swmm-workflow. It costs 0 tokens per session (3,217 once invoked), scanned A, original, MIT.

A plotting guide for SWMM, a program that simulates rainwater moving through drainage networks. It defines publication-ready figures for rainfall, water flow, network layouts, and study areas.

In plain words
What is it for?
Use it to create rainfall and flow charts, drainage-network maps, and study-area maps from a SWMM run, as PDF and high-resolution PNG files.
Why use it?
It keeps figures consistent and suitable for scientific publication without making each plot from scratch. It also requires key choices, such as which network entity or day to show, before plotting.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/zhonghao1995/agentic-swmm-workflow/swmm-plot
Any agent
npx skills add Zhonghao1995/agentic-swmm-workflow --skill swmm-plot
Clone the repo
git clone --depth 1 https://github.com/Zhonghao1995/agentic-swmm-workflow

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 swmm-plot

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-plot.svg)](https://agentmods.dev/skills/zhonghao1995/agentic-swmm-workflow/swmm-plot)
Your own site
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-swmm-workflow/swmm-plot"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-plot.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,217 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.03217
Opus 5 $0.00000 $0.01608
Sonnet 5 $0.00000 $0.00643
Haiku 4.5 $0.00000 $0.00322

Measured 5d ago against content hash 877227556e42, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

swmm-plot 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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/plot_network_layout.py, scripts/plot_rain_runoff_si.py, scripts/plot_study_area.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/swmm-plot/SKILL.md · 168 lines

How it starts

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

SWMM Plot (Nature figure specification)

Part of Agentic SWMM: install the project first for the executable toolchain (aiswmm CLI, SWMM solver, MCP servers).

Every figure this skill renders follows the Nature journal figure specification, the project's standing figure standard. Source: https://research-figure-guide.nature.com/figures/preparing-figures-our-specifications/. The spec lives in exactly three places here, and the scripts hand-set nothing:

File Holds
assets/nature.mplstyle the stylesheet (fonts, line weights, ticks, palette, TrueType text, constrained layout)
scripts/plot_style.py apply_style(), figsize(), map_figsize(), save_figure(), legend_outside(), the WONG palette
this file the rules a figure must satisfy, and the tool contracts

Scope note: these are print-publication rules for the data figures of a run. They are not meant for the HTML report chrome or the CLI itself.

Before calling plot: ask the user

When the user asks to plot, always ask these questions first before calling any plot tool:

  1. Which entity? A specific node (junction / outfall), by name, or a specific link (conduit), by name?
    • List 3-5 high-peak-flow candidates from the run's RPT Link Flow Summary so the user can pick.
  2. Which attribute? Node options: Total_inflow, Depth_above_invert, Volume_stored_ponded, Flow_lost_flooding. Link options: Flow_rate, Velocity, Depth.
  3. Time window? Default is the full simulation (24h). Offer to limit to a focus day or HH:MM-HH:MM window if peaks occur in a short period.

Do not silently pick defaults. The user needs control: different plots answer different questions (peak inspection vs continuity vs flooding).

What this skill renders

Figure Script Reached via Default output
Rainfall (top, inverted) + node/link flow (bottom) hydrograph scripts/plot_rain_runoff_si.py plot_run tool, aiswmm plot, MCP plot_rain_runoff_si 08_plot/fig_<node>_<attr>.png + .pdf
Network layout map (subcatchments, conduits, junctions, storage, outfalls; sub-networks coloured per outfall) scripts/plot_network_layout.py map_run tool, aiswmm map 08_plot/network_map.png + .pdf
Study-area map (DEM hillshade, subcatchments, conduits, outfalls, scale bar, north arrow, cartouche) scripts/plot_study_area.py SWMMCanada fetch (aiswmm canada), or the script directly 00_raw/study_area.png + .pdf

Read the full file on GitHub · 168 lines

Files

What ships with it

5 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.

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. 5d ago First seen · 168 lines · 0 tokens per session scan A 877227556e42

Subscribe to this mod's changes

swmm-plot is a skill published in the GitHub repository Zhonghao1995/agentic-swmm-workflow (25 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,217 tokens. 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.

Related

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).

InternLM/WildClawBench · 75 tokens

academic-literature-search

这是一个专注于学术文献检索的专业工具,集成了多个权威学术数据库,提供全面、快速、准确的文献检索服务。支持多数据库并发检索、高级过滤、智能排序和多种输出格式。.

InternLM/WildClawBench · 0 tokens

flux-analyzer

Analyse FBA flux distributions to extract biological insights. Covers gene essentiality, phenotypic phase planes, flux sampling, pathway-level aggregation, secretion product prediction, and production of publication- quality figures.

aiming-lab/AutoResearchClaw · 44 tokens

cuopt-numerical-optimization-formulation

LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.

NVIDIA/skills · 42 tokens

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.

NVIDIA/skills · 53 tokens

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.

NVIDIA/skills · 36 tokens