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 agentmods add skills/eslider/2dph/brainnpx skills add eSlider/2dph --skill braingit clone --depth 1 https://github.com/eSlider/2dphWhat 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 | $0.00075 | $0.00750 |
| Opus 5 | $0.00037 | $0.00375 |
| Sonnet 5 | $0.00015 | $0.00150 |
| Haiku 4.5 | $0.00007 | $0.00075 |
Grade A, and why
brain 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 yesterday.
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.
What it actually says
brain — deduction over facts and info
One embedded Ladybug graph (var/kb.lbug, read-only when queried) holding two
roots:
- facts — assertions backed by ≥2 independent sources (docker ps × compose
× ssh-config × docs),
confidence: confirmed. - info — descriptive/narrative leafs, searchable, never asserted.
Search = deduction: facts root first, info root second, web-search as the
second independent source when local roots cannot confirm. An answer is
confirmed only if it comes off the facts root; anything else is
(not confirmed).
bin/brain/search.go "Matrix federation" # pointers + snippets, YAML
bin/brain/search.go "onlyoffice postgres" --root facts # restrict to confirmed
bin/brain/search.go "where is cs-lexicon" --json | yq '.[].ref'
bin/brain/search.go "who works where" --as-of 2025-01-01 # D24 intervals
bin/brain/add.go --text T --root facts --source "a.md x b.md"
bin/brain/get.go <id> --body # full chunk only when needed
bin/brain/stats.go # index health
bin/brain/eval.go # recall@5 >= 0.95 gate (Go, via Zig CGO)
bin/kb/search is a deprecated wrapper. --hop N walks
FROM_FILE / HAS_VERSION / AUTHORED from each hit (1=File, 3=Person).
--as-of YYYY-MM-DD keeps leafs whose valid_from/valid_to cover that day
(empty interval = always; not D16 source staleness).
Rules
- Search before you read. Never grep a repo for a concept the graph covers.
--root factsreturns only confirmed evidence-linked answers. Default shows facts first, then info leafs clearly marked(not confirmed).- If there is no facts hit,
bin/brain/search.goconsults SearXNG and adds awebblock (kept apart from graph hits).throttled/skipped/refusedare not evidence of absence.--root facts|infoand--no-webskip the web. - If recall looks wrong, run
bin/brain/eval.go; it gates control questions and should stay at or above 95% recall@5. - Contradictions (≥2 yes vs ≥2 no) stay
(not confirmed)untilbin/facts/audit contradictfirestemporal_freshnessorauthority_pairing. - Agents:
GET /openapi.jsonandPOST /mcponbin/brain/serve.go(same handlers; tool names match pathssearch/get/stats/audit). Generated list: tools.md. - Never report an unconfirmed single-source local answer as fact.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday First seen · 56 lines · 75 tokens per session scan A 5d1e5001ddc1
brain is a skill published in the GitHub repository eSlider/2dph (2 stars, last pushed 2d ago), licensed MIT. It adds 75 tokens to every session and 750 once invoked, about $0.0004 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
engrama-onboard
Build a personalized Engrama memory graph for any user through a conversational interview. Use this skill whenever someone says "set up Engrama", "create my graph", "onboard", "build my profile", "configure Engrama for me", or asks how to start using Engrama. Also use when the user mentions they have a different role…
life-memory-mcp-connect
Set up an external AI agent to connect to the Life Memory System through MCP, including verified installation, retrieval, RawEvent writes, sync, diagnostics, and Working-Agent governance. Use when an agent needs to install or verify the Life Memory MCP bridge, onboard Codex/Claude/Cursor/Windsurf style clients, or…
life-memory-media-ingestion
Teach an external agent how to send links, files, images, tables, audio, and video into the Life Memory System as reviewable media note artifacts through MCP.
fortemi-roadmap-skill
Advance the Fortemi delivery roadmap by one concrete increment and document the progress. Reads .aiwg/planning/roadmap.md, picks the next actionable item respecting phase gating, does or dispatches the work, then records progress back into the roadmap. Built for fresh sessions and simple loops.
fortemi-monthly-report
Author a Fortémi monthly report as a docsite blog post — gather what shipped that month from git history, CHANGELOG, and release announcements, then write it up FOR USERS in plain language and publish it to the Pagenary blog collection.
graph-mutation-plan
Cookbook for composing an applygraphmutations plan — stable entitykey patterns, the canonical label/edge vocabulary, evidence/invalidation/confidence discipline, and a worked example. Load this when building a non-trivial mutation plan.