memory-integration

Integrate episodic memory and knowledge graphs to maintain context across AI sessions.

10|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/troykelly/codex-skills --skill memory-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-integration
Source: https://github.com/troykelly/codex-skills/tree/main/skills/memory-integration
Command: npx skills add https://github.com/troykelly/codex-skills --skill memory-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the fundamental limitation of AI agents having no memory between sessions, ensuring continuity and leveraging past knowledge for improved performance.

Core Features & Use Cases

  • Episodic Memory: Maintains conversation history, decisions, and lessons learned for recall.
  • Knowledge Graph: Stores entities (projects, issues, decisions) and their relationships for persistent factual recall.
  • Use Case: When resuming work on a complex bug, the agent can instantly recall previous debugging steps, decisions made, and relevant code snippets from past sessions, avoiding redundant effort.

Quick Start

Use the memory integration skill to search for context related to issue number 456.

Frequently Asked Questions about memory-integration

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

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

To maintain context across AI agent sessions, you need an integration that stores episodic memory for conversation recall and a knowledge graph for persistent facts. This ensures session continuity by capturing decisions and lessons learned for future retrieval.

What is a knowledge graph for persistent facts in AI memory?

A knowledge graph for persistent facts is a structured memory mechanism that stores entities like Projects, Issues, Decisions, Patterns, Problems, and Persons. It records their relationships to enable accurate factual recall during future AI agent interactions.

How do I retrieve past debugging steps and decisions when resuming work on an issue?

You can retrieve past debugging steps by searching the episodic memory using a relevant identifier, such as an issue number. The agent recalls previous decisions, lessons learned, and relevant code snippets from past sessions to avoid redundant effort.

When should I update the knowledge base with mid-work learning during a session?

You should update the knowledge base with mid-work learning continuously as new facts emerge. This involves storing new entities and relationships during the session, followed by a final knowledge base update when the session ends to ensure all context is preserved.

Does this memory integration require any external dependencies to function?

No, this memory integration has no external dependencies. It operates independently to manage session start context gathering, mid-work learning storage, and session end knowledge base updates without requiring additional packages or external libraries.

What is the difference between episodic memory and a knowledge graph for session continuity?

Episodic memory maintains conversation history and specific lessons learned for sequential recall, whereas a knowledge graph stores persistent factual entities and their structural relationships. Both work together to provide comprehensive context continuity across sessions.