From mybrain
Overviews MyBrain personal knowledge base with semantic search using PostgreSQL/pgvector embeddings. Covers tools (capture_thought, search_thoughts), Docker/RDS deployment, architecture, and usage examples.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mybrain:mybrain-overviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
MyBrain is a personal knowledge base with semantic search. It stores thoughts, ideas, notes, and context in PostgreSQL with vector embeddings, making everything searchable by meaning -- not just keywords.
MyBrain is a personal knowledge base with semantic search. It stores thoughts, ideas, notes, and context in PostgreSQL with vector embeddings, making everything searchable by meaning -- not just keywords.
It works as an MCP (Model Context Protocol) server, accessible from Claude Code CLI and Claude Desktop.
| Mode | Database | Best For |
|---|---|---|
| Docker | Local PostgreSQL + pgvector in containers | Self-contained, no external dependencies |
| RDS | Shared AWS RDS with ltree scoping | Teams, multi-project, persistent cloud storage |
Run /mybrain-setup to install either mode.
capture_thought with your texttext-embedding-3-small) for a 1536-dim vectorsearch_thoughts with your querymatch_thoughts_scored()When BRAIN_SCOPE is set (e.g. personal, myproject.app), all queries filter by scope. This lets multiple users or projects share one database without interference.
| Tool | Description | Uses OpenRouter | Cost |
|---|---|---|---|
capture_thought | Save a thought with metadata | Yes | ~$0.0001 |
search_thoughts | Semantic search with scored ranking | Yes | ~$0.0001 |
browse_thoughts | List recent thoughts, filter by metadata | No | Free |
brain_stats | Total count, date range, top metadata | No | Free |
Docker mode:
Claude Code --HTTP--> mybrain_mcp (port 8787) --> mybrain_postgres
--> OpenRouter (embeddings)
RDS mode:
Claude Code --stdio--> server.mjs --> AWS RDS (projects_brain)
--> OpenRouter (embeddings)
Claude Desktop (either mode):
Claude Desktop --HTTPS--> Cloudflare Tunnel --> server.mjs (HTTP :8787)
The database uses the full atelier brain schema:
All data lives in PostgreSQL. OpenRouter is only used for generating embeddings -- no thought content leaves your database.
npx claudepluginhub robertsfeir/mybrainGuides reception of code review feedback: verify before implementing, avoid performative agreement, push back with technical reasoning when needed.
Design banners for social media, ads, website heroes, and print with multiple art direction options and AI-generated visuals.