context-memory

Load and merge daily logs, long-term memory, and archived conversations across AI sessions.

3|1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/gnufoo/context-memory-skill --skill context-memory-gnufoo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-memory
Source: https://github.com/gnufoo/context-memory-skill/tree/main
Command: npx skills add https://github.com/gnufoo/context-memory-skill --skill context-memory-gnufoo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The Context & Memory Skill provides a structured, persistent memory system for AI agents, ensuring critical context and insights survive across sessions by combining daily logs, long-term memory, and organized archives.

Core Features & Use Cases

  • Persistent Memory Architecture: Multi-tier storage with daily logs (memory/YYYY-MM-DD.md), long-term memory (MEMORY.md), and a searchable conversation archive.
  • Automated Learning & Auto-Reflection: Gathers satisfaction signals to generate behavioral insights and updates to LEARNING.md.
  • Session Continuity & Startup: Reads and applies startup context from SOUL.md, USER.md, LEARNING.md, and recent memory files to maintain continuity.

Quick Start

Set up the workspace structure (memory/, memory/conversations, memory/satisfaction-insights) and start the agent so it loads SOUL.md, USER.md, LEARNING.md, and the current memory files on startup.

Frequently Asked Questions about context-memory

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

FAQPage Schema
How do I persist context and memory across AI agent sessions?

To persist context and memory across AI agent sessions, use a multi-tier architecture with daily logs, long-term memory files, and a searchable conversation archive to ensure continuity. This structure loads and merges historical data on startup.

How does an AI agent learn from user satisfaction signals?

An AI agent learns from user satisfaction by gathering feedback signals to generate behavioral insights. These insights are automatically compiled into a learning file to update and refine future interactions.

What is the best way to structure long-term memory for an AI agent?

The best way to structure long-term memory for an AI agent is using a multi-tier storage system. This combines daily markdown logs, a central long-term memory file, and an organized conversation archive for searchable recall.

Do I need to set up a specific workspace structure for AI session continuity?

Yes, you need to set up a specific workspace structure for AI session continuity. Create directories for daily memory, conversations, and satisfaction insights, then load configuration files on startup to apply context.

Can I archive AI conversations and search them later?

Yes, you can archive AI conversations and search them later. The system uses scripts to move conversations into an organized archive directory, making historical sessions searchable for future context retrieval.

What files are loaded on startup to maintain AI session continuity?

To maintain AI session continuity, the agent loads configuration files including SOUL.md, USER.md, LEARNING.md, and recent daily memory files. This merges startup context with long-term memory.