К основному содержанию
команда CX Codex

obsidian-distill — команда Claude Code: конспект с источниками

Команда obsidian-distill сжимает длинную заметку или статью до списка тезисов, каждый с отметкой, откуда он взят — параграф, секция или timestamp.

MIT ★ 5 412 обновлён 2026-10-24

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add eugeniughelbur/obsidian-second-brain
/plugin install obsidian-second-brain@obsidian-second-brain
Открыть на GitHub

Что делает obsidian-distill

Команда читает заметку Obsidian, URL или папку с файлами и разбивает текст на пронумерованные блоки — секции, абзацы, элементы списка. Из них извлекает ключевые утверждения, к каждому прикрепляет ссылку на исходный блок (src: B3) и оценку достоверности (stated | high | medium | speculation). Результат сохраняет как новую заметку в wiki/concepts/ или Knowledge/, с разделом ## Source blocks внизу — там лежат якоря со ссылками на заголовки, номера параграфов или строки исходника.

Это не пересказ: дистилляция оставляет проверяемый след. Каждое утверждение без ссылки на блок не попадает в конспект, а выводы, которые есть у агента, но не в тексте, складывает в отдельный раздел ## Inferences (not in the source) с меткой speculation. Если источник — внешний URL или файл, команда сначала сохраняет его в raw/, чтобы ссылка не протухла.

Работает с навыком obsidian-second-brain, заметки пишет по правилам references/ai-first-rules.md — с фронтматтером type: distillation, ai-first: true, обязательными вики-ссылками на людей и проекты, метками времени для внешних фактов. Пара к /obsidian-ingest (захват материала) и /vault-deep-synthesis (кросс-ссылки между заметками): здесь — сжатие одного источника без потери цепочки.

Какие задачи решает

  • сжать статью или видео-транскрипт с сохранением ссылок на исходные секции
  • выделить тезисы из папки заметок и отследить, откуда каждый
  • собрать конспект с меткой достоверности для каждого утверждения
  • проверить, на чём основана любая цитата — параграф, timestamp или заголовок

Примеры запросов агенту

  • Дистиллируй заметку raw/interview-notes.md с пометками, откуда каждый тезис
  • Выдели ключевые утверждения из папки research/ai-papers/ и укажи блоки источников
  • Сверни эту статью с URL в конспект, каждый тезис со ссылкой на параграф

Как установить obsidian-distill

1Через маркетплейс плагинов

/plugin marketplace add eugeniughelbur/obsidian-second-brain
/plugin install obsidian-second-brain@obsidian-second-brain

2Вручную: положить файлы

.claude/commands/obsidian-distill.md

Вызов — /obsidian-distill. Для всех проектов — ~/.claude/commands/

Вопросы об obsidian-distill

Как установить obsidian-distill в Claude Code?

Выполни /plugin marketplace add eugeniughelbur/obsidian-second-brain, затем /plugin install obsidian-second-brain@obsidian-second-brain. Команда будет в .claude/commands/obsidian-distill.md.

Что делает obsidian-distill?

Читает длинную заметку, URL или папку, разбивает на блоки, извлекает тезисы и к каждому прикрепляет ссылку на исходный блок. Результат — новая заметка с разделом якорей внизу, чтобы любой тезис можно было проверить.

Чем отличается дистилляция от summary?

Summary выбрасывает источник, дистилляция сохраняет проверяемый след: каждое утверждение помечено (src: B3) и привязано к пронумерованному блоку с локатором — заголовком, индексом параграфа или timestamp.

Исходный текст

obsidian-distill.md · MIT
---
description: Condense a long note or source into key claims, each tagged with provenance back to the exact source block it came from
category: thinking
triggers_en: ["distill this", "condense this note", "summarize with sources", "distill this source", "boil this down with provenance"]
triggers_de: ["das verdichten", "diese Notiz kürzen", "mit Quellen zusammenfassen", "diese Quelle auswerten", "mit Herkunftsnachweisen zusammenfassen"]
triggers_es: ["destila esto", "condensa esta nota", "resúmelo con fuentes", "destila esta fuente", "resume esto sin perder el contexto", "sácame lo importante de esto con las fuentes"]
triggers_pt: ["destile isto", "condense esta nota", "resuma com fontes", "destile esta fonte", "reduza isto com proveniência"]
triggers_zh: ["提炼这篇笔记", "把这个内容压缩成关键结论", "总结这份材料并标明出处", "精简内容但保留来源", "从这个来源提炼要点"]
---

