From obsidian-kb
Refine and deepen an existing knowledge base article by re-reading raw sources with a specific question in mind. Use when gap detection identified missing knowledge, or when the agent needs to deepen an article that was too shallow for the current task. Triggers for 'deepen this article', 'refine the KB on X', 'fill in this gap', 'the KB was too shallow on X'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/obsidian-kb:kb-refineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Deepen an existing article by re-reading the raw source with a specific
Deepen an existing article by re-reading the raw source with a specific question — "what do I need, and what's missing?" Ingestion is coarse and exploratory; refinement is targeted and purposeful. You already know what gap to fill.
The refinement request includes:
Read the article directly from the vault. Understand what's already captured and where the gap is.
If the article has a citekey in its frontmatter, resolve it to a local path:
python3 <skill-dir>/../kb-ingest/scripts/resolve-citekey.py "<citekey>"
This prints the local file/directory path. Then read the source using the
available read tool (use pages for PDFs when supported).
Focus narrowly on the gap — don't re-read the entire source. For PDFs, target the specific pages/chapters. For repos, target the specific source files.
Read the vault file directly and edit it with the available edit tool to deepen the relevant section:
[[wikilinks]] where the text references concepts covered elsewhereKeep the article under ~250 lines after the update.
When a note exceeds ~250 lines after editing:
Extract a coherent section into a new note:
python3 <skill-dir>/../kb-ingest/scripts/create-note.py "<child-slug>" \
--body-file /tmp/kb-body-<child-slug>.md \
--citekey "<citekey>"
If the extracted section covers the same source, give it the same citekey.
Replace the extracted section in the original with a [[child-slug]] wikilink.
Add [[wikilinks]] where the text references concepts covered elsewhere.
Tell the user:
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