From obsidian-kb
Distill KB-worthy knowledge from the current conversation — identifies concepts, connections, and insights worth preserving, then creates or updates notes in the vault. Use whenever the user says 'distill the KB', 'extract knowledge from this conversation', 'what did we learn', or invokes /kb-distill or $kb-distill. Also triggers for 'save what we figured out', 'add our findings to KB', or 'capture these insights'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/obsidian-kb:kb-distillThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Extract reusable knowledge from the current conversation and integrate it into
Extract reusable knowledge from the current conversation and integrate it into the KB. Unlike ingestion (which processes external sources), kb-distill mines the conversation itself — the thinking, discoveries, and connections that emerged during work.
This skill runs in the main context — it needs the full conversation history. The user may optionally provide hints via $ARGUMENTS (e.g., a focus area or specific insight to capture).
Review the conversation and identify KB-worthy pieces. Look for:
Filter ruthlessly. Only extract knowledge that is:
For each candidate piece, use kb-search (query mode) to find related notes.
Read the top matches.
Classify each piece as:
Present the proposals as a list:
I found N pieces of KB-worthy knowledge in our conversation:
1. [NEW] "sdd-vtree-balancing-tradeoffs" — Balancing vtree depth vs apply performance
(related to [[darwiche-sdd]])
2. [UPDATE "[[lean4-elaboration]]"] — Add section on do-notation desugaring edge cases
3. [NEW] "rust-trait-object-perf" — When trait objects beat generics for binary size
Wait for user approval. The user may approve all, select specific items, or modify proposals.
For each approved item:
New notes:
/tmp/kb-body-<slug>.md using the available write tool.python3 <skill-dir>/../kb-ingest/scripts/create-note.py "<slug>" \
--body-file /tmp/kb-body-<slug>.md
Distilled notes have no citekey (no external source).kb-search (similar mode) to find related notes,
add [[wikilinks]] where the text naturally references
other concepts. Check for concept
overlap — if the new note defines something already covered elsewhere,
extract the shared concept into its own note. Split any note exceeding
~250 lines.Updates:
Read the vault file and use the available edit tool. Add [[wikilinks]] where the text
references other concepts. Split if the note exceeds ~250 lines after the update.
Tell the user what was created/updated and which notes were linked.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub szch79/agent-marketplace --plugin obsidian-kb