Individual skill
swmm-network
Network QA of an existing INP (disconnected nodes, missing outfalls, adverse or zero slopes) is one call, network_qa, so call it first. Also builds, validates and routes SWMM pipe-network models from raw municipal shapefiles or structured GIS/CAD exports. Use when handling junctions, conduits, outfalls, xsections, network field-mapping configs, or wiring subcatchments to upstream nodes. Requires real pipe data as SHP / GeoJSON / CSV — native CAD (DXF/DWG) is not parsed and must first be exported to one of these. For data-scarce areas where only a bbox is available and no pipe inventory exists, use `swmm-anywhere` instead.
skills/swmm-network/SKILL.md
Source commit a3bf4f23469cf4252955901176c86b9c94578963
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 32
- Repository last updated
- Oct 28, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agentic-ai Repository topic
- gis Repository topic
- mcp Repository topic
- openclaw Repository topic
- reproducible-research Repository topic
- swmm Repository topic
- codex Repository topic
- agentic-framework Repository topic
- uncertainty-quantification Repository topic
- claude-code Repository topic
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 10,323 bytesSKILL.mdcore · 10,323 bytesexamples/basic-network.jsonasset · 1,555 bytesexamples/city-dual-system/README.mddoc · 685 bytesexamples/city-dual-system/landuse.csvasset · 69 bytesexamples/city-dual-system/mapping.jsonasset · 1,941 bytesexamples/city-dual-system/outfalls.csvasset · 140 bytesexamples/city-dual-system/pipes.csvasset · 494 bytesexamples/city-dual-system/soil.csvasset · 66 bytesexamples/city-dual-system/subcatchments.csvasset · 145 bytesexamples/import-conduits.geojsonasset · 712 bytesexamples/import-junctions.geojsonasset · 465 bytesexamples/import-mapping.jsonasset · 1,305 bytesexamples/import-outfalls.geojsonasset · 267 bytesscripts/_hash_util.pyruns · 826 bytesscripts/assign_subcatchment_outlets.pyruns · 9,841 bytesscripts/city_network_adapter.pyruns · 18,003 bytesscripts/infer_outfall.pyruns · 6,656 bytesscripts/inp_to_network.pyruns · 3,919 bytesscripts/minimal_stub_network.pyruns · 4,422 bytesscripts/network_import.pyruns · 8,489 bytesscripts/network_qa.pyruns · 7,728 bytesscripts/network_to_inp.pyruns · 4,202 bytesscripts/prepare_storm_inputs.pyruns · 5,985 bytesscripts/reorient_pipes.pyruns · 8,294 bytesscripts/schema/network_model.schema.jsonasset · 4,640 bytesscripts/snap_pipe_endpoints.pyruns · 8,012 bytestemplates/README.mddoc · 3,971 bytestemplates/city_mapping_raw_shapefile.template.jsonasset · 1,945 bytes
Read excerpt
# SWMM Network (pipe-system layer)
Part of [Agentic SWMM](https://github.com/Zhonghao1995/agentic-swmm-workflow) — install the project first for the executable toolchain (aiswmm CLI, SWMM solver, MCP servers).
## What this skill provides
- A stable JSON schema for SWMM drainage-network structure.
- Two complementary import paths:
- **Raw municipal shapefile path** (`prepare_storm_inputs` → `infer_outfall` → `reorient_pipes` → `import_city_network` → `qa`) for typical city storm-pipe + manhole layers that arrive as bare LineString shapefiles.
- **Structured asset-DB path** (`import_city_network` directly, or `import_network` for a fully field-mapped GeoJSON/CSV) when the source already contains explicit from/to nodes, inverts, and diameters.
- A subcatchment-to-network wiring step (`assign_subcatchment_outlets`) that ensures surface runoff actually enters the pipe network at a real upstream junction rather than dumping straight to the outfall.
- Topology / hydraulic-attribute QA (`qa`).
- Lightweight introspection (`summary`).
- Export from network JSON to core SWMM INP sections (`export_inp`).