memory-refresh

Archive raw session data and update the memory index with durable summaries.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/petrSimonidesXart/xPmGateway --skill memory-refresh-petrsimonidesxart
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-refresh
Source: https://github.com/petrSimonidesXart/xPmGateway/tree/main/.gaai/core/skills/cross/memory-refresh
Command: npx skills add https://github.com/petrSimonidesXart/xPmGateway --skill memory-refresh-petrsimonidesxart

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Periodic memory maintenance to keep AI context lean by archiving raw session data, converting recurring knowledge into durable summaries, and updating the memory index.

Core Features & Use Cases

  • Archive raw session files to a memory archive directory to prevent unbounded context growth.
  • Convert recurring information and validated knowledge into summary memory for long-term context.
  • Update the memory index after refresh, ensuring that active categories remain discoverable and navigable.
  • Apply disciplined rules to distinguish durable memory from ephemeral sessions and perform domain-split when needed.

Quick Start

Trigger memory-refresh after a major phase to archive session data, summarize recurring knowledge, and refresh the memory index.

Frequently Asked Questions about memory-refresh

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

FAQPage Schema
How do I automate memory archiving to keep AI context within safe limits?

Automate memory archiving by moving raw session data to a memory archive directory, which prevents unbounded context growth and keeps AI context within safe limits during active projects.

What is the best way to convert recurring session knowledge into durable summaries?

Convert recurring session knowledge into durable summaries by applying disciplined memory rules to distinguish durable information from ephemeral sessions, ensuring long-term context retention without creating new knowledge.

How do I update a memory index after archiving session data?

Update a memory index after archiving session data by refreshing the index during a memory maintenance cycle, ensuring that active categories remain discoverable and navigable across major project phases.

When should I trigger a memory refresh to manage context usage?

Trigger a memory refresh after a major project phase to archive session data, summarize recurring knowledge, and refresh the memory index to prevent context overflow while preserving essential details.

Can I split memory domains when managing large project context?

Yes, you can perform a domain-split when managing large project context by applying disciplined memory rules to separate durable memory from ephemeral sessions, keeping context lean across active projects.