Memory Tiering
Automated multi-tiered memory management (HOT, WARM, COLD). Use this skill to organize, prune, and archive context during memory operations or compactions.
SarielWang93
@sarielwang93
What This Skill Does
Automated multi-tiered memory management that organizes context into HOT, WARM, and COLD tiers. It prunes, redistributes, and archives memory during manual or post-compaction operations to keep the active context lean and retrieval efficient.
Replaces manual context pruning and ad-hoc archiving by enforcing a structured three-tier memory workflow that preserves important information while minimizing token waste.
When to Use It
- Run memory tiering after completing a complex multi-step task to archive finished work
- Trigger memory organization when the HOT memory becomes too large for efficient context use
- Archive resolved bugs and completed project milestones into COLD memory
- Move newly discovered user preferences or system configurations into WARM memory
- Prune temporary credentials and session-specific details from HOT memory after task completion
- Redistribute context after a /compact command to ensure critical information is not lost
Install
$ openclaw skills install @sarielwang93/memory-tieringMemory Tiering Skill 🧠⚖️
This skill implements a dynamic, three-tiered memory architecture to optimize context usage and retrieval efficiency.
The Three Tiers
- 🔥 HOT (memory/hot/HOT_MEMORY.md):
- Focus: Current session context, active tasks, temporary credentials, immediate goals.
- Management: Updated frequently. Pruned aggressively once tasks are completed.
- 🌡️ WARM (memory/warm/WARM_MEMORY.md):
- Focus: User preferences (Hui's style, timezone), core system inventory, stable configurations, recurring interests.
- Management: Updated when preferences change or new stable tools are added.
- ❄️ COLD (MEMORY.md):
- Focus: Long-term archive, historical decisions, project milestones, distilled lessons.
- Management: Updated during archival phases. Detail is replaced by summaries.
Workflow: Organize-Memory
Whenever a memory reorganization is triggered (manual or post-compaction), follow these steps:
Step 1: Ingest & Audit
- Read all three tiers and recent daily logs (
memory/YYYY-MM-DD.md). - Identify "Dead Context" (completed tasks, resolved bugs).
Step 2: Tier Redistribution
- Move to HOT: Anything requiring immediate attention in the next 2-3 turns.
- Move to WARM: New facts about the user or system that are permanent.
- Move to COLD: Completed high-level project summaries.
Step 3: Pruning & Summarization
- Remove granular details from COLD.
- Ensure credentials in HOT point to their root files rather than storing raw secrets (if possible).
Step 4: Verification
- Ensure no critical information was lost during the move.
- Verify that
HOTis now small enough for efficient context use.
Usage Trigger
- Trigger manually with: "Run memory tiering" or "整理记忆层级".
- Trigger automatically after any
/compactcommand.
Top skills in this category
Self-Improving + Proactive Agent
@ivangdavilaSelf-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...
ontology
@oswalpalashTyped knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Obsidian
@steipeteWork with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
YouTube Watcher
@michaelgatharaFetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.