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 | $0.00023 | $0.00413 |
| Sonnet 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 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.
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.
- 8d ago First seen · 90 lines · 46 tokens per session scan A 0d83c68f3a75
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.
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…
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.
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'.
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.
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…
arrowspace
Spectral vector search using graph Laplacian eigenstructure. Use when cosine/L2 similarity misses latent structure in your embeddings.