Skills for Real Engineers. Straight from my .agents directory.
wiki-fold
Agent skill fromAgriciDaniel/claude-obsidian
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 to install wiki-fold
npx skills add AgriciDaniel/claude-obsidian# or add only this skill to Claude Code: copy the folder
skills/wiki-fold/
# into
~/.claude/skills/wiki-fold/ (all projects)
.claude/skills/wiki-fold/ (one project)
1# Extractive log fold23Create an additive rollup of raw `wiki/log.md` entries. Never modify, move, or4delete child entries or their pages. Do not perform fold-of-folds or trigger a5fold automatically.67Resolve the portable core from this skill's installation. Resolve the user vault8by explicit `--vault`, `CLAUDE_OBSIDIAN_VAULT`, workspace config, then9current-directory discovery. Never treat the plugin/product root as a vault.1011```bash12PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian13CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"14test -f "$CORE"15```1617Every `../wiki/references/` link in this file resolves the same way, relative18to this skill's own directory under `$PRODUCT_ROOT`, never relative to the19selected vault's `wiki/` directory.2021This skill needs no network egress. Do not call external services.2223## Select a bounded range2425Use batch exponent `k` with size `2^k`; default to `k=4`. An explicit entry range26may override it. If fewer entries exist than requested, report the shortfall and27stop rather than folding a partial batch.2829Read the selected log entries completely. Read referenced child pages only when30the log lacks enough context: target 0-10 reads, hard ceiling 15. Missing pages31remain explicit `page_missing` records.3233Derive the structural ID only from inputs:3435```text36fold-k{K}-from-{EARLIEST-DATE}-to-{LATEST-DATE}-n{COUNT}37```3839If `wiki/folds/{FOLD_ID}.md` already exists, return a no-op. Replacing it requires40…
Excerpt shown under the repository's MIT license.
More skills in claude-obsidian
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
