ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

Brain Cms

Skill by harrey401

Why use this skill?

Upgrade your OpenClaw agent with Brain CMS. A professional multi-layer memory system using LanceDB for semantic search and efficient token management.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/harrey401/brain-cms
Or

What This Skill Does

Brain CMS (Continuum Memory System) is a sophisticated architecture designed to evolve OpenClaw agents from basic file-reading assistants into entities with long-term, neuroscience-inspired memory. Rather than relying on simple, linear file parsing that consumes excessive token counts and fails on long-running projects, Brain CMS introduces a multi-layered approach. It acts as a cognitive engine using LanceDB and the nomic-embed-text embedding model to perform semantic retrieval. The system is comprised of several key components: a hippocampal router (INDEX.md) that directs information flow, an anchor system for high-significance event storage, and automated sleep cycles. During NREM phases, the system handles data compression and anchor promotion, while REM cycles utilize Ollama-powered consolidation to strengthen associations. By implementing this, your agent gains the ability to perform 'spreading activation,' only loading relevant schemas into context, which drastically improves both the quality of responses and the efficiency of your token budget.

Installation

Installation is streamlined for OpenClaw users via the clawhub CLI. First, ensure you have Python 3 and Ollama installed. Run the command: clawhub install openclaw/skills/skills/harrey401/brain-cms. Once installed, navigate to the workspace directory to initialize the virtual environment and install the required dependencies: cd ~/.openclaw/workspace/memory_brain && python3 -m venv .venv && .venv/bin/pip install lancedb numpy pyarrow requests. Finally, ensure your local Ollama instance has the necessary models pulled: ollama pull nomic-embed-text && ollama pull llama3.2:3b. After running the indexing script provided, the system will be ready to manage your agent's persistent memory architecture.

Use Cases

Brain CMS is best suited for complex, long-running agent tasks where context management is the primary bottleneck. Ideal use cases include: 1) Long-term software development projects where the agent needs to remember architecture decisions made weeks ago. 2) Research agents that aggregate massive amounts of literature and need to cross-reference data via semantic search. 3) Personal life management where the agent tracks habits, health data, and recurring project goals. 4) Enterprise agents that require domain-specific knowledge bases which are too large to fit into a standard prompt window.

Example Prompts

  1. 'Brain, pull up the architectural decisions regarding the database schema from last month's meeting logs.'
  2. 'Run a REM consolidation cycle for the current project to optimize the memory bank for upcoming tasks.'
  3. 'Query the memory store for any references to the user authentication flow and update our INDEX.md mapping accordingly.'

Tips & Limitations

To maximize the performance of Brain CMS, maintain a clean INDEX.md. The quality of the 'Hippocampal router' dictates the agent's ability to locate information effectively. Avoid indexing trivial, ephemeral logs; instead, summarize them during the NREM phase. Note that this skill requires local compute resources for vector storage and embedding generation. If you find the agent is losing track, force an index rebuild using index_memory.py. Be mindful that while this reduces overall token usage by minimizing context stuffing, the initial embedding process does require significant processing time for large knowledge bases.

Metadata

Author@harrey401
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-harrey401-brain-cms": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#memory-optimization#vector-database#neuroscience-ai#context-management#lancedb
Safety Score: 4/5

Flags: file-write, file-read, code-execution

Related Skills

lofy-home

Smart home control for the Lofy AI assistant — scene modes (study, chill, sleep, morning, grind), device management via Home Assistant REST API, presence-based automation, natural language commands for lights, music, thermostat, and PC wake-on-LAN. Use when controlling smart home devices, activating scene modes, or managing home automation.

harrey401 2387

lofy-career

Job search automation for the Lofy AI assistant — application tracking, resume tailoring to job descriptions, interview prep with company research, follow-up management with draft emails, and pipeline analytics. Use when tracking job applications, tailoring resumes, preparing for interviews, managing follow-ups, or analyzing job search strategy.

harrey401 2387

lofy

Personal AI chief of staff — a complete life management system for OpenClaw. Proactive morning briefings, evening reviews, weekly reports, fitness tracking, career management, project tracking, smart home control, and brain-inspired memory architecture. Use when setting up a personal AI assistant that manages your entire life through natural conversation across Telegram, WhatsApp, Discord, or any OpenClaw channel.

harrey401 2387

lofy-projects

Project management for the Lofy AI assistant — tracks multiple projects with milestones, priority scoring engine (urgency × job relevance × momentum × energy match), meeting prep automation, time logging, stale project alerts, and work session recommendations. Use when managing projects, prioritizing work, preparing for meetings, or tracking milestones and deadlines.

harrey401 2387

lofy-life-coach

Personal accountability system for the Lofy AI assistant — morning briefings, evening reviews, weekly reports, goal tracking, habit monitoring with streak counting, and adaptive nudge logic. Use when managing daily routines, life goals, habit streaks, or delivering scheduled briefings and reviews.

harrey401 2387