Turn a person's or company's publicly available body of work (essays, blog, talk transcripts, newsletter, docs) into a skill that answers questions the way they would, with the source attached to every claim. Collects the complete corpus, extracts each piece into a thesis and sourced claims, clusters them into theme files, a glossary, and a full index, then writes a SKILL.md with the one-sentence thesis, the load-bearing ideas, and how to answer in their voice. Use when the user says "make a skill out of X's essays", "build a knowledge bank from someone's writing", "I want my agent to think like X", or asks where to store and how to structure knowledge distilled from someone else's public work.
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
AI answers any question, but you can't narrow where the answer comes from. A brain skill fixes that: it answers from one person's published work only, and every claim carries the piece it came from. The output is a skill, not a document. A skill is what's always in your agent's context, so it has to be a distillation, never a dump.
The whole method is five phases in strict order: scope, collect, extract, cluster, write, then test. The common failure is skipping to writing SKILL.md from what you already know about the person. That produces a generic essay with their name on it. Every sentence in the finished skill traces back to a file in the corpus, or it isn't in the skill.
Settle these before fetching anything. Ask the user only for what you can't infer.
Who, and which corpus. One person or company, and their primary published body of work. Pick the source they actually write in: essays site, blog archive, talk transcripts, newsletter archive, docs. A corpus is one place, taken whole. Never sample it and never pad it with what you remember about them. The reason the skill is trustworthy is that its boundary is exact.
Source type decides how you collect.
What is the corpus? ├── Essays or blog with an index page → enumerate the index (or sitemap / RSS), fetch every URL ├── Talks or videos → transcripts only; no transcript, no source (WWDC and most conference sites publish them) ├── Podcast → episode transcripts from the show's site; skip episodes without one ├── Newsletter → the public archive page ├── Social posts → only an export or archive the user provides; never scrape a timeline └── Books or paywalled content → out. Not public, and reproducing it isn't distillation.
Citation scheme, decided once. Derive it from the URL shape and write it in the SKILL.md intro. Essays at site.com/<slug>.html cite as (slug). Paths like site.com/<slug>/ cite as (/slug/). Sessions cite by number. Every claim in every file uses this one scheme, so the reader can open any source in one step.
Is a skill the right container?
Who reads the result? ├── You and your agents → a skill. This is the default. ├── Same, but the corpus is over 500 pieces or changes weekly → still a skill for the distilled layer, plus a search tool (MCP or a script) over the raw corpus for lookups └── People without an agent → an app on top of the same corpus and the same distilled files. Build the skill first; the app reads what the skill reads.
templates.md). Body is the raw text. These files are never edited. When your understanding improves, you re-distill from them; you don't touch them.~/brains/<person>/corpus/. The skill folder gets installed and loaded into context. A raw corpus inside it either ships to every install or gets globbed into the agent's attention, which is exactly what a skill exists to prevent.Work in batches of 10 to 15 sources per pass and write one note per source to notes/<slug>.md (skeleton in templates.md). A note holds:
Extract positions, not summaries. Cut the throat-clearing and keep the argument. If the piece contradicts an earlier one, note the date; you'll need it in the next phase.
After every note exists, and not before:
glossary.md: every coined term, alphabetical, one line each, with its slug. This is the file that lets the skill answer "what did they mean by X" without opening a theme file.article-index.md: every source, grouped by theme, as slug, title, one-line thesis. Complete, not selected. If the count here doesn't match Phase 2, a note is missing.The shape is fixed. Use the skeleton in templates.md and keep the section order; the agent reading it later learns where things are once and reuses that across every brain skill you build.
SKILL.md stays between 80 and 120 lines. Everything longer belongs in a reference.
Install the skill, open a fresh session, and ask:
Fix a failure by adding to a reference or the core list, never by adding hedges to SKILL.md. Re-run after every fix.
When the person publishes, add the piece to the corpus, write its note, add it to the index, and re-read the core list to see if anything shifted. Update the count in the description. A brain skill with a stale count is a skill that lies about its own boundary.
freekmurze/dotfiles
26bd6ac
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.