Use the obsidian-second-brain skill. Execute `/obsidian-distill $ARGUMENTS`:

The optional argument is a note path, a `[[wikilink]]`, a folder, or a source URL/file. If none is given, ask what to distill (offer the longest recently-touched notes in `raw/` and the research folders as candidates).

A distillation is not a summary. A summary throws the source away; a distillation keeps a verifiable trail, so a teammate (or a future agent) can check every claim against the exact place it came from. This is the trust primitive: condensed but never unmoored from evidence.

1. Read `_CLAUDE.md` first if it exists in the vault root. Resolve the destination folder per `references/folder-map.md` (a distillation is a concept/reference note: wiki-style `wiki/concepts/`, Obsidian-style `Knowledge/`).

2. Resolve and read the source:
   - A vault note or `[[wikilink]]`: read it in full.
   - A folder: read every note in it and distill them as one corpus (note which file each claim comes from).
   - A URL: fetch it (read the page). A local file: read it. Save the untouched original to `raw/` first if it is not already there - the distillation must point at a stable source.
   - Never distill from memory or a partial read. If the source is too large to read in one pass, read it in ordered chunks and keep going; do not sample (see the anti-fabrication rule).

3. Segment the source into stable, citable **source blocks** and number them. A block is a heading section, a paragraph, a list, or a transcript turn - whatever the source's natural unit is. Record for each block a locator the reader can find again: a heading path, a paragraph index, or a timestamp/line range. These locators are the provenance anchors.

4. Extract the key claims. For each claim, write one tight sentence and attach its provenance: which block(s) it came from, as `(src: B3)` or `(src: B3, B7)`. Every claim MUST carry at least one block reference - a claim with no source does not go in the distillation (if you believe it but the source does not say it, it is your inference, not a distilled claim; see step 6). Mark each claim's confidence (`stated | high | medium | speculation`) and add a recency marker on any time-sensitive external fact (`(as of YYYY-MM, domain)`).

5. Group the claims under short thematic headings (the distilled structure), preserving the provenance tags inline. Keep the source's own terms; do not smooth them into generic phrasing.

6. Keep inference separate from evidence. If the distillation surfaces a conclusion the source implies but never states, put it under a clearly labelled `## Inferences (not in the source)` section, each marked `confidence: speculation`, so distilled fact and your reasoning never blur.

7. Write the distillation note. Path: `<resolved-folder>/Distill - <source-title> (YYYY-MM-DD).md`. It MUST follow `references/ai-first-rules.md`. If that path does not resolve from your working directory, search upward for it; if you still cannot read it, say so before writing rather than producing a note that silently skips the rule. Frontmatter includes `type: distillation`, `ai-first: true`, `source` (the verbatim path/URL of what was distilled), `source-blocks` (the count), `date`, `tags: [distillation, thinking]`, `related-people` and `related-projects` (wikilinks, per the `type: distillation` schema). Body order:
   - `## For future agent` - 2-3 sentences: what was distilled, why, and that every claim carries a `(src: Bn)` pointer back to the numbered source blocks at the bottom for verification.
   - `## Distilled claims` - the grouped claims with inline provenance tags.
   - `## Inferences (not in the source)` - only if step 6 produced any.
   - `## Source blocks` - the numbered list (`B1`, `B2`, ...) with each block's locator (heading/paragraph/timestamp) and a short quote or first line, so the anchors are resolvable from inside the vault. This is the recency/verification anchor.

8. Link the distillation from the original source note (add a `Distilled: [[...]]` line) and from today's daily note. Append a one-line entry to the operation log (`Logs/YYYY-MM-DD.md` if it exists, else `log.md`).

9. Report: the source, how many blocks and claims, the path written, and any claim you dropped because it had no traceable source (so the gap is visible, never silently cut).

Distillation is what makes a vault trustworthy to more than one person: condensed enough to read fast, anchored enough to audit. Pairs with `/obsidian-ingest` (which brings the source in) and `/vault-deep-synthesis` (which cross-references many notes); this one compresses a single source without losing the thread back to it.

---

**AI-first rule:** Every note created or updated by this command MUST follow `references/ai-first-rules.md` - `## For future agent` preamble, rich frontmatter (`type`, `date`, `tags`, `ai-first: true`, plus type-specific fields), recency markers per external claim, mandatory `[[wikilinks]]` for every person/project/concept referenced, sources preserved verbatim with URLs inline, and confidence levels where applicable. If that path does not resolve from your working directory, search upward for it; if you still cannot read it, say so before writing rather than producing a note that silently skips the rule. The vault is for future agent retrieval - not human reading.

