Skip to content
Back to skills

Superbrain Distill

ASecurity

Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.

  • 41 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 27, 2026
data-aigogit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add m3talux/superbrain --skill superbrain-distill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Superbrain Distill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Superbrain Distill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/m3talux-superbrain-distill/badge)](https://www.skillsdirectory.com/skills/m3talux-superbrain-distill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: superbrain-distill
description: Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.
---

# 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}`

## Preferences reconciliation

When a lesson's `rule` qualifies as a user-style/tool/communication preference (not a SuperBrain behavior rule), ALSO emit exactly one `preference` item whose `body` is the FULL reconciled preferences doc — integrate the new rule into the current one (given alongside the events below), dedupe, resolve contradictions newest-wins, keep `## Category` headings. Never emit more than one preference item per envelope. If the lesson is a SuperBrain behavior rule, do not emit a preference.

## Hard rules

- Empty / observer-only / read-only sessions → `{"items":[]}` immediately.
- Distiller behavior rules are NOT user preferences. Never write them into a preference item.
- Skip transcript dumps and content trivially derivable from git or the code itself.
- Output JSON only — no prose, no backticks, no explanation.
- Never write files yourself.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.