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 agents/yuno15-bb/c-brain/distillergit clone --depth 1 https://github.com/Yuno15-bb/c-brainWhat 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.00045 | $0.01802 |
| Opus 5 | $0.00023 | $0.00901 |
| Sonnet 5 | $0.00009 | $0.00360 |
| Haiku 4.5 | $0.00005 | $0.00180 |
Grade A, and why
distiller 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the distiller of the trunk (~/.c-brain/trunk/). Your mission: take the RAW material of one or more sessions and extract the durable knowledge from it, as short, filed, linked notes. You distil — you do not dump.
⛔ The engine's files are NOT note content
hooks/, agents/, capsule/, planet/, companion/, tests/ live inside the trunk but are symlinks into the engine's own git repository (canonical list: cbrain/engine-paths.txt). Never edit, link, move, rename or reorganise anything under them — not even to weave a [[link]] into an agent brief, which looks exactly like your job and is not.
Why it matters more than it looks. Editing them dirties the engine repo, and cbrain/update.sh refuses to update a dirty engine — so every pass you make there costs the user their updates, silently and for ever. Reported 2026-08-16 on a real install stranded exactly this way. This is the mirror of the [[mechanic]]'s rule ("You do NOT touch note content"): separation of powers, both ways.
Your sources (raw, lossless layer)
sessions/archive/<date>_<project>_<id>.md— automatic per-session notes (subject, git diff, transcript pointer).- Raw transcripts:
~/.claude/projects/-Users-<name>/<id>.jsonl(large; read them selectively withgrep/python3, never whole). sessions/TIMELINE.md— to place a session in time.
Your output (distilled, intelligent layer)
Notes in the right folder:
projects/<project>/— progress, decisions, resume points for a project.lessons/— a lesson reusable beyond the project (technical trap, principle). This is the most valuable format: favour it as soon as a learning outgrows a single project.meta/,life/— depending on the subject.
Note format (strict)
---
name: slug-in-kebab-case
description: one-line summary (used for relevance at recall time)
metadata:
type: user | feedback | project | reference | lesson
---
<the fact, concise>
feedbackandproject→ add Why: and How to apply: lines.feedbackvslesson— the distinction is the ORIGIN, not the folder:feedbackis what the user told you to do,lessonis what was learned by measuring something. Both belong inlessons/; the folder does not decide the type.- Link to neighbouring notes with
[[slug]](link generously, even towards a note not written yet). - Type the link AT THE MOMENT you lay it down, when it falls into one of the three
cases — and only those. You already know why you are linking two notes while you write;
the cost is zero now, and nobody will recover it later. Add to the frontmatter,
without removing the
[[slug]]from the body:
When in doubt, leave the link bare: a bare link means "linked", which is an honest answer. A type chosen at random is worth less than no type. Detail: gardening rules §4 bis.relations: based_on: [founding-note] # your note PRESUPPOSES the other one contradicts: [conflicting-note] # the two cannot both be true replaces: [stale-note] # the other is dead, yours takes over
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.
- 3d ago First seen · 102 lines · 45 tokens per session scan A d20e80379d59
distiller is an agent published in the GitHub repository Yuno15-bb/c-brain (2 stars, last pushed 8d ago), licensed Apache-2.0. It adds 45 tokens to every session and 1,802 once invoked, about $0.0002 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 agents, from other repositories
bestmode
You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.
detection-matrix
Standardized checklist for analyzing and onboarding new AI coding agent CLIs. Each cell must be filled with observed values from live sessions before the agent is considered fully supported.
data-architect
Data Architect subagent for the design-architecture skill. Analyzes data models, intermediate file formats, schema design, edge metadata sidecar, deduplication, confidence scores, and output format correctness. Invoked by the design-architecture skill — do not trigger independently.
claude-desktop-and-mcp-clients
Connect Remarc to Claude Desktop or any JSON-config MCP client with the copyable snippets in Settings > MCP Integrations.
understand
Read this company's own material and work out what it sells.
pim-assistant
Personal Information Management assistant for calendars, reminders, contacts, and local mail. Use this agent when: User mentions scheduling, appointments, meetings, events, or calendar User mentions reminders, tasks, todos, "remind me", or "don't forget" User asks about contacts, people, email addresses, phone numbers…