Neuralbrain — AI skill for Claude Code
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
Related Skills
Hybrid Code RAG MCP
Local code search engine for AI agents: incremental indexer, hybrid retrieval (BM25 + dense embeddings in Qdra
TeamAgentMemory
Self-hosted memory service for AI agents that work in teams, written in Rust: layered L0→L3 memory, async LLM
Local Memory MCP
Persistent local memory for Claude, Cursor & Codex. 21 MCP tools, hybrid retrieval (BM25 + vector RRF), bi-tem
Anyindex MCP
Local MCP server for semantic code search. AST-aware chunking with tree-sitter, offline ONNX embeddings, hybri
Kb Index
Hybrid (vector + BM25) search over many markdown repos in one SQLite file, served over MCP for coding agents:
AI Document Assistant
Secure, multi-tenant enterprise document intelligence & RAG platform: sandboxed ingestion, hybrid pgvector/Qdr
Related Agents
Quantum Database Architect
Database architect and SQL optimizer for PostgreSQL, MySQL, SQLite, zero-downtime migrations, indexing, and Qd
Mpep Researcher
Expert in searching and interpreting USPTO MPEP, 35 USC statutes, 37 CFR regulations using hybrid RAG search (
Python RAG Backend Engineer
Production-grade Python RAG backend engineer specializing in ChromaDB vector storage, sentence-transformers em