跳到正文
TakoAPI
返回技能列表

brain-cms

由 harrey401 提供

Coding Agents & IDEs
339下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Continuum Memory System (CMS) for OpenClaw agents.

描述

该技能的功能

Replaces flat MEMORY.md files with a multi-layer memory architecture for OpenClaw agents. Uses a hippocampal router, LanceDB vector store, and automated NREM/REM sleep cycles to load only relevant context per session. Modeled on neuroscience concepts like long-term potentiation and spreading activation.

Loads 50-line context cores with on-demand schema retrieval instead of injecting 150-300 lines every session, cutting token usage by 40-60%.

何时使用

  • Reducing token costs on long-running agents
  • Setting up persistent memory across agent sessions
  • Semantic search over accumulated agent knowledge
  • Auto-consolidating daily logs into structured schemas
  • Preserving high-significance events as permanent anchors

示例工作流

输入

User asks: 'What happened in last week's project demo?'

智能体
  1. 1

    Check memory/INDEX.md for relevant topic triggers

  2. 2

    Load matching semantic schema from memory/<topic>.md

  3. 3

    Query ANCHORS.md for any CRITICAL-tagged events

  4. 4

    Run vector similarity search via query_memory.py if topic is ambiguous

  5. 5

    Return consolidated context from matched layers

输出

Agent retrieves only the relevant episodic and anchor entries instead of loading the full memory file

前置要求

  • Ollama installed and running locally

安装

clawhub install harrey401/brain-cms

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接