memory-management

Persist agent memory through a tiered architecture and five-gate filtering system.

1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/CC90210/CMO-Agent --skill memory-management-cc90210
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-management
Source: https://github.com/CC90210/CMO-Agent/tree/main/skills/memory-management
Command: npx skills add https://github.com/CC90210/CMO-Agent --skill memory-management-cc90210

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents context window bloat and hallucinations by implementing a rigorous, multi-gate system for memory persistence, compression, and archival.

Core Features & Use Cases

  • Five-Gate Knowledge Filter: Ensures only high-value, non-redundant information is persisted to long-term storage.
  • Tiered Memory Architecture: Organizes data into five distinct tiers ranging from active brain state to cold storage archives.
  • Confidence Scoring & Decay: Automatically manages the reliability of stored facts through verification triggers and temporal decay.
  • Use Case: Use this skill to audit your agent's memory files, compress stale session logs, and ensure that critical SOPs remain within the active context window.

Quick Start

Run the memory management protocol to audit current memory files and compress logs older than fourteen days.

Frequently Asked Questions about memory-management

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

FAQPage Schema
How do I optimize context window usage for long-running autonomous agents?

Agent memory persistence is managed through a tiered architecture using a five-gate knowledge filtering system that ensures only high-value, non-redundant information is stored. It actively prevents context window bloat and hallucinations by compressing stale session logs.

How does the five-gate knowledge filter work for agent memory hygiene?

The five-gate knowledge filter works by rigorously evaluating information before persisting it to long-term storage, ensuring only non-redundant, high-value data passes through. This mechanism directly prevents memory bloat and maintains reliable information retrieval.

Do I need local file system access to manage agent memory persistence?

Yes, local file system access is required to manage agent memory persistence because the system maintains local brain, memory, and archive directories. These local directories are synced with external databases to organize data into five distinct tiers.

What is the best way to compress stale session logs in autonomous agents?

The best way to compress stale session logs is by running a memory management protocol that audits memory files and compresses logs older than fourteen days. This automatically moves outdated data into cold storage archives.

How does confidence scoring and temporal decay affect stored agent memory?

Confidence scoring and temporal decay automatically manage the reliability of stored facts by applying verification triggers and reducing confidence over time. This ensures that outdated or unverified information naturally degrades within the memory architecture.