Lewati ke konten
TakoAPI
Kembali ke skill

brain-cms

oleh harrey401

Coding Agents & IDEs
339Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Continuum Memory System (CMS) for OpenClaw agents.

Deskripsi

Apa yang Dilakukan Skill Ini

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%.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

INPUT

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

AGENT
  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

OUTPUT

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

Persyaratan

  • Ollama installed and running locally

Instalasi

clawhub install harrey401/brain-cms

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan