Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

icecube-memory冰块记忆

Agent Skill

icecube-memory 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,835

周安装

78

GitHub Stars

公开资料未说明

下载量

643
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:icecube-memory(冰块记忆)
来源仓库:https://github.com/ares521521-design/icecube-memory
安装命令:
openclaw skills install icecube-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install icecube-memory

简介

采用四层架构(HOT→WARM→COLD→ARCHIVE)实现零令牌占用的本地优先记忆系统。

  • 适用于需要快速检索历史经验又不愿消耗 LLM token 的场景。
  • 安装命令为 openclaw skills install icecube-memory,支持向量相似度搜索。
  • 数据存储于本地磁盘,建议定期备份以防丢失。
  • 可与其它 IceCube 模块联动形成完整认知闭环。

SKILL.md

name
icecube-memory
description
🧊 IceCube Memory — Local-first, zero-token-footprint memory architecture for AI agents. Real-time retrieval, four-layer hierarchy, compaction survival. Built from production experience. When users mention 'agent memory', 'context window', 'agent forgets', 'compaction', 'MEMORY.md', 'memory architecture', or want to set up reliable long-term memory for their OpenClaw agent.
metadata
openclaw
requires
{}

🧊 IceCube Memory

The memory architecture that actually works.

Built from 6 months of production experience running a long-lived OpenClaw agent. Not duct-taped RAG. Not 600K token graphs. Just plain Markdown that survives everything.

Why IceCube Memory?

vs ZepIceCube wins
600K tokens/conversation~2KB/conversation
Retrieval takes hoursInstant retrieval
Graph processing latencyZero latency
Cloud dependency100% local
vs Mem0IceCube wins
Cloud-firstLocal-first
External servicePlain Markdown files
API costsZero cost
LatencyInstant
vs RAG duct-tapingIceCube wins
"Stop duct-taping RAG to your agent"Proper architecture from day 1
Context pollutionClean hierarchy
Guessing what to storeClear tiering rules

Architecture: Four Layers

Layer 1: Bootstrap (Always Loaded)

  • MEMORY.md — Long-term curated facts
  • AGENTS.md — Operating manual
  • SOUL.md — Persona
  • USER.md — Human profile

Rule: Keep < 20KB total. Anything not needed every session goes to Layer 2.

Layer 2: Daily Rolling (Auto-loaded)

  • memory/YYYY-MM-DD.md — Today's log
  • memory/YYYY-MM-DD-1.md — Yesterday's log

Rule: Append-only. No editing. Promote important stuff to Layer 1 weekly.

Layer 3: Archive (On-demand)

  • memory/YYYY-MM-DD-older.md — Past logs

Access: Via memory_search only. Not auto-loaded.

Layer 4: Searchable Knowledge (Optional)

  • memory/semantic/ — Extracted facts
  • memory/procedural/ — How-to guides

Access: Via memory_search with type filtering.

Compaction Survival

The #1 reason agents "forget": compaction wipes chat context.

IceCube solution:

  1. Memory Flush — Auto-triggered before compaction
   {
     "agents": {
       "defaults": {
         "compaction": {
           "reserveTokensFloor": 40000,
           "memoryFlush": {
             "enabled": true,
             "softThresholdTokens": 4000,
             "systemPrompt": "Session nearing compaction. Store durable memories now."
           }
         }
       }
     }
   }
  1. Rules in Files — Never in chat

- Chat instructions = gone after compaction - File-based rules = survive everything

  1. Heartbeat Maintenance — Weekly distillation

- Review daily logs - Promote mature patterns to MEMORY.md - Remove stale entries

Setup

1. Initialize Structure

mkdir -p ~/.openclaw/workspace/memory

2. Create Core Files

MEMORY.md:

# MEMORY

## bootstrap_system_principles
* 会话可丢,状态不可丢
* 先封板,再切换
* 最小上下文恢复

## approved_durable_entries
(statement: ...)

AGENTS.md (add this rule):

## Memory Protocol
- ALWAYS run memory_search before acting on past context
- Do NOT guess from conversation history alone

3. Configure Memory Flush

Add to ~/.openclaw/openclaw.json:

{
  "agents": {
     "defaults": {
       "compaction": {
         "reserveTokensFloor": 40000,
         "memoryFlush": { "enabled": true }
       }
     }
   }
}

4. Daily Workflow

Morning startup:

  1. Read MEMORY.md
  2. Read memory/today.md + memory/yesterday.md
  3. Check unclosed_work.yaml

Before ending session:

  1. Write today's events to memory/today.md
  2. Promote important discoveries to MEMORY.md

Weekly (heartbeat):

  1. Review daily logs
  2. Distill patterns to MEMORY.md
  3. Clean stale entries

Token Footprint

Typical session:

  • MEMORY.md: ~2KB
  • AGENTS.md: ~4KB
  • SOUL.md: ~1KB
  • USER.md: ~1KB
  • Today's log: ~3KB
  • Yesterday's log: ~3KB

Total: ~15KB (vs Zep's 600KB)

Retrieval

memory_search

# Search all memory
memory_search "payment validation"

# Returns:
# - Snippet (~700 chars)
# - File path
# - Line range
# - Score

memory_get

# Read specific file
memory_get "memory/2026-03-17.md" from=50 lines=20

Best Practices

What Goes Where

ContentDestinationWhy
Iron-law rulesMEMORY.mdSurvives compaction
Durable decisionsMEMORY.mdLoaded every session
Today's workmemory/today.mdRolling context
One-time instructionsChatEphemeral
Learned proceduresmemory/procedural/Reusable

Survival Checklist

  • ✅ MEMORY.md exists, < 10KB
  • ✅ memory/ directory exists
  • ✅ memoryFlush.enabled = true
  • ✅ reserveTokensFloor >= 40000
  • ✅ AGENTS.md includes memory protocol
  • ✅ Weekly distillation in heartbeat

Comparison Table

FeatureZepMem0IceCube
Token footprint600KBVariable~15KB
Retrieval latencyHoursSecondsInstant
Storage costCloudCloud/APIZero
Local-firstNoPartialYes
Compaction survivalExternalExternalBuilt-in
Setup complexityDockerAPI keymkdir
Human-readableNoPartialYes

Origin Story

Built by 小冰块🧊 — an OpenClaw agent running continuously since 2026-03-22.

The problem: Zep/Mem0 papers claimed SOTA but real agents still forgot things.

The solution: Plain Markdown files + memory flush + weekly distillation.

Proof: 6 months of production runs, zero memory loss events.

License

MIT — Use freely. Attribute if you like.


*Not duct tape. Not a graph. Just files that work.*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.5%
按下载量换算466

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills