session-memory-bootstrap

Load and apply durable user memory from memories.md at session start.

3|1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/jgh0sh/memory-skill --skill session-memory-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-memory-bootstrap
Source: https://github.com/jgh0sh/memory-skill/tree/main/memory
Command: npx skills add https://github.com/jgh0sh/memory-skill --skill session-memory-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically load and apply durable user memory at the start of every session to preserve preferences and conventions across interactions.

Core Features & Use Cases

  • Loads memory from memories.md at session start and applies it to the current context.
  • Respects memory settings (enabled, announce_writes) and supports explicit user requests to show memory or forget items.
  • Handles recovery by maintaining a single YAML block and preserving past content under "Non-authoritative notes" when needed.

Quick Start

Activate this bootstrapping process at the start of a new session to load memory from memories.md and apply it to the session.

Frequently Asked Questions about session-memory-bootstrap

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

FAQPage Schema
How do I preserve user preferences across sessions automatically?

Durable user memory preserves preferences across sessions by loading and applying them from memories.md at the start of a new session. This ensures your conventions and settings are automatically restored without manual reconfiguration.

What is the best way to load memory settings at session start?

Loading memory settings at session start involves applying a bootstrapping process that reads from memories.md. The system applies stored preferences to the current context immediately, respecting configured memory settings like enabled flags and announce_writes.

Can I explicitly tell the session to remember or forget specific items?

Yes, you can explicitly request the session to remember or forget specific items. The memory management process honors these direct user requests while maintaining safe, non-sensitive storage and updating the YAML block accordingly.

How does memories.md handle recovery when the YAML block gets corrupted?

Recovery in memories.md works by maintaining a single YAML block and preserving past content under a "Non-authoritative notes" section when needed. This approach ensures previous memory data is safely retained during corruption recovery.

Does session memory bootstrap work without external dependencies?

Session memory bootstrap works entirely without external dependencies, relying solely on access to the memories.md file. It manages a single YAML block internally, making it lightweight and suitable for any software engineering environment.

Why does my session memory not apply automatically when starting a new interaction?

Session memory might not apply automatically if memory settings are disabled or the memories.md file is inaccessible. The bootstrapping process requires proper file access and enabled settings to load and apply durable user memory successfully.