← ClaudeAtlas

wiki-foldlisted

Roll up the wiki's journal.md entries into structured fold pages — like 2^k log compaction. Reads the last 2, 4, 8, 16... entries and writes a fold page that summarizes them by extractive summarization (no invention), with backlinks to children. Idempotent at the structural level — re-running with the same window produces a byte-equivalent fold. Use when the user says "fold the log", "rollup recent activity", "compact the log", "/wiki-fold", or after many ingestions when journal.md is becoming too long to read directly.
tboome33/obsidian-mcp-router · ★ 1 · AI & Automation · score 74
Install: claude install-skill tboome33/obsidian-mcp-router
# wiki-fold Append-only rollup of `journal.md` into hierarchical summary pages stored under `wiki/folds/`. Inspired by log-structured systems: small windows fold into bigger ones over time, and the log itself stays linear forever. ## When to use - `journal.md` has grown past ~100 entries and needs structural summarization. - The user wants a "what happened in the last week / month" report. - After a multi-source ingestion session: roll up the new entries into one fold page. ## Pre-conditions 1. Target vault has `wiki-meta/journal.md`. 2. Vault is online. ## Steps ### 1. Read the log ``` mcp__obsidian-router__get_file({ vault, path: "wiki-meta/journal.md" }) ``` Parse it into structured entries. The format from the `wiki` and `wiki-ingest` skills is: ``` - YYYY-MM-DD HH:MM — <verb> — <target(s)> — <reason> ``` If a line doesn't parse, skip it but don't fail. ### 2. Determine the fold window Default: fold the last 2^k entries where k is chosen so the window is between 8 and 64 entries. The user can override with an explicit window: - "fold the last 16 entries" → k=4, 16-entry window - "fold this week" → time-bounded, take all entries with timestamps in the last 7 days - "fold the last month" → time-bounded, last 30 days If none of those signals are given, default to the last 16 entries. ### 3. Group entries by verb and target Extractive grouping (no invention): - Group by `verb` (ingest, scaffold, lint, fold, query-filed, ...) → count and list distinct targets -