Archive, clear, and rebuild or restore a wiki vault, with archives kept as recovery points.

CCM score
68 of 100
skills.sh installs
3.3K
GitHub stars
3.8K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three modes: archive-only snapshots, archive plus full rebuild from sources, and restore from a prior archive
  • Stores timestamped archives under _archives/ with an archive-meta.json recording reason, page count, and source count
  • Enforces archiving before every destructive step and confirmation from the user before the live wiki is cleared
  • Refreshes the QMD search index after changes when QMD_WIKI_COLLECTION is configured, leaving .obsidian/ untouched

Install

$ npx -y skills add ar9av/obsidian-wiki --skill wiki-rebuild -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Wiki Rebuild — Archive, Rebuild, Restore

You are performing a destructive operation on the wiki. Always archive first, always confirm with the user before proceeding.

Before You Start

  1. Resolve config — follow the Config Resolution Protocol in llm-wiki/SKILL.md (inline @name override → walk up CWD for .env → global config → prompt setup). This gives OBSIDIAN_VAULT_PATH and optional QMD settings such as QMD_WIKI_COLLECTION
  2. Read .manifest.json to understand current state
  3. Confirm the user's intent. This skill supports three modes:
    • Archive only — snapshot current wiki, no rebuild
    • Archive + Rebuild — snapshot, then reprocess all sources from scratch
    • Restore — bring back a previous archive

The Archive System

Archives live at $OBSIDIAN_VAULT_PATH/_archives/. Each archive is a timestamped directory containing a full copy of the wiki state at that point.

Details

Repository
github.com/ar9av/obsidian-wiki
Categories
Productivity & Notes, Memory & Context
First seen
May 16, 2026

More from ar9av/obsidian-wiki

All 34

Similar to Wiki Rebuild

More Productivity & Notes