thebrain-digest

thebrain-digest is a skill for Claude Code, Codex from yBookoff/thebrain-mcp. It costs 94 tokens per session (807 once invoked), scanned A, original, MIT.

A change-log summary method for TheBrain, a connected store of notes and ideas. It turns many note changes over a period into a short account grouped by topic.

In plain words
What is it for?
It helps review what was added, changed, or worked on during a week or another time period. It can also provide context from earlier work at the start of a session.
Why use it?
Raw activity logs are hard to understand because they list individual changes without explaining the larger work. Grouping changes shows what was being worked on and what may need attention.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps review what was added, changed, or worked on during a week or another time period. It can also provide context from earlier work at the start of a session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ybookoff/thebrain-mcp/thebrain-digest
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 yBookoff/thebrain-mcp --skill thebrain-digest
Clone the repo
git clone --depth 1 https://github.com/yBookoff/thebrain-mcp

Made for: Claude Code, Codex.

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 thebrain-digest

README.md
[![agentmods](https://agentmods.dev/badge/skills/ybookoff/thebrain-mcp/thebrain-digest/github.svg)](https://agentmods.dev/skills/ybookoff/thebrain-mcp/thebrain-digest)
Your own site
<a href="https://agentmods.dev/skills/ybookoff/thebrain-mcp/thebrain-digest"><img src="https://agentmods.dev/badge/skills/ybookoff/thebrain-mcp/thebrain-digest/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 thebrain-digest

Your own site · 80×15
<a href="https://agentmods.dev/skills/ybookoff/thebrain-mcp/thebrain-digest"><img src="https://agentmods.dev/badge/skills/ybookoff/thebrain-mcp/thebrain-digest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 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.00094 $0.00807
Opus 5.5 $0.00038 $0.00323
Sonnet 5.5 $0.00019 $0.00161
Haiku 4.5 $0.00009 $0.00081

Measured 13d ago against content hash 05dfc3eae417, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

thebrain-digest 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 13d 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/thebrain-digest/SKILL.md · 95 lines

How it starts

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

A digest of the brain

The modification log is unreadable on its own: a hundred lines of "note changed". The job is to turn it into an account of what the person was doing.

How to gather it

brain_recent_changes { since: "2026-08-04T00:00:00Z", limit: 200, identifiers: true }

Without since it takes a week. The tool already decodes the numeric codes into readable phrasings and names the thoughts. identifiers: true adds a Thoughts section: every thought the rows name that is still there, once, as name — identifier. Leave it out if you will not open any thought: it makes the result about a third longer.

A thought created, renamed or deleted in the period is named from the log itself, and a deleted one reads name (deleted).

Limit: the tool reads at most sixty thoughts a call. Over a long period a thought past that has the name the log kept, or reads (name not read) when it was only edited or linked in the period, and Totals says how many were not read — that is not lost data, it is saved requests. If you need a full breakdown, take a shorter period.

How to narrate it

Do not retell the log line by line. Group by theme and say what was going on.

Bad:

11 August 13:24 created — API layer
11 August 13:24 note created
11 August 13:24 created — Semantic layer
11 August 13:24 note created

Good:

The week was mostly the "Implementation" branch: four layers appeared
(API, semantics, operations, server), each with a note carrying measurements.

Separately, the tools area was extended: entries about brain_ingest and the
race condition found in it.

Old entries were revised: "Search indexing takes up to 15 seconds" was renamed
to "Writes are not immediately visible" — the earlier phrasing turned out to be
wrong.

To narrate like that, look at which thoughts changed:

brain_get_thought { thoughtId: "<identifier from the Thoughts section>" }

A few key ones are enough, not every single one.

What to pay attention to

Read the full file on GitHub · 95 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. 13d ago Changed · +8 lines 05dfc3eae417
  2. 1mo ago First seen · 87 lines · 94 tokens per session scan A b11016867b29

Subscribe to this mod's changes

thebrain-digest is a skill published in the GitHub repository yBookoff/thebrain-mcp (8 stars, last pushed 14d ago), licensed MIT. It adds 94 tokens to every session and 807 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

setup

Set up memex with provisioned Postgres (RDS + pgvector), AGENTS.md injection, first import.

timurgaleev/memex · 25 tokens

cold-start

Day-one data bootstrapping for a new brain. Sequences the highest-leverage data sources to go from empty brain to useful brain in one session. Uses the agent host's managed connectors for safe credential handling — the agent never holds raw API keys. Covers Gmail import, calendar sync, contacts seeding, X/Twitter…

timurgaleev/memex · 97 tokens

maintain

Brain health checks: back-link enforcement, citation audit, filing validation, stale info detection, orphan pages, and benchmarks. Use when asked to check brain health, run maintenance, or audit quality.

timurgaleev/memex · 44 tokens

eiirp

Everything In Its Right Place. The universal post-work organizer. After any significant work session, EIIRP runs a 7-phase audit: (1) inventory every output, (2) walk the filing taxonomy to decide where each lands, (3) check ontology consistency against the brain's actual shape, (4) file enriched brain pages, (5)…

timurgaleev/memex · 133 tokens

ingest

Route content to specialized ingestion skills. Detects input type and delegates.

timurgaleev/memex · 17 tokens

schema-author

Evolve the brain's type taxonomy. Add page types, propose new ones from corpus scans, backfill frontmatter type on existing pages, audit taxonomy health. Triggers when an agent notices untyped pages, custom domains needing typed entities (researcher, contract, deposition), or wants to see what types the brain…

timurgaleev/memex · 69 tokens