robertsfeir/mybrain/mybrain-overview
Claude Code and agent skill by robertsfeir/mybrain
- community
Checking that the SKILL.md file is still in the repository.
Use when users ask about MyBrain, what it does, how it works, what tools are available, or how to use the personal knowledge base. Covers architecture, tools, deployment modes, and usage.
Install
npx vskill@latest install robertsfeir/mybrain/mybrain-overviewSKILL.md
The same SKILL.md was published earlier as robertsfeir/mybrain/mybrain-overview.
MyBrain -- Overview
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.
Deployment Modes
| 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.
How It Works
Storing a thought
- You say "remember this: ..." to Claude
- Claude calls
capture_thoughtwith your text - The server sends text to OpenRouter (
text-embedding-3-small) for a 1536-dim vector - Text, vector, metadata, and scope are stored in PostgreSQL
- HNSW index on the embedding column enables fast search
Searching
- You ask "what do I know about X?"
- Claude calls
search_thoughtswith your query - Query is embedded via OpenRouter, then matched using
match_thoughts_scored() - Three-axis scoring: (3.0 * relevance) + (2.0 * importance) + (0.5 * recency)
- Results return sorted by combined score
ltree Scoping
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.
- Docker mode: scope is optional (single-user, single database)
- RDS mode: scope is required (shared database, multi-tenant)
Tools
| 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 |
Usage Examples
- "Remember this: Sarah mentioned she wants to start a consulting business"
- "What do I know about Sarah?"
- "Show me my recent thoughts"
- "How many thoughts do I have?"
- "Search for anything about project architecture"
- "Capture thought: The deploy pipeline needs a staging gate before prod"
Architecture
Schema
The database uses the full atelier brain schema:
- thoughts table with ltree scope, thought_type, importance, status
- thought_relations for typed edges between thoughts
- match_thoughts_scored() -- three-axis scoring function
- HNSW index on embeddings, GiST index on scope, GIN index on metadata
State
All data lives in PostgreSQL. OpenRouter is only used for generating embeddings -- no thought content leaves your database.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mybrain-overview/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/robertsfeir/mybrain/mybrain-overview)