mybrain-overview

mybrain-overview is a skill for Claude Code from robertsfeir/mybrain. It costs 46 tokens per session (827 once invoked), scanned A, original, Apache-2.0.

A guide to MyBrain, a personal knowledge base that stores notes, ideas, and context and lets users search them by meaning. It explains its PostgreSQL database, vector embeddings, deployment options, and access through MCP from Claude Code or Claude Desktop.

In plain words
What is it for?
Use it when setting up MyBrain, choosing local Docker or shared AWS storage, saving thoughts, searching stored knowledge, or understanding its available tools and architecture.
Why use it?
It explains how information is captured, stored, and found without requiring the reader to know semantic search, vector embeddings, or MCP. It helps an assistant use the knowledge base correctly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument; mentions Claude Code.

Part of the mybrain plugin — 2 skills shipped together

Good fit Use it when setting up MyBrain, choosing local Docker or shared AWS storage, saving thoughts, searching stored knowledge, or understanding its available tools and architecture.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robertsfeir/mybrain/mybrain-overview
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add robertsfeir/mybrain --skill mybrain-overview
Clone the repo
git clone --depth 1 https://github.com/robertsfeir/mybrain

Made for: Claude Code.

Or install mybrain, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mybrain-overview

README.md
[![agentmods](https://agentmods.dev/badge/skills/robertsfeir/mybrain/mybrain-overview/github.svg)](https://agentmods.dev/skills/robertsfeir/mybrain/mybrain-overview)
Your own site
<a href="https://agentmods.dev/skills/robertsfeir/mybrain/mybrain-overview"><img src="https://agentmods.dev/badge/skills/robertsfeir/mybrain/mybrain-overview/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mybrain-overview

Your own site · 80×15
<a href="https://agentmods.dev/skills/robertsfeir/mybrain/mybrain-overview"><img src="https://agentmods.dev/badge/skills/robertsfeir/mybrain/mybrain-overview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00827
Opus 5 $0.00023 $0.00413
Sonnet 5 $0.00009 $0.00165
Haiku 4.5 $0.00005 $0.00083

Measured 8d ago against content hash 0d83c68f3a75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

mybrain-overview scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mybrain-overview/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  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

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

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 90 lines · 46 tokens per session scan A 0d83c68f3a75

Subscribe to this mod's changes

mybrain-overview is a skill published in the GitHub repository robertsfeir/mybrain (0 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 827 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

knowledge-ingest

Ingest or update a codebase in the agent-knowledge base. First run bootstraps the knowledge base from scratch; subsequent runs are incremental (only changed/new/deleted files reprocessed). Uses tree-sitter for zero-token structural extraction. Trigger on "/knowledge-ingest", "ingest this codebase", "load this into…

keshrath/agent-knowledge · 96 tokens

wegent-knowledge

Knowledge base management and search tools for Wegent. Provides capabilities to list, create, update, and search knowledge bases and documents using RAG retrieval. Use this skill when the user wants to manage knowledge bases, documents, or search for information programmatically.

wecode-ai/Wegent · 51 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

knowledge-base-interop

Two-layer knowledge architecture — curate in LLM Wiki, search in Astra KB. Covers input classification, source-to-wiki ingestion, wiki-to-KB export (batch + realtime), semantic chunking, SAG extraction, health checks, and multi-format export.

alrcatraz/astra-knowledge-base-mcp · 56 tokens

memory-systems

This skill should be used for persistent semantic memory in agent systems: cross-session knowledge retention, entity tracking, temporal validity, graph or vector retrieval, memory consolidation, and memory benchmark selection. Route file-backed scratchpads to filesystem-context, handoff summaries to…

fabioc-aloha/Alex_Skill_Mall · 68 tokens

arrowspace

Spectral vector search using graph Laplacian eigenstructure. Use when cosine/L2 similarity misses latent structure in your embeddings.

sickn33/agentic-awesome-skills · 28 tokens