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.
npx skills add robertsfeir/mybrain --skill mybrain-overviewgit clone --depth 1 https://github.com/robertsfeir/mybrainWrote 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.
[](https://agentmods.dev/skills/robertsfeir/mybrain/mybrain-overview)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00827 |
| Opus 5.5 | $0.00018 | $0.00331 |
| Sonnet 5.5 | $0.00009 | $0.00165 |
| Haiku 4.5 | $0.00005 | $0.00083 |
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 3mo 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.
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
- 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 |
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.
- 3mo ago First seen · 90 lines · 46 tokens per session scan A 0d83c68f3a75
mybrain-overview is a skill published in the GitHub repository robertsfeir/mybrain (1 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 827 once invoked, about $0.0002 per session on Opus 5.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.
mybrain-overview compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mybrain-overviewrobertsfeir/mybrain | Skill | 1 | 6mo ago | Apache-2.0 | A | 46 | Claude Code |
| knowledge-ingestkeshrath/agent-knowledge | Skill | 19 | 5d ago | MIT | A | 96 | Claude Code |
| llm-wikiAr9av/obsidian-wiki | Skill | 3.8k | today | MIT | A | 41 | Claude Code |
| wegent-knowledgewecode-ai/Wegent | Skill | 897 | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| karpathy-llm-wikiAstro-Han/karpathy-llm-wiki | Skill | 2.9k | 4mo ago | MIT | A | 67 | Claude Code, Codex |
| kb-memoryfish827-08/rag-kb | Skill | 5 | 21d ago | Apache-2.0 | A | 112 | Claude Code, Codex |
| rag-evalLucasSantana-Dev/hitgate | Skill | 4 | 20d ago | MIT | A | 0 | Claude Code, Codex |