Skip to content
Back to skills

Distill

ASecurity

Turn what was just worked out into a GreyMatter note — filed in the right zone, linked to what it relates to, indexed. Use when the user says "remember this", "save that", "note it down", "distill this session", or when a non-obvious problem has just been solved and the reasoning would otherwise be lost.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add Yuno15-bb/c-brain --skill distill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Distill?

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

Security grade badge for Distill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yuno15-bb-distill/badge)](https://www.skillsdirectory.com/skills/yuno15-bb-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
---
description: Turn what was just worked out into a GreyMatter note — filed in the right zone, linked to what it relates to, indexed. Use when the user says "remember this", "save that", "note it down", "distill this session", or when a non-obvious problem has just been solved and the reasoning would otherwise be lost.
---

# Distill into a note

A session ends and its reasoning goes with it unless something is written down.
This writes it down, in the shape the trunk expects.

## What deserves a note

Only what a future reader could not re-derive cheaply:

- a defect and **how it was found**, not just the fix;
- a decision, its alternatives, and why they lost;
- a constraint that is not visible in the code.

Not: what the repository already records, what only matters to this
conversation, or a summary of work anyone could read from the diff.

## Shape

One fact per file, in `~/.greymatter/trunk/<zone>/<slug>.md` where zone is
`lessons` (cross-project), `projects/<name>`, `meta` (ways of working) or
`life`.

```markdown
---
name: <short-kebab-case-slug>
description: <one line — this is what recall ranks on, so make it say the fact>
metadata:
  type: reference
---

<the fact, stated so it is useful without this conversation>

Why: <what makes it non-obvious>

How to apply: <the reflex it should produce next time>
```

Link related notes with `[[their-slug]]`. Link generously — a link to a note
that does not exist yet marks something worth writing, not an error.

## Then

- Add one line to `MEMORY.md`: `- [Title](path.md) — hook`.
- **Check first whether a note already covers it** and update that one instead.
  Two notes on one subject is how a trunk starts lying.
- Convert relative dates to absolute ones. "Last Tuesday" rots.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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