This file helps AI coding tools (Claude Code, Codex, Cursor, etc.) work effectively in this repo.
Open Brain is a persistent AI memory system — one database (Supabase + pgvector), one MCP protocol, any AI client. This repo contains the extensions, recipes, schemas, dashboards, integrations, and skills that the community builds on top of the core Open Brain setup.
License: FSL-1.1-MIT. No commercial derivative works. Keep this in mind when generating code or suggesting dependencies.
extensions/ — Curated, ordered learning path (6 builds). Do NOT add without maintainer approval.
primitives/ — Reusable concept guides (must be referenced by 2+ extensions). Curated.
recipes/ — Standalone capability builds. Open for community contributions.
schemas/ — Database table extensions. Open.
dashboards/ — Frontend templates (Vercel/Netlify). Open.
integrations/ — MCP extensions, webhooks, capture sources. Open.
skills/ — Reusable AI client skills and prompt packs. Open.
docs/ — Setup guides, FAQ, companion prompts.
resources/ — Official companion files and packaged exports.
Every contribution lives in its own subfolder under the right category and must include README.md + metadata.json.
- Never modify the core
thoughtstable structure. Adding columns is fine; altering or dropping existing ones is not. - No credentials, API keys, or secrets in any file. Use environment variables.
- No binary blobs over 1MB. No
.exe,.dmg,.zip,.tar.gz. - No
DROP TABLE,DROP DATABASE,TRUNCATE, or unqualifiedDELETE FROMin SQL files. - MCP servers must be remote (Supabase Edge Functions), not local. Never use
claude_desktop_config.json,StdioServerTransport, or local Node.js servers. All extensions deploy as Edge Functions and connect via Claude Desktop's custom connectors UI (Settings → Connectors → Add custom connector → paste URL). Seedocs/01-getting-started.mdStep 7 for the pattern.
- Title format:
[category] Short description(e.g.,[recipes] Email history import via Gmail API,[skills] Panning for Gold standalone skill pack) - Branch convention:
contrib/<github-username>/<short-description> - Commit prefixes:
[category]matching the contribution type - Every PR must pass the automated review checks in
.github/workflows/ob1-review.ymlbefore human review - See
CONTRIBUTING.mdfor the full review process, metadata.json template, and README requirements
CONTRIBUTING.md— Source of truth for contribution rules, metadata format, and the review process.github/workflows/ob1-review.yml— Automated PR review.github/metadata.schema.json— JSON schema for metadata.json validation.github/PULL_REQUEST_TEMPLATE.md— PR description templateLICENSE.md— FSL-1.1-MIT terms