memory-patterns SKILL.md skillA
memory-patterns from eric-cielo/moflo is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add eric-cielo/moflo/memory-patterns@git:20260515.d04f7b2Pins git:20260515.d04f7b2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- eric-cielo/moflo
- Path
.claude/skills/memory-patterns/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260515.d04f7b2, committed May 15, 2026
- First version recorded
- Apr 25, 2026
- Size
- 5,384 bytes
- Repository stars
- 19
- License
- MIT
Persistent memory patterns for moflo agents — session memory, long-term knowledge, pattern learning, and cross-session context via moflo's node:sqlite + HNSW vector store. Use when building stateful agents or assistants that need to remember across runs.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# MoFlo Memory Patterns
Persistent, semantically-searchable memory for moflo-enabled projects. Backed by `.moflo/moflo.db` (node:sqlite + HNSW vector index) and exposed through MCP tools.
## Core API
Three things to know:
1. **MCP tools** — call from Claude Code sessions:
- `mcp__moflo__memory_store { key, value, namespace?, tags?, ttl?, upsert? }`
- `mcp__moflo__memory_search { query, namespace?, limit?, threshold? }` — semantic, HNSW-backed
- `mcp__moflo__memory_retrieve { key, namespace? }` — exact key lookup
- `mcp__moflo__memory_list { namespace?, limit? }`
- `mcp__moflo__memory_delete { key, namespace? }`
- `mcp__moflo__memory_stats {}`
2. **CLI** — `flo-search "<query>" --namespace <ns>` for quick semantic lookup from the shell.
3. **Namespaces** — namespace + key is the unique identity. Default namespaces shipped by moflo: `learnings`, `patterns`, `guidance`, `code-map`. (`knowledge` is a deprecated alias — writes are transparently redirected to `learnings`.) Create your own for application memory (e.g. `app:sessions`, `app:users`).
## Pattern 1: Session Memory
Rolling per-conversation memory with TTL so old sessions expire:
```typescript
…Read the whole file at its exact version.
How to install
mdr add eric-cielo/moflo/memory-patterns@sha256:a8de621231e67f31The line at the top of this page pins the label git:20260515.d04f7b2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zvc4snrv7itbx4ob)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 25, 2026 and May 15, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260515.d04f7b2 latest | 2026-05-15 | d04f7b2 | 5,384 B | A | view · diff |
| git:20260506.0a6659a | 2026-05-06 | 0a6659a | 5,352 B | A | view · diff |
| git:20260429.1af1ced | 2026-04-29 | 1af1ced | 5,360 B | A | view · diff |
| git:20260427.3cb4478 | 2026-04-27 | 3cb4478 | 5,268 B | A | view · diff |
| git:20260425.4e7c4a7 | 2026-04-25 | 4e7c4a7 | 5,266 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5384 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
eric-cielo/moflo · 19 stars · license MIT · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zvc4snrv7itbx4ob GET https://markdownregistry.com/api/v1/resolve?ref=eric-cielo/moflo/memory-patterns GET https://markdownregistry.com/api/v1/blob/a8de621231e67f31499d0b3ac4fe35a9f17ebc824ba4d99b1f3586ffe6e7a56e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from eric-cielo/moflo
Every file in eric-cielo/moflo