**Anti-fabrication:** Every distilled claim must trace to a real source block - never invent a claim, a block, or a locator, and never attach a `(src: Bn)` tag to a block that does not support it. Read the source exhaustively rather than sampling; a confident distillation built on a partial read is the failure mode this command exists to prevent. Mark inferences as `speculation` and keep them out of the distilled-claims section. See the anti-fabrication and search-completeness hard rules in `references/ai-first-rules.md`.

© Eugeniu Ghelbur · MIT · eugeniughelbur/obsidian-second-brain

Похожие слэш-команды

Все слэш-команды по теме «Заметки, задачи и проекты» →
obsidian-canvas-creator axtonliu Скилл obsidian-canvas-creator для Claude Code, Cursor, Codex и других агентов: превращает текст в файл Obsidian Canvas с раскладкой MindMap или произвольной сеткой. Агент строит JSON-граф прямо в чате — готовый к импорту в Obsidian. CX Codex +1 2 000установок obsidian-markdown AgriciDaniel Скилл obsidian-markdown объясняет, черновики и проверяет синтаксис Obsidian Flavored Markdown: свойства, wikilinks, вставки, callouts, теги, блоки, математику и Mermaid. CX Codex +1 593установок obsidian Teknium (teknium1), Hermes Agent Читает, ищет, создаёт и редактирует заметки в хранилище Obsidian. CX Codex +1 503установок obsidian-source-ingestion Galaxy-Dawn Скилл obsidian-source-ingestion для Claude Code складывает статьи, страницы, данные и интервью в проектную базу Obsidian как заметки-источники — по папкам, не пересказывая. CX Codex +1 329установок wiki-ingest AgriciDaniel Скилл wiki-ingest для Claude Code превращает присланный материал в связанные заметки Obsidian, сохраняя происхождение и отслеживая утверждения. Разбирает статью, файл или ссылку и раскладывает по хранилищу. CX Codex +1 555установок obsidian-organizer Agents365-ai Скилл obsidian-organizer для Claude Code и Codex. Раскладывает заметки по папкам хранилища Obsidian и наводит порядок в структуре, когда входящие копятся в корне и нельзя ломать связи между файлами. CX Codex +1 1 900установок

Из того же набора51

Весь набор →
youtube Извлекает расшифровку, метаданные и популярные комментарии YouTube, затем сохраняет сводку в Obsidian. Флаг --visual добавляет анализ кадров. CX Codex +1 ★ 5 412звёзд репо obsidian-architect Команда obsidian-architect сканирует проект и генерирует набор архитектурных заметок в хранилище: обзор, заметки по модулям, ключевые решения. Переустановка обновит документацию без потери ваших правок. CX Codex +1 ★ 5 412звёзд репо obsidian-reconcile Команда obsidian-reconcile для Claude Code выявляет противоречия в Obsidian-vault и разрешает их автоматически или выносит на решение. Сканирует всё хранилище или отдельную тему, сверяя утверждения и свежесть источников. CX Codex +1 ★ 5 412звёзд репо obsidian-visualize Команда obsidian-visualize строит интерактивную карту вашего хранилища Obsidian: показывает, как связаны заметки, находит центральные узлы и выявляет изолированные записи. Полезна, чтобы увидеть структуру своей второй мозг целиком. CX Codex +1 ★ 5 412звёзд репо obsidian-merge Команда obsidian-merge объединяет дублирующиеся заметки в Obsidian без удаления файлов. Сохраняет канонический текст, переносит связи и превращает старую заметку в ссылку-перенаправление. CX Codex +1 ★ 5 412звёзд репо obsidian-checkin Команда obsidian-checkin сверяет старые заметки с ответами владельца хранилища и сохраняет обновления. Она пригодится, когда сведения о людях или проектах могли измениться. CX Codex +1 ★ 5 412звёзд репо research-deep Команда research-deep сканирует ваше хранилище Obsidian, выявляет пробелы в информации и заполняет их через Perplexity или Grok, потом синтезирует результат и автоматически обновляет заметки о людях, проектах и идеях. CX Codex +1 ★ 5 412звёзд репо create-command Команда create-command для Claude Code пошагово опрашивает пользователя и создаёт готовый файл слэш-команды для Obsidian без ручной правки Markdown и фронтметтера. CX Codex +1 ★ 5 412звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой