EvoClaw Tiered Memory Architecture v2.1.0 - LLM-powered three-tier memory system with structured metadata extraction, URL preservation, validation, and cloud...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install tiered-memory或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install tiered-memory⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/tiered-memory/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: tiered-memory description: "EvoClaw Tiered Memory Architecture v2.2.0 - LLM-powered three-tier memory system with automatic daily note ingestion, structured metadata extraction, URL preservation, validation, and cloud-first sync." version: "2.2.0" ---
> A mind that remembers everything is as useless as one that remembers nothing. The art is knowing what to keep. 🧠
EvoClaw-compatible three-tier memory system inspired by human cognition and PageIndex tree retrieval.
🔄 Automatic Daily Note Ingestion
daily/monthly/full modes) now auto-runs ingest-dailymemory/YYYY-MM-DD.md files → tiered memory system🎯 Structured Metadata Extraction
✅ Memory Completeness Validation
🔍 Enhanced Search
🛡️ URL Preservation
┌─────────────────────────────────────────────────────┐
│ AGENT CONTEXT (~8-15KB) │
│ │
│ ┌──────────┐ ┌────────────────────────────────┐ │
│ │ Tree │ │ Retrieved Memory Nodes │ │
│ │ Index │ │ (on-demand, 1-3KB) │ │
│ │ (~2KB) │ │ │ │
│ │ │ │ Fetched per conversation │ │
│ │ Always │ │ based on tree reasoning │ │
│ │ loaded │ │ │ │
│ └────┬─────┘ └────────────────────────────────┘ │
│ │ │
└───────┼─────────────────────────────────────────────┘
│
│ LLM-powered tree search
│
┌───────▼─────────────────────────────────────────────┐
│ MEMORY TIERS │
│ │
│ 🔴 HOT (5KB) 🟡 WARM (50KB) 🟢 COLD (∞) │
│ │
│ Core memory Scored facts Full archive │
│ - Identity - 30-day - Turso DB │
│ - Owner profile - Decaying - Queryable │
│ - Active context - On-device - 10-year │
│ - Lessons (20 max) │
│ │
│ Always in Retrieved via Retrieved via │
│ context tree search tree search │
└─────────────────────────────────────────────────────┘
Purpose: Core identity and active context, always in agent's context window.
Structure:
{
"identity": {
"agent_name": "Agent",
"owner_name": "User",
"owner_preferred_name": "User",
"relationship_start": "2026-01-15",
"trust_level": 0.95
},
"owner_profile": {
"personality": "technical, direct communication",
"family": ["Sarah (wife)", "Luna (daughter, 3yo)"],
"topics_loved": ["AI architecture", "blockchain", "system design"],
"topics_avoid": ["small talk about weather"],
"timezone": "Australia/Sydney",
"work_hours": "9am-6pm"
},
"active_context": {
"projects": [
{
"name": "EvoClaw",
"description": "Self-evolving agent framework",
"status": "Active - BSC integration for hackathon"
}
],
"events": [
{"text": "Hackathon deadline Feb 15", "timestamp": 1707350400}
],
"tasks": [
{"text": "Deploy to BSC testnet", "status": "pending", "timestamp": 1707350400}
]
},
"critical_lessons": [
{
"text": "Always test on testnet before mainnet",
"category": "blockchain",
"importance": 0.9,
"timestamp": 1707350400
}
]
}
Auto-pruning:
Generates: MEMORY.md — auto-rebuilt from structured hot state
Purpose: Recent distilled facts with decay scoring.
Entry format:
{
"id": "abc123def456",
"text": "Decided to use zero go-ethereum deps for EvoClaw to keep binary small",
"category": "projects/evoclaw/architecture",
"importance": 0.8,
"created_at": 1707350400,
"access_count": 3,
"score": 0.742,
"tier": "warm"
}
Scoring:
score = importance × recency_decay(age) × reinforcement(access_count)
recency_decay(age) = exp(-age_days / 30)
reinforcement(access) = 1 + 0.1 × access_count
Tier classification:
score >= 0.7 → Hot (promote to hot state)score >= 0.3 → Warm (keep)score >= 0.05 → Cold (archive)score < 0.05 → Frozen (delete after retention period)Eviction triggers:
Purpose: Long-term archive, queryable but never bulk-loaded.
Schema:
CREATE TABLE cold_memories (
id TEXT PRIMARY KEY,
agent_id TEXT NOT NULL,
text TEXT NOT NULL,
category TEXT NOT NULL,
importance REAL DEFAULT 0.5,
created_at INTEGER NOT NULL,
access_count INTEGER DEFAULT 0
);
CREATE TABLE critical_state (
agent_id TEXT PRIMARY KEY,
data TEXT NOT NULL, -- {hot_state, tree_nodes, timestamp}
updated_at INTEGER NOT NULL
);
Retention: 10 years (configurable) Cleanup: Monthly consolidation removes frozen entries older than retention period
Purpose: Hierarchical category map for O(log n) retrieval.
Constraints:
Example:
Memory Tree Index
==================================================
📂 Root (warm:15, cold:234)
📁 owner — Owner profile and preferences
Memories: warm=5, cold=89
📁 projects — Active projects
Memories: warm=8, cold=67
📁 projects/evoclaw — EvoClaw framework
Memories: warm=6, cold=45
📁 projects/evoclaw/bsc — BSC integration
Memories: warm=3, cold=12
📁 technical — Technical setup and config
Memories: warm=2, cold=34
📁 lessons — Learned lessons and rules
Memories: warm=0, cold=44
Nodes: 7/50
Size: 1842 / 2048 bytes
...
安装 Tiered Memory 后,可以对 AI 说这些话来触发它
Help me get started with Tiered Memory
Explains what Tiered Memory does, walks through the setup, and runs a quick demo based on your current project
Use Tiered Memory to evoClaw Tiered Memory Architecture v2
Invokes Tiered Memory with the right parameters and returns the result directly in the conversation
What can I do with Tiered Memory in my documents & notes workflow?
Lists the top use cases for Tiered Memory, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/tiered-memory/ 目录(个人级,所有项目可用),或 .claude/skills/tiered-memory/(项目级)。重启 AI 客户端后,用 /tiered-memory 主动调用,或让 AI 根据上下文自动发现并使用。
Tiered Memory 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Tiered Memory 可免费安装使用。请查阅仓库了解许可证信息。
EvoClaw Tiered Memory Architecture v2.1.0 - LLM-powered three-tier memory system with structured metadata extraction, URL preservation, validation, and cloud...
Tiered Memory 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Tiered Memory
Identifies repetitive steps in your workflow and sets up Tiered Memory to handle them automatically