SarielWang93

Memory Tiering

AI 智慧體v1.0.0
作者:SarielWang93更新於 2026-05-11memory-tiering@clawhub_sarielwang93/memory-tiering
上下文管理記憶增強

據 AlphaMoat 統計,截至 2026-10,Memory Tiering 累計下載 24,595 次、獲 10 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 1,158 位,在「AI 智慧體」分類(1,632 個)中排名第 172 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
2.5萬
星標
10
全站下載量排名
#1,158
全站前 11% · 「AI 智慧體」前 11%
平台累計下載星標評論
ClawHub ↗1.7萬9-
SkillHub ↗2.5萬10—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

把會話上下文、穩定偏好與長期歸檔分到三個層級檔案,在記憶整理或上下文壓縮後重新分配、裁剪與摘要,並檢查是否有資訊在搬移中丟失。熱層須保持足夠小以便高效使用;憑據儘量只存指向源標頭檔案的引用,不存明文。 重整持久記憶檔案前,先檢查目標檔案並保留可還原副本。

資料釋出於 2026-10-29

可以用來做什麼

  • 上下文壓縮後重排記憶檔案
  • 把已完成任務的細節降級成摘要

什麼時候用

  • 記憶檔案越寫越亂時
  • 會話壓縮之後需要歸檔時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

整理一下現在的記憶層級
把已完成的任務從熱層移出去

月度資料趨勢

累計下載2.5萬
1.1萬1.8萬2.6萬2026-03 · 累計下載 1.2萬2026-05 · 累計下載 1.6萬2026-06 · 累計下載 1.6萬2026-07 · 累計下載 1.7萬2026-08 · 累計下載 1.7萬2026-09 · 累計下載 1.8萬2026-10 · 累計下載 2.5萬26-0326-0926-10
星標10
68102026-03 · 星標 62026-05 · 星標 92026-06 · 星標 102026-07 · 星標 102026-08 · 星標 102026-09 · 星標 102026-10 · 星標 1026-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-102.5萬—10
2026-091.8萬—10
2026-081.7萬+1.3%10
2026-071.7萬+3.3%10
2026-061.6萬+1.9%10
2026-051.6萬—9
2026-031.2萬—6

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.0 KB · ClawHub v1.0.0
---
name: memory-tiering
description: Automated multi-tiered memory management (HOT, WARM, COLD). Use this skill to organize, prune, and archive context during memory operations or compactions.
---

# Memory Tiering Skill 🧠⚖️

This skill implements a dynamic, three-tiered memory architecture to optimize context usage and retrieval efficiency.

## The Three Tiers
展開全部(共 46 行)

1.  **🔥 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.
2.  **🌡️ 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.
3.  **❄️ 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 `HOT` is now small enough for efficient context use.

## Usage Trigger
- Trigger manually with: "Run memory tiering" or "整理记忆层级".
- Trigger automatically after any `/compact` command.

「AI 智慧體」分類下的熱門技能

SarielWang93 的其他技能

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。