wiki-fold

Roll up log entries into structured Obsidian wiki fold pages.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/xiang2007/obsidian-vault --skill wiki-fold-xiang2007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-fold
Source: https://github.com/xiang2007/obsidian-vault/tree/main/skills/wiki-fold
Command: npx skills add https://github.com/xiang2007/obsidian-vault --skill wiki-fold-xiang2007

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the organization of largewiki log entries by rolling them up into structured meta-pages, making it easier to review and reference historical information.

Core Features & Use Cases

  • Log Rollup: Reads and processes the last 2^k log entries from wiki/log.md, creating a meta-page in wiki/folds/ that links back to child log entries.
  • Extractive Summarization: Provides an extractive summary of log entries without introducing any new information.
  • Dry-run and Commit Mode: Offers a dry-run mode to preview the output without making any changes, and a commit mode to actually write the fold to the vault.

Quick Start

To roll up the last 8 log entries into a fold, run: wiki-fold --commit k=3

Frequently Asked Questions about wiki-fold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I roll up Obsidian wiki log entries into a structured meta-page?

To roll up wiki log entries, run `wiki-fold --commit k=3` to process the last 8 entries from `wiki/log.md` and generate a linked meta-page in `wiki/folds/`.

Can I preview a wiki log rollup in Obsidian before making changes?

Yes, you can preview a wiki log rollup before making changes by using the dry-run mode, which generates the fold output without actually writing any modifications to your Obsidian vault.

Does the wiki-fold rollup summarize Obsidian log entries by generating new content?

No, the wiki-fold rollup does not generate new content; it uses extractive summarization to compile existing log entries, ensuring no invented facts are introduced into the meta-page.

What is the minimum Obsidian version required to use wiki log fold pages?

The minimum Obsidian version required to use wiki log fold pages is v1.9.10+, ensuring compatibility with the structured meta-page generation and deterministic duplicate detection features.

How does duplicate detection work when rolling up wiki log entries?

Duplicate detection when rolling up wiki log entries works by utilizing a deterministic ID assigned to each fold, preventing redundant meta-pages from being generated in the `wiki/folds/` directory.