npx skills add ...
npx skills add ar9av/obsidian-wiki --skill wiki-digest
npx skills add ar9av/obsidian-wiki --skill wiki-digest
Generate a periodic knowledge digest — a human-readable newsletter-style summary of what was learned, updated, and connected in your wiki over a specified period (day/week/month). Use when the user says "what did I learn this week", "give me a digest", "weekly summary", "knowledge report", "what's new in my wiki", "/wiki-digest [period]", "summarize my recent learning", or wants a readable overview of recent wiki activity. Distinct from wiki-status (which reports ingestion delta of sources) — wiki-digest summarizes *knowledge*, not sources.
You are generating a human-readable digest of recent wiki activity: what was learned, what was updated, what themes are emerging, and what's worth reviewing. This skill summarizes knowledge, not sources — think of it as a weekly review session, not an ingestion status report.
llm-wiki/SKILL.md (inline @name override → walk up CWD for .env → ~/.obsidian-wiki/config → prompt setup). This gives OBSIDIAN_VAULT_PATH and OBSIDIAN_LINK_FORMAT.$OBSIDIAN_VAULT_PATH/log.md — last 200 lines — for entries within the period (timestamps are ISO-8601 prefixed lines).$OBSIDIAN_VAULT_PATH/hot.md for current session context.$OBSIDIAN_VAULT_PATH/_insights.md exists, read its Anchor Pages table — you'll use it later to identify which new pages became hubs.Glob all .md files under $OBSIDIAN_VAULT_PATH. Skip special/system files:
index.md, log.md, hot.md, AGENTS.md, _insights.md_meta/, _archives/, _raw/journal/digest-*.md)For each remaining page, read its frontmatter:
created — when the page was first writtenupdated — when it was last modifiedClassify:
created is within the periodupdated is within the period but created is before itIf fewer than 5 pages were active, note it and offer to widen: "Only 3 pages were active in the last 7 days — want a monthly digest instead?" Stop here unless the user says to continue.
For each active page, collect: title, category, tags, summary (frontmatter field), lifecycle, any ^[ambiguous] or ^[inferred] markers in the body.
From all active pages' tags, tally theme frequency:
Also read $OBSIDIAN_VAULT_PATH/_meta/taxonomy.md (if it exists). Flag any tag from step 1 that does not appear in the taxonomy — these are new vocabulary words that emerged this period.
Note which categories grew most (concepts/, entities/, skills/, synthesis/, references/, etc.).
Scan new and updated pages for cross-category wikilinks — links that bridge different knowledge layers. These are the most intellectually interesting outputs of the period.
For each active page, extract all [[wikilink]] targets. Classify each link by the target's category prefix. Flag links that cross categories (e.g., a concepts/ page linking to an entities/ page, or a synthesis/ page bridging two topics).
Rank candidates by interestingness:
_insights.md bridge data if available)_insights.md anchors)synthesis/ page (deliberate cross-cutting)^[inferred] (synthesized connection, not directly stated)Take the top 3–5 connections. Write each as a plain-English sentence: not just "A → B" but why the connection is interesting.
Scan active pages and _raw/ for unresolved work:
lifecycle: draft or lifecycle: stub^[ambiguous] markers across all active pages (don't list every one — just the count and which pages have the most)$OBSIDIAN_VAULT_PATH/_raw/ (anything here hasn't been promoted)_meta/taxonomy.mdFrom the existing (pre-period) pages, identify 2–3 worth revisiting given this week's new context.
Heuristic: find pre-period pages that share the most tags with the active pages from Step 1. These are foundational pages whose topic was extended this period — the new pages build on them but the user may not have revisited the foundation.
Also include any pre-period page that now has 2+ new incoming links from active pages (it just became more connected — a sign it's load-bearing).
Write each recommendation with a concrete reason: "[[concepts/attention-mechanism]] — your foundational page; three new papers ingested this week all extend it", not just the page title.
Produce a structured, scannable markdown report. The Headlines section is the most important — it should feel like the opening of a good newsletter, synthesizing actual insight rather than listing page names.
Apply the link format from llm-wiki/SKILL.md (Link Format section) using OBSIDIAN_LINK_FORMAT. Default is [[wikilink]].
Visibility: If a page is tagged visibility/pii, exclude it from all tables and connection lists (but count it in the totals, noted as "+ N private"). If the user explicitly says "include private pages" or "full digest", include them normally.
Default (chat output): Print the digest directly. At the end, ask:
"Want me to save this as journal/digest-YYYY-MM-DD.md?"
If user prefixed with "save" or "write" (e.g., /wiki-digest save or "generate and save my weekly digest"):
$OBSIDIAN_VAULT_PATH/journal/digest-YYYY-MM-DD.md (weekly/monthly) or journal/digest-YYYY-MM-DD-daily.md (daily)index.md with the new entry under Journal.manifest.json (digests aren't source ingestions)Either way, append to log.md:
| Situation | Handling |
|---|---|
| Fewer than 5 active pages | Offer to widen the period; proceed only if user confirms |
| Empty vault (no pages at all) | Tell the user to run an ingest first; stop |
No _meta/taxonomy.md | Skip taxonomy gap check; omit that line from Open Threads |
No _insights.md | Skip hub-based scoring in Step 3; still produce connections section |
All pages are visibility/pii | Report "N private pages active this period" with no details; offer full mode |
| Period spans a wiki rebuild | Note it in the digest: "Wiki was rebuilt during this period — page dates reflect post-rebuild state" |
log.md append. It does not modify existing wiki pages.wiki-status. This skill answers "what did I learn", not "what's pending".QMD is a search index, not the source of truth. If $QMD_WIKI_COLLECTION is empty or unset, skip this step. Run it only after this skill has written or rewritten vault markdown. If QMD refresh fails, do not roll back the vault changes; report the QMD status separately.
Use $QMD_CLI if set; otherwise use qmd.
If the output says vectors are needed or embeddings may be stale, run:
Verify the collection with either:
or, when a specific page path is known:
Record one of:
QMD refreshed: update + embed + verifiedQMD refreshed: update only + verifiedQMD skipped: QMD_WIKI_COLLECTION unsetQMD skipped: qmd CLI unavailableQMD failed: <short error summary>*