swmm-modeling-memory

swmm-modeling-memory is a skill for Claude Code, Codex from Zhonghao1995/agentic-swmm-workflow. It costs 79 tokens per session (1,357 once invoked), scanned A, original, MIT.

A memory layer for audited Agentic SWMM runs, where SWMM means a tool for modelling how rainwater moves through drains and other systems. It summarizes repeated assumptions, quality issues, failures, missing evidence, and differences between runs.

In plain words
What is it for?
Use it after several SWMM runs have been audited to create run summaries, compare recurring problems, record lessons, and prepare controlled updates to modelling skills.
Why use it?
It makes lessons from earlier checked runs easier to reuse and keeps different projects or cases separate. Proposed skill changes still require human review and benchmark checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after several SWMM runs have been audited to create run summaries, compare recurring problems, record lessons, and prepare controlled updates to modelling skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhonghao1995/agentic-swmm-workflow/swmm-modeling-memory
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.

Any agent
npx skills add Zhonghao1995/agentic-swmm-workflow --skill swmm-modeling-memory
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-modeling-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-modeling-memory/github.svg)](https://agentmods.dev/skills/zhonghao1995/agentic-swmm-workflow/swmm-modeling-memory)
Your own site
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-swmm-workflow/swmm-modeling-memory"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-modeling-memory/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.

agentmods 80×15 button for swmm-modeling-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhonghao1995/agentic-swmm-workflow/swmm-modeling-memory"><img src="https://agentmods.dev/badge/skills/zhonghao1995/agentic-swmm-workflow/swmm-modeling-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,357 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00079 $0.01357
Opus 5 $0.00039 $0.00678
Sonnet 5 $0.00016 $0.00271
Haiku 4.5 $0.00008 $0.00136

Measured 10d ago against content hash 5f1ad237962f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

swmm-modeling-memory 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/summarize_memory.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-modeling-memory/SKILL.md · 135 lines

How it starts

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

SWMM Modeling Memory

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

What this skill provides

  • A downstream memory layer for audited Agentic SWMM runs.
  • Deterministic summaries of repeated assumptions, QA issues, failures, missing evidence, and run-to-run differences.
  • Run-level memory_summary.json cards that compress audit artifacts into reusable next-run context.
  • Project/case-level memory groups that keep Tod Creek, Tecnopolo, TUFLOW, Generate_SWMM_inp, acceptance, and other cases separate.
  • Summaries of deterministic SWMM-specific diagnostics when model_diagnostics.json is present.
  • Human-readable lessons learned from previous audit records.
  • Controlled skill update proposals that require human review and benchmark verification.

This skill does not run SWMM, build SWMM models, modify existing skills, or claim autonomous self-improvement.

Agentic SWMM is not only an automation workflow. It is a memory-informed, verification-first modeling system that can learn from audited modeling history through controlled skill refinement.

When to use this skill

Use this skill after swmm-experiment-audit has produced run-level artifacts such as:

  • experiment_provenance.json
  • comparison.json
  • experiment_note.md
  • model_diagnostics.json when available

Use it when:

  • multiple audited runs exist,
  • the user wants lessons learned across runs,
  • the user asks for recurring failure patterns or QA issues,
  • the user wants evidence-informed skill refinement proposals.

The proposals may point to relevant workflow skills such as end-to-end orchestration, audit reporting, QA verification, model building, or result parsing. They are not accepted changes.

Output contract

The script writes these files to the selected modeling-memory output directory:

  • modeling_memory_index.json
  • modeling_memory_index.md
  • run_memory_summaries.json
  • project_memory_index.md
  • projects/<project-key>/project_memory.json
  • projects/<project-key>/project_memory.md
  • lessons_learned.md
  • skill_update_proposals.md
  • benchmark_verification_plan.md

Read the full file on GitHub · 135 lines

Files

What ships with it

2 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. 10d ago First seen · 135 lines · 79 tokens per session scan A 5f1ad237962f

Subscribe to this mod's changes

swmm-modeling-memory is a skill published in the GitHub repository Zhonghao1995/agentic-swmm-workflow (27 stars, last pushed 3d ago), licensed MIT. It adds 79 tokens to every session and 1,357 once invoked, about $0.0004 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.

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

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.

InternLM/WildClawBench · 0 tokens

add-compact

Add /compact command for manual context compaction. Solves context rot in long sessions by forwarding the SDK's built-in /compact slash command. Main-group or trusted sender only.

sbusso/claudeclaw · 40 tokens

add-qmd

Add QMD (Query Markup Documents) as an advanced memory search backend. Upgrades the built-in grep-based memorysearch with hybrid BM25 + vector semantic search + LLM re-ranking. Fully local, no API keys needed. Triggers on "add qmd", "qmd memory", "semantic memory search", "upgrade memory".

sbusso/claudeclaw · 73 tokens

obsidian-pro

Advanced Obsidian knowledge management using callouts, properties, and wikilinks. Aligned with the Gold Standard.

turmyshevd/openclawgotchi · 28 tokens

vault-memory

Treat the Obsidian vault as operational memory, not just note storage. Focus on retrieval quality, metadata integrity, and safe consolidation.

turmyshevd/openclawgotchi · 30 tokens