dory-memoryFile-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 structure, implementing task tracking, or preventing context-loss errors. Triggers on "memory system", "remember between sessions", "Dory pattern", "agent continuity", or "workspace setup".
Install via ClawdBot CLI:
clawdbot install justinhartbiz/dory-memoryAI 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 avoidGenerated Mar 1, 2026
A business deploys an AI agent for handling customer inquiries across multiple sessions. This skill ensures the agent remembers past interactions, unresolved tickets in HOLD.md, and follows exact customer instructions to prevent miscommunication. It maintains continuity in support workflows despite context resets.
An AI agent assists teams by tracking project tasks, deadlines, and decisions. Using the Dory-Proof pattern, it records exact user requests in ACTIVE.md, monitors blocked items in HOLD.md, and archives historical data in memory/ for long-term reference across planning sessions.
A marketing team uses an AI agent to generate and edit content drafts. The skill helps the agent remember brand guidelines from MEMORY.md, track ongoing edits in STAGING.md, and ensure exact client feedback is preserved in ACTIVE.md to avoid content drift between revisions.
Researchers employ an AI agent to collect and analyze data over extended periods. The memory system stores findings in dated memory/ files, logs decisions in DECISIONS.md, and uses scoring to retain critical insights in MEMORY.md, preventing loss during long-term projects.
An individual uses an AI agent for personal task management and habit tracking. The skill enables the agent to remember daily goals via ACTIVE.md, note blocked habits in HOLD.md, and maintain long-term progress in MEMORY.md, ensuring consistency across daily sessions.
Offer a cloud-based platform where businesses subscribe to deploy AI agents with built-in Dory-Proof memory. Revenue comes from monthly fees based on usage tiers, providing features like automated backups, analytics on memory usage, and integration with existing tools.
Provide consulting services to help organizations implement this memory system into their existing AI workflows. Revenue is generated through project-based fees for setup, training, and ongoing support, tailored to specific industry needs like customer support or project management.
Sell pre-configured workspace templates, such as those for customer service or content creation, through an online marketplace. Revenue comes from one-time purchases or licenses, with additional income from premium support and updates for advanced features.
š¬ Integration Tip
Start by copying the template files to establish the workspace structure, then customize SOUL.md and USER.md to align the agent's identity and user context for seamless adoption.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection