agent-memory

Manage a 3-tier persistent memory system for AI agents.

1|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/komluk/scaffolding.template --skill agent-memory-komluk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-memory
Source: https://github.com/komluk/scaffolding.template/tree/main/stacks/_common/.claude/skills/agent-memory
Command: npx skills add https://github.com/komluk/scaffolding.template --skill agent-memory-komluk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a robust, multi-tiered system for AI agents to store and retrieve information across different sessions and conversations, ensuring continuity and accumulated knowledge.

Core Features & Use Cases

  • 3-Tier Memory System: Organizes knowledge into Shared, Agent-specific, and Conversation-specific tiers for efficient management.
  • Automatic Context Injection: Memory is automatically loaded into agent context, reducing manual retrieval steps.
  • Use Case: An analyst agent can store project-wide architectural decisions in the Shared tier, while a developer agent can store recurring coding patterns in its Agent tier. A specific conversation's context and decisions are saved in the Conversation tier.

Quick Start

Before completing your task, write significant findings to the appropriate memory tier.

Frequently Asked Questions about agent-memory

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

FAQPage Schema
How do I add persistent memory to an AI agent across sessions?

Persistent agent memory is managed through a 3-tier system that stores knowledge across sessions. It organizes information into Shared, Agent-specific, and Conversation-specific tiers, which are automatically injected into the agent's context.

What is the best way to manage shared project knowledge for multiple AI agents?

To manage shared project knowledge, use a multi-tiered memory system with a Shared tier for project-wide facts. This allows agents to automatically read and write accumulated architectural decisions or patterns into their active context.

How does automatic context injection work for AI agent memory?

Automatic context injection works by automatically loading saved memory files into the agent's active context window. This reduces manual retrieval steps and ensures the agent has immediate access to relevant historical conversation data.

Can I separate conversation-specific context from agent-specific patterns?

Yes, you can separate conversation-specific context from agent-specific patterns using a structured memory system. It divides stored knowledge into distinct tiers, allowing individual agents to maintain unique patterns while saving specific dialogue context separately.

Do I need to manually retrieve memory files before my AI agent starts a task?

No, you do not need to manually retrieve memory files before starting a task. The system automatically injects the relevant persistent memory into the agent's context, although you should write significant findings to the appropriate tier during your task.