superbrain-distill

superbrain-distill is a skill for Claude Code from m3talux/superbrain. It costs 36 tokens per session (749 once invoked), scanned A, original, MIT.

A background tool that turns important events from a work session into organized notes in Obsidian, a note-taking app. It can also record a short session summary and unfinished threads.

In plain words
What is it for?
Use it to capture durable project facts, solved bugs, decisions, lessons, and working preferences from coding sessions.
Why use it?
It helps preserve useful decisions, fixes, lessons, and preferences without filling your notes with routine or low-value activity.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the superbrain plugin — 2 skills, 4 commands, 6 hooks, 1 MCP server shipped together

Good fit Use it to capture durable project facts, solved bugs, decisions, lessons, and working preferences from coding sessions.

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

Made for: Claude Code.

Or install superbrain, the plugin that ships this one along with the rest of its 2 skills, 4 commands, 6 hooks, 1 MCP server.

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 superbrain-distill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/m3talux/superbrain/superbrain-distill"><img src="https://agentmods.dev/badge/skills/m3talux/superbrain/superbrain-distill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 749 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.00749
Opus 5.5 $0.00014 $0.00300
Sonnet 5.5 $0.00007 $0.00150
Haiku 4.5 $0.00004 $0.00075

Measured 1mo ago against content hash 3b5fe86e9fcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

superbrain-distill 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 1mo 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/superbrain-distill/SKILL.md · 52 lines

How it starts

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

SuperBrain Distiller

You are SuperBrain's distiller, running headless and detached. You receive session events + salient markers (including pushback markers) and the current user-preferences doc. Many sessions are low-signal — emitting nothing is the correct outcome for those.

Output only a JSON envelope:

{ "items": [ <item>, ... ],
  "digest"?: "<=1 sentence of the session's arc",
  "openThreads"?: ["unfinished/deferred work"],
  "alsoDid"?:    ["notable work that did not become a knowledge item"] }

Quality bar — wait for signal

Each kind has a concrete emission threshold. If nothing in the session meets a threshold, output {"items":[]}. Do not invent.

  • decision — explicit deliberation (options weighed, trade-off chosen) OR documented multi-step plan with stated reasoning.
  • gotcha — bug reproduced AND diagnosed AND has a stated fix.
  • lesson — pushback that yields a generalizable rule, not a one-off correction.
  • project_fact — durable architectural / scope / ownership statement. Status updates don't count.
  • preference — user explicitly states (or sustained pushback reveals) a coding / tooling / communication preference. NEVER write SuperBrain's own distiller behavior here.
  • person — durable role / context / threads about a specific person.
  • capture — substantive item that doesn't fit above. Not a dumping ground.

Required fields per kind (structured notes, not one-liners)

  • decision: {kind, title, date, context, decision, rationale, consequences, implementation?, project?, links}
  • gotcha: {kind, title, date, project, symptom, rootCause, fix, prevention, links}
  • lesson: {kind, title, date, rule, why, whenApplies, links}
  • project_fact: {kind, title, date, project, body, links} — terse but ≤3 sentences with one sentence of context.
  • person: {kind, title, date, person, body, links}
  • preference: {kind, title: "Preferences", date, body} — body is the FULL reconciled user-preferences doc, organized by ## Category (Code style / Architecture / Tools / Communication / …). Never the distiller's own rules.
  • capture: {kind, title, date, body, links}

Read the full file on GitHub · 52 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. 1mo ago First seen · 52 lines · 36 tokens per session scan A 3b5fe86e9fcb

Subscribe to this mod's changes

superbrain-distill is a skill published in the GitHub repository m3talux/superbrain (42 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 749 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

screenpipe-api

Query the user's local and synced-device data via the screenpipe REST API at localhost:3030 — recordings, audio, UI, meetings, connected services, and memory. Use for screen activity, other-device or cross-device history, productivity, media export, connections, durable memory, or discovering and automating saved…

tonydzi/second-brain-starter-kit · 68 tokens

claudeai-sync

Pull new and changed claude.ai web conversations into an Obsidian vault, extract artifacts as first-class notes, concept-link them, and refresh the RAG index and dashboard. Idempotent: curated notes are never overwritten. Triggers: "/claudeai-sync", "pull claude.ai", "grab new claude.ai chats".

tonydzi/second-brain-starter-kit · 74 tokens

resume-last

Collect the last human session, or a specific one by id, into a seed on the clipboard, so a new session continues where the old one broke off, including after a crash or on a machine where native resume does not work. Triggers: "/resume-last", "/resume", "continue the last session".

tonydzi/second-brain-starter-kit · 66 tokens

chatgpt-sync

Pull fresh ChatGPT conversations into an Obsidian vault on demand, the manual twin of the nightly job. Incremental and idempotent by conversation id: never clobbers enriched notes, never duplicates. Triggers: "/chatgpt-sync", "pull chatgpt", "sync chatgpt chats".

tonydzi/second-brain-starter-kit · 69 tokens

apply

A browser-based job application workflow for submitting applications through services such as Ashby, Greenhouse, Lever, and Hacker News. It uses prepared candidate information, answers, job links, and cover letters.

tonydzi/second-brain-starter-kit · 66 tokens

retro-lost

Run a retrospective for an abandoned agent session (untouched for over 24 hours, never closed with a retro): rebuild context cold from the transcript, list what was built, sort Keep/Drop/Try and file the durable parts. Use from a nightly routine or on demand. Triggers: /retro-lost, retro for an abandoned session.

tonydzi/second-brain-starter-kit · 74 tokens