Memory

Persist user preferences and notes in Markdown prompt-include memory files.

1.4k|316|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/agent0ai/space-agent --skill memory-agent0ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Memory
Source: https://github.com/agent0ai/space-agent/tree/main/app/L0/_all/mod/_core/memory/ext/skills/memory
Command: npx skills add https://github.com/agent0ai/space-agent --skill memory-agent0ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps preserve important user-specific behavior and evolving notes so the agent can act consistently across future conversations instead of relearning preferences and context each time.

Core Features & Use Cases

  • Persistent prompt-include memory: Stores durable instructions and preferences in user-scoped Markdown include files that the runtime can load into the system prompt.
  • Transient context memory: Maintains rolling, frequently updated notes for facts, project context, reminders, and other short- to medium-lived information.
  • Rules for correct memory hygiene: Guides when to create, update, or incrementally mutate memory files to keep content concise, specific, and current.

Quick Start

Tell the agent what durable preference, rule, or project detail to retain and ask it to update the appropriate ~/memory include file accordingly.

Frequently Asked Questions about Memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist agent behavior and personalization across chat sessions?

To persist agent behavior across sessions, store durable preferences in user-scoped Markdown prompt-include files that load into the system prompt automatically. This prevents preference loss and redundant re-ask patterns in ongoing conversations.

What's the best way to track evolving project context and reminders for fast-moving work?

Tracking evolving project context requires writing rolling notes into transient Markdown include files. These files retain short- to medium-lived facts and reminders, keeping frequently updated information current without bloating durable system instructions.

How does prompt-include memory separate system rules from temporary facts?

Prompt-include memory separates system rules from temporary facts by routing them into distinct file patterns: durable behaviors go into behavior.system.include.md, while rolling notes go into memories.transient.include.md or similar transient files.

Do I need YAML frontmatter in Markdown files for context management memory?

No, you do not need YAML frontmatter in Markdown files for context management. Memory include files must contain plain Markdown include bodies without YAML frontmatter to ensure correct runtime loading into the system prompt.

When should I update or mutate memory files for agent personalization?

You should update memory files when user-scoped behaviors, project context, or reminders change. Following memory hygiene rules, incrementally mutate the files to keep content concise, specific, and current for consistent agent behavior.

Why does my assistant lose my preferences and context in new conversations?

An assistant loses preferences in new conversations because session data resets. Storing durable instructions and evolving notes in user-scoped Markdown prompt-include files prevents this context loss and redundant relearning across sessions.