init-memory
Initialize the memory system in an AI-ready vault. Creates the folder structure, Memory.md dashboard, and example files needed for cross-session memory persistence. Use when setting up a new vault or adding memory capabilities to an existing vault.
When & Why to Use This Skill
The init-memory skill automates the creation of a sophisticated, multi-layered memory architecture for AI agents within Markdown-based vaults. By establishing a structured hierarchy of Episodic, Semantic, Procedural, and Strategic memory folders alongside a DataView-powered dashboard, it enables seamless cross-session context persistence and enhances the agent's ability to recall past decisions, workflows, and breakthroughs.
Use Cases
- New Vault Setup: Quickly bootstrapping a structured environment for AI agents to store and retrieve long-term information in a new project workspace.
- Cross-Session Continuity: Enabling AI assistants to remember user preferences, project milestones, and previous frustrations to provide more personalized and consistent support over time.
- Knowledge Management: Organizing complex information into distinct categories like 'Procedural' for workflows and 'Strategic' for decision-making, making it easier for both humans and AI to navigate the knowledge base.
- Performance Monitoring: Utilizing the Memory.md dashboard and DataView queries to track high-importance memories and surface patterns in AI-human collaboration.
| name | init-memory |
|---|---|
| description | Initialize the memory system in an AI-ready vault. Creates the folder structure, Memory.md dashboard, and example files needed for cross-session memory persistence. Use when setting up a new vault or adding memory capabilities to an existing vault. |
Init Memory
Create the memory system folder structure and dashboard.
Memory System Structure
Areas/AI/Memory/
├── Memory.md # Dashboard with DataView queries
├── Episodic/ # Events, breakthroughs, frustrations
├── Semantic/ # Facts, definitions, project details
├── Procedural/ # Patterns, how-tos, workflows
└── Strategic/ # Decisions, approaches, plans
Workflow
Confirm target location
- Default:
Areas/AI/Memory/ - Ask user if different location preferred
- Default:
Create folder structure
- Create parent folders if needed
- Create Memory/ directory
- Create four type subdirectories
Create Memory.md dashboard
- Overview of memory system
- DataView queries for recent/important memories
- Quick reference for memory types
Create example memories (optional)
- One example in each folder
- Demonstrates proper format
- Can be deleted after review
Update CLAUDE.md
- Add memory system documentation
- Add memory-related instructions
Memory.md Template
---
created: {date}
type: dashboard
tags:
- memory-system
- ai
---
# Memory System
Cross-session memory for AI collaboration.
## Memory Types
| Type | Purpose | When to Use |
|------|---------|-------------|
| **Episodic** | Events & experiences | Breakthroughs, frustrations, milestones |
| **Semantic** | Facts & knowledge | Definitions, project details, learned info |
| **Procedural** | Patterns & how-tos | Workflows, techniques, processes |
| **Strategic** | Decisions & plans | Choices made, approaches, rationale |
## Recent Memories
```dataview
TABLE type, importance, concepts
FROM "Areas/AI/Memory"
WHERE type != "dashboard"
SORT created DESC
LIMIT 10
High Importance
TABLE type, created, concepts
FROM "Areas/AI/Memory"
WHERE importance >= 0.7
SORT importance DESC
Usage
/remember- Store a new memory/recall {terms}- Search memories/reflect- End-of-session consolidation/glean- Surface patterns across memories
## Parameters
- `$ARGUMENTS` (optional): Custom path for memory system (default: `Areas/AI/Memory/`)
## Example
User: `/init-memory`
Response:
"Initializing memory system...
Created:
→ `Areas/AI/Memory/`
→ `Areas/AI/Memory/Memory.md` (dashboard)
→ `Areas/AI/Memory/Episodic/`
→ `Areas/AI/Memory/Semantic/`
→ `Areas/AI/Memory/Procedural/`
→ `Areas/AI/Memory/Strategic/`
Memory system ready. Use `/remember` to store your first memory."