initializing-memory

Initialize or reorganize agent memory blocks into a structured schema.

3.0k|350|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/letta-ai/letta-code --skill initializing-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: initializing-memory
Source: https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/initializing-memory
Command: npx skills add https://github.com/letta-ai/letta-code --skill initializing-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide for initializing or reorganizing the agent memory, including defining memory blocks, procedures, and preferences, so the Letta Code agent can persist context across sessions.

Core Features & Use Cases

  • Memory blocks: Establish core blocks like persona, project, human, context, and ticket to maintain continuity.
  • Procedures & Preferences: Document rules, workflows, and coding conventions to guide behavior.
  • Use Case: When starting a fresh Letta Code session or reorganizing memory for an ongoing project, this skill helps structure memory for reliable long-term learning.

Quick Start

Inspect current memory blocks with the memory tool, create or adjust blocks (persona, project, human), and outline recurrence rules and conventions to guide agent behavior. Then initialize memory with the /init flow.

Frequently Asked Questions about initializing-memory

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

FAQPage Schema
How do I set up persistent memory for a Letta Code agent across sessions?

Initialize agent memory by defining core memory blocks—persona, project, human—and optional blocks like context and ticket. Each block stores labeled data with descriptions and values, enabling the agent to persist context and learning across sessions without loss.

What are memory blocks and how do I organize them?

Memory blocks are structured containers that categorize agent knowledge into core blocks (persona, project, human) and optional blocks (ticket, context, decisions). Each follows a schema with label, description, and value to maintain organized, retrievable information for long-term agent behavior.

When should I reorganize my agent's memory?

Reorganize memory when starting a fresh Letta Code session, shifting project scope, or noticing the agent isn't retaining relevant context. Restructuring ensures memory blocks align with current goals and enforce consistent schemas that guide reliable agent learning.

Can I define procedures and preferences within agent memory?

Yes. Document coding conventions, workflows, and recurrence rules as memory content to guide agent behavior persistently. These structured preferences, stored alongside core memory blocks, help the agent apply consistent patterns across sessions.

What happens if I don't initialize memory for my agent?

Without initialization, the agent lacks persistent context storage and forgets information between sessions. Initializing memory enforces a schema that preserves persona, project context, and learned conventions, enabling reliable cross-session continuity.