← All skills
Tencent SkillHub Β· AI

Brain CMS

Neuroscience-based multi-layer memory system for OpenClaw agents that improves context efficiency using semantic schemas, vector stores, and sleep cycle cons...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Neuroscience-based multi-layer memory system for OpenClaw agents that improves context efficiency using semantic schemas, vector stores, and sleep cycle cons...

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, brain_scripts/index_memory.py, brain_scripts/nrem.py, brain_scripts/query_memory.py, brain_scripts/rem.py, install.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 8 sections Open source page

Brain CMS 🧠

A neuroscience-inspired memory architecture for OpenClaw agents. Replaces flat file injection with sparse, semantic, frequency-gated memory loading.

What This Installs

memory/ β”œβ”€β”€ INDEX.md ← Hippocampus: topic router + cross-links β”œβ”€β”€ ANCHORS.md ← Permanent high-significance event store └── schemas/ ← Domain-specific semantic schemas (you create these) memory_brain/ β”œβ”€β”€ index_memory.py ← Embeds schemas into LanceDB vector store β”œβ”€β”€ query_memory.py ← Semantic similarity search β”œβ”€β”€ nrem.py ← NREM sleep cycle (compression + anchor promotion) β”œβ”€β”€ rem.py ← REM sleep cycle (LLM consolidation via Ollama) └── vectorstore/ ← LanceDB database (auto-created)

Setup (one-time)

# 1. Run the installer python3 ~/.openclaw/workspace/skills/brain-cms/install.py # 2. Index your schemas cd ~/.openclaw/workspace/memory_brain .venv/bin/python3 index_memory.py # 3. Test retrieval .venv/bin/python3 query_memory.py "your topic here" --sources-only

How It Works

Boot sequence: Load MEMORY.md (lean core) + today's daily log. Nothing else. When a topic appears: Read memory/INDEX.md β†’ load only the relevant schemas (spreading activation). Check memory/ANCHORS.md for high-significance events. For ambiguous topics: Run semantic search: memory_brain/.venv/bin/python3 memory_brain/query_memory.py "message text" --sources-only Auto-schema creation: When a new significant project or domain appears: Create memory/<topic>.md Add to INDEX.md with triggers + priority + cross-links Re-index: memory_brain/.venv/bin/python3 memory_brain/index_memory.py Sleep cycles: # NREM β€” run on shutdown (~30s, no LLM) cd ~/.openclaw/workspace/memory_brain && .venv/bin/python3 nrem.py # REM β€” run weekly (2-5 min, uses local llama3.2:3b, free) cd ~/.openclaw/workspace/memory_brain && .venv/bin/python3 rem.py

Memory Layers (CMS)

LayerFilesWhen loadedPurposeWorkingMEMORY.md + today logEvery sessionCore contextEpisodicmemory/YYYY-MM-DD.mdSession bootRecent eventsSemanticmemory/*.md schemasOn triggerDomain knowledgeAnchorsmemory/ANCHORS.mdOn CRITICAL topicsPermanent ground truthVectormemory_brain/vectorstore/On demandSemantic search

Tagging Anchors

In any daily log, tag high-significance events: [ANCHOR] Major demo success β€” full pipeline working end-to-end NREM auto-promotes these to ANCHORS.md on next shutdown.

Token Savings

Typical MEMORY.md: 150-300 lines injected every session. With Brain CMS: ~50-line core + schemas loaded only when relevant. Estimated savings: 40-60% reduction in context tokens per session.

Requirements

Python 3.10+ Ollama (for embeddings + REM consolidation) 500MB+ storage for vector store and models lancedb, numpy, pyarrow, requests (auto-installed)

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
5 Scripts1 Docs
  • SKILL.md Primary doc
  • brain_scripts/index_memory.py Scripts
  • brain_scripts/nrem.py Scripts
  • brain_scripts/query_memory.py Scripts
  • brain_scripts/rem.py Scripts
  • install.py Scripts