Agent skill · Workflow & Productivity

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.

AgriciDanielgithub.com/AgriciDanielGitHub ↗
claude-codeMIT
Install
npx skills add AgriciDaniel/claude-obsidian --skill wiki-fold --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/wiki-fold/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 10,371
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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`

What's inside
Steps it walks through
  1. Select a bounded range
  2. Draft extractively
  3. Preview by default
Ships with 1 file
  • references/fold-template.md
Commands it runs
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
More from claude-obsidian
All skills →
About this skill
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.

Keep going