memory-architecture

Organize AI session context into working, daily, project, and long-term memory tiers.

5|1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/netanel-abergel/pa-skills --skill memory-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-architecture
Source: https://github.com/netanel-abergel/pa-skills/tree/main/skills/memory-architecture
Command: npx skills add https://github.com/netanel-abergel/pa-skills --skill memory-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents often lose important context across conversations, leading to inconsistent behavior and forgotten decisions. This skill provides a structured memory architecture that separates explicit facts from inferred patterns and organizes memories into Working, Daily, Projects, and Long-term tiers to preserve context over time.

Core Features & Use Cases

  • Memory Types: Explicit facts ([FACT]) and deduced patterns ([DEDUCED]); automatically tag and promote signals based on frequency and relevance.
  • Memory Tiers: In-session Working context, daily logs at memory/daily/YYYY-MM-DD.md, project files under memory/projects/, and a long-term MEMORY.md for recurring patterns.
  • Session Summaries & Promotion: Append concise summaries after long conversations and promote stable patterns to long-term memory.
  • Writing Deduced Memories: Record deduced conclusions with evidence to improve future decisions.
  • Memory Quality & Maintenance: Use a checklist to ensure usefulness and guard against bloat; perform periodic compaction and audits.
  • Self-Review & Production Notes: Regular automated reviews and production notes to improve memory handling.

Quick Start

Activate the memory-architecture workflow and begin capturing session context and deduced memories across conversations.

Frequently Asked Questions about memory-architecture

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

FAQPage Schema
How do I preserve AI agent context across multiple sessions?

To prevent memory bloat, apply a quality checklist to ensure usefulness and perform periodic compaction and audits. Regular automated reviews and production notes help maintain structured memory integrity and guard against uncontrolled data accumulation.

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

To write deduced memories, record inferred conclusions with supporting evidence to improve future decisions. The architecture tags these as [DEDUCED] patterns, separating them from explicit [FACT] entries to enhance future agent reasoning.

How do I manage AI session summaries and memory promotion?

Manage AI session summaries by appending concise records after long conversations. Apply structured memory promotion rules to elevate stable signals from daily logs into long-term memory based on their frequency and relevance.

When should I not use a multi-tier memory architecture for AI workflows?

You should avoid multi-tier memory architecture for short, single-session AI workflows lacking persistent context. If conversations lack recurring patterns or long-term decisions, the overhead of managing deduced memory and compaction outweighs the benefits.