swmm-rag-memory

Solid

Retrieve relevant Agentic SWMM modeling memory from audited runs, modeling-memory summaries, and Obsidian-compatible notes at query time. Use when a user asks for RAG, similar past runs, evidence-linked memory retrieval, historical QA/failure patterns, or memory-grounded answers.

AI & Automation 21 stars 9 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SWMM RAG Memory ## What this skill provides - Query-time retrieval over Agentic SWMM audited run memory. - A lightweight keyword/tag retriever that works without embeddings or a vector database. - A local hybrid retriever that combines keyword matches, deterministic SWMM tags, metadata weighting, and hashed token/character n-gram embeddings. - RAG context packs that can be passed to Codex, OpenClaw, Hermes, or another LLM. - Source citations for each retrieved memory item, including run id, project key, source file, failure patterns, diagnostics, and matched terms. - Retrieval-grounded `failure_advice.{json,md}` for failed or warning runs, without modifying model files. - Explicit `resolution_memory.json` for human-reviewed and benchmark-verified repairs. - Obsidian-compatible Markdown output for saved retrieval notes. This skill reads existing audit and modeling-memory artifacts. It does not run SWMM, modify model inputs, rewrite skills, or claim that retrieved memory proves a modeling conclusion. ## Relationship to `swmm-modeling-memory` `swmm-modeling-memory` summarizes audited runs after experiments have been recorded. `swmm-rag-memory` retrieves the most relevant historical memory for a current question. The intended loop is: 1. Run SWMM or attempt a workflow. 2. Audit the run. 3. Refresh `swmm-modeling-memory`. 4. Ask a current modeling question. 5. Retrieve relevant historical memory with `swmm-rag-memory`. 6. Answer with explicit source boundaries and citati...

Details

Author
Zhonghao1995
Repository
Zhonghao1995/agentic-swmm-workflow
Created
5 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

swmm-modeling-memory

Read historical Agentic SWMM experiment audit artifacts and summarize repeated assumptions, QA issues, failures, missing evidence, run-to-run differences, lessons learned, and controlled skill update proposals. Use downstream of swmm-experiment-audit when multiple audited runs exist or when a user asks for modeling memory, failure-pattern extraction, lessons learned, or human-reviewed skill refinement proposals.

21 Updated 3 days ago
Zhonghao1995
AI & Automation Listed

memory-protocol

Shared RAG Memory Protocol reference doc — NOT model-invocable and NOT auto-triggered. When a command or skill says 'follow the Memory Protocol' or 'see the memory-protocol skill', READ this file directly by path (skills/memory-protocol/SKILL.md) and apply it. Defines session lifecycle, smart remember with relationship detection, memory type selection, structured facts, graph-aware recall, and quarantine awareness.

1 Updated 5 days ago
getreka
AI & Automation Listed

rag-retrieval

RAG pipeline patterns for grounded LLM responses. Covers basic retrieval, citations, hybrid search (semantic + keyword with RRF), context window management, and sufficiency checks for hallucination prevention. Use when: building a Q&A system, adding citations, implementing knowledge bases, or preventing hallucinations. Triggers on: RAG, retrieval augmented, knowledge base, Q&A pipeline, citations, hybrid search, context retrieval, hallucination prevention, grounded responses

6 Updated today
ArieGoldkin