robertsfeir/mybrain/mybrain-overview

Claude Code and agent skill by robertsfeir/mybrain

Trust tier 3
  • community
Source check pending

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-overview

SKILL.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

ModeDatabaseBest For
DockerLocal PostgreSQL + pgvector in containersSelf-contained, no external dependencies
RDSShared AWS RDS with ltree scopingTeams, multi-project, persistent cloud storage

Run /mybrain-setup to install either mode.

How It Works

Storing a thought
  1. You say "remember this: ..." to Claude
  2. Claude calls capture_thought with your text
  3. The server sends text to OpenRouter (text-embedding-3-small) for a 1536-dim vector
  4. Text, vector, metadata, and scope are stored in PostgreSQL
  5. HNSW index on the embedding column enables fast search
Searching
  1. You ask "what do I know about X?"
  2. Claude calls search_thoughts with your query
  3. Query is embedded via OpenRouter, then matched using match_thoughts_scored()
  4. Three-axis scoring: (3.0 * relevance) + (2.0 * importance) + (0.5 * recency)
  5. 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

ToolDescriptionUses OpenRouterCost
capture_thoughtSave a thought with metadataYes~$0.0001
search_thoughtsSemantic search with scored rankingYes~$0.0001
browse_thoughtsList recent thoughts, filter by metadataNoFree
brain_statsTotal count, date range, top metadataNoFree

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

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)

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/robertsfeir/mybrain/mybrain-overview/badge)](https://verified-skill.com/skills/robertsfeir/mybrain/mybrain-overview)

Something wrong with this skill or its page? Tell us.