memory-context-management

Manage agent memory and persistent knowledge across sessions using SQLite and filesystem storage.

6|4|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/kortix-ai/kortix-registry --skill memory-context-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-context-management
Source: https://github.com/kortix-ai/kortix-registry/tree/main/files/plugin/kortix-sys/skills/memory-context-management
Command: npx skills add https://github.com/kortix-ai/kortix-registry --skill memory-context-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining and recalling information across agent sessions, ensuring that critical data, plans, and context are never lost.

Core Features & Use Cases

  • Persistent Storage: Utilizes both a memory plugin (SQLite) for short-to-medium term recall and the filesystem for long-term, permanent storage of plans, notes, and project state.
  • Session Awareness: Tracks and utilizes session IDs for traceability and context linking.
  • Context Optimization: Provides strategies to manage the agent's context window effectively, preventing information overload and ensuring relevant data is always accessible.
  • Use Case: When starting a complex task, use this Skill to write a plan to disk. Later, if the agent needs to recall the original plan or its progress, it can access this persistent information, even after multiple sessions or restarts.

Quick Start

Use the memory-context-management skill to write a plan for the current task to a file named 'project-plan.md'.

Frequently Asked Questions about memory-context-management

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

FAQPage Schema
How do I persist agent memory across multiple sessions?

You can persist agent memory across sessions by using a memory plugin for short-to-medium term recall and the filesystem for long-term, permanent storage of plans, notes, and project state.

What is the best way to manage an agent's context window during complex tasks?

Managing an agent's context window effectively involves applying context optimization strategies that prevent information overload, ensuring relevant data remains accessible during complex agentic workflows.

How do I save an agent's task plan to disk for later recall?

You save an agent's task plan to disk by writing the plan to a file like 'project-plan.md', allowing the agent to recall the original plan and progress even after sessions or restarts.

Does agent long-term memory consolidation require filesystem interaction?

Yes, long-term memory consolidation relies on filesystem interaction rules to permanently store plans, notes, and project state, complementing the memory plugin used for shorter-term recall.

When do I need session management for agentic workflows?

You need session management for agentic workflows when starting complex tasks that require traceability, context linking via session IDs, and persistent data retention across multiple restarts.

What are the limitations of using filesystem persistence for agent memory?

Filesystem persistence for agent memory requires understanding observation pipelines and filesystem interaction rules, as it primarily handles long-term data retention rather than short-term context optimization.