Dory-Proof Memory System
File-based memory system for AI agents that forget between sessions. Implements the "Dory-Proof" pattern for continuity across context resets. Use when setting up agent memory, building workspace stru
File-based memory system for AI agents that forget between sessions. Implements the "Dory-Proof" pattern for continuity across context resets. Use when setting up agent memory, building workspace stru
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
AI agents forget everything between sessions. This skill implements a file-based memory system that survives context resets.
Text > Brain. Write everything down. Files are memory. The agent only "remembers" what's on disk.
When the user gives a task:
state/ACTIVE.mdWhy: Paraphrasing introduces drift. Exact words preserve intent across context flushes.
workspace/ ├── AGENTS.md # Operating rules (system file, don't rename) ├── SOUL.md # Identity + personality ├── USER.md # About the human ├── MEMORY.md # Curated long-term memory (<10KB) ├── LESSONS.md # "Never again" safety rules ├── TOOLS.md # Tool-specific notes │ ├── state/ # Active state (check every session) │ ├── ACTIVE.md # Current task (exact user words) │ ├── HOLD.md # Blocked items (check before acting!) │ ├── STAGING.md # Drafts awaiting approval │ └── DECISIONS.md # Recent choices with timestamps │ ├── memory/ # Historical │ ├── YYYY-MM-DD.md │ ├── recent-work.md │ └── archive/ │ └── ops/ # Operational └── WORKSPACE-INDEX.md
state/HOLD.md — what's BLOCKEDstate/ACTIVE.md — current taskstate/DECISIONS.md — recent choicesmemory/recent-work.md — last 48 hoursMEMORY.md — long-term (main session only)Output status line after boot:
📋 Boot: ACTIVE=[task] | HOLD=[n] items | STAGING=[n] drafts
## Current Instruction **User said:** "[exact quote]" **Interpretation:** [what you think it means] **Status:** - [ ] Step 1 - [ ] Step 2
[YYYY-MM-DD HH:MM | session] Item — reason blocked
ALL agents must check before acting on anything that looks ready.
[YYYY-MM-DD HH:MM | session] Decision made
When files conflict, priority (highest first):
Score on 4 axes (0–3 each):
| Axis | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| Longevity | Gone tomorrow | Weeks | Months | Years+ |
| Reuse | One-off | Occasional | Frequent | Every session |
| Impact | Trivial | Nice to know | Changes outputs | Changes decisions |
| Uniqueness | Obvious | Slightly helpful | Hard to rederive | Impossible without |
Save if: Total ≥ 8, OR any axis = 3 AND total ≥ 6.
Copy template files from
assets/templates/ to your workspace:
cp -r skills/dory-memory/assets/templates/* ~/.openclaw/workspace/
Then customize SOUL.md and USER.md for your agent.
references/IMPLEMENTATION-GUIDE.md — Full setup walkthroughreferences/ANTI-PATTERNS.md — Common mistakes to avoidNo automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.