derricke

Neuralbrain — AI skill for Claude Code

AI community

Give AI coding agents persistent memory they can actually trust.

How to install Neuralbrain

This entry records only its repository, not the path inside it, so there is no exact command to give. Open derricke/neuralbrain and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Neuralbrain does

Give AI coding agents persistent memory they can actually trust. Built natively in Node.js with SQLite as the source of truth, hybrid Qdrant + BM25 search, explicit project scoping, and zero LLMs in the capture path. Works out of the box with Claude Code, Antigravity, and Cursor over MCP or HTTP—no silent data loss or framework bloat.

Alternatives in AI

  • Xerj — Local-first search engine and MCP server for AI agents 12.5k ★
  • Flow Define — Multi-AI requirements scoping using Codex and Gemini CLIs (Double Diamond Define phase) 2.8k ★
  • Guild — Shared context, memory, and task coordination across AI coding agents 311 ★

README

Neuralbrain

A standalone, deterministic memory service — a **"brain"** — for autonomous and interactive coding agents (Google Antigravity, Claude Code, Claude Desktop, Cursor, and custom orchestrators).

Extracted from the NeuralSwarm agent-coding orchestrator and generalised from swarm roles to **projects, notes, and task trajectories**, serving any coding agent over HTTP REST and Model Context Protocol (MCP).


Navigation & Architecture Documentation

Document Purpose
AGENTS.md / CLAUDE.md The Constitution: fundamental rules, architectural invariants, and operational mandates
DECISIONS.md Architectural Decision Records (ADRs) and active design considerations
docs/BUILD-ORDER.md 11-step implementation roadmap and verification log
docs/SCHEMA.md Complete SQLite DDL, indexes, triggers, and Qdrant payload schema
docs/API.md Full HTTP REST endpoint specifications, request/response schemas, and status codes
docs/MCP.md Model Context Protocol tool definitions (brain_search, brain_save, etc.)
docs/CONTRACTS.md Consolidation JSON schemas and 8-check mechanical verification gate
docs/EMBEDDER.md Vector embedder architecture, MRL math, benchmarks, and atomic cutovers
docs/CONSOLIDATION.md Derived consolidation, prompt comparisons, and token traps
docs/NOTES-GRAIN.md Notes grain taxonomy, relational schema, and 202-record legacy audit
docs/DIVERGENCES.md Architectural divergences from the legacy NeuralSwarm orchestrator
.env.example Exhaustive configuration template with inline architectural rationale

Core Invariants: The 6 Non-Negotiable Rules

Neuralbrain was built to replace m