wiki-fold
Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit the fold.
npx skills add AgriciDaniel/claude-obsidian --skill wiki-fold --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Extractive log fold Create an additive rollup of raw `wiki/log.md` entries. Never modify, move, or delete child entries or their pages. Do not perform fold-of-folds or trigger a fold automatically. Resolve the portable core from this skill's installation. Resolve the user vault by explicit `--vault`, `CLAUDE_OBSIDIAN_VAULT`, workspace config, then current-directory discovery. Never treat the plugin/product root as a vault. ```bash PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py" test -f "$CORE" ``` This skill needs no network egress. Do not call external services. ## Select a bounded range Use batch exponent `k` with size `2^k`; default to `k=4`. An explicit entry range may override it. If fewer entries exist than requested, report the shortfall and stop rather than folding a partial batch. Read the selected log entries completely. Read referenced child pages only when the log lacks enough context: target 0-10 reads, hard ceiling 15. Missing pages remain explicit `page_missing` records. Derive the structural ID only from inputs: ```text fold-k{K}-from-{EARLIEST-DATE}-to-{LATEST-DATE}-n{COUNT} ``` If `wiki/folds/{FOLD_ID}.md`
- Select a bounded range
- Draft extractively
- Preview by default
test -f "$CORE" python3 "$CORE" transaction inspect /path/to/fold-bundle.json --vault /path/to/vault Set APPROVAL_SHA256 to the inspect result's approval_sha256 after review. python3 "$CORE" transaction apply /path/to/fold-bundle.json --vault /path/to/vault \ python3 "$CORE" checkpoint OPERATION_ID --vault /path/to/vault
What does the wiki-fold skill do?
Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit the fold.
How do I install it?
Run `npx skills add AgriciDaniel/claude-obsidian --skill wiki-fold --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From AgriciDaniel/claude-obsidian, a repository with 10,371 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
