Skip to content
TakoAPI
Back to skills

braindb

by chair4ce

Notes & PKM
582Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Persistent, semantic memory for AI agents.

Description

What This Skill Does

BrainDB gives AI agents persistent memory that survives session resets and context compaction. It automatically extracts facts from conversations and retrieves relevant ones on demand, with no manual commands required. Memory persists across restarts with 98% recall accuracy and 12-20ms average query latency.

768-dimensional semantic search finds conceptually related memories rather than relying on keyword matching or manual file lookups.

When to Use It

  • Remembering project architecture decisions across multi-day coding sessions
  • Recalling user preferences without re-explaining them each session
  • Importing existing MEMORY.md files and daily notes into semantic search
  • Persisting troubleshooting history and past resolutions
  • Maintaining long-running project context that outlasts the AI context window

Example Workflow

INPUT

User says: 'We switched from MongoDB to PostgreSQL last week because of the relational data requirements.'

AGENT
  1. 1

    OpenClaw detects a notable fact and forwards it to BrainDB

  2. 2

    BrainDB encodes the fact as a 768-dim embedding and stores it in Neo4j

  3. 3

    In a new session, user asks about the database setup

  4. 4

    BrainDB retrieves the stored decision via semantic similarity search

  5. 5

    AI receives the prior context and includes it in its response

OUTPUT

AI correctly references the PostgreSQL decision and its rationale without being re-told

Requirements

  • Docker (runs the Neo4j, embedder, and gateway containers; requires ~4 GB RAM and ~3 GB disk)

Installation

clawhub install chair4ce/braindb

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links