Archive existing wiki knowledge and rebuild from scratch, or restore from a previous archive. Use this skill when the user wants to start fresh, rebuild the…
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
Resolve config — follow the Config Resolution Protocol in llm-wiki/SKILL.md (inline @name override → walk up CWD for .env → ~/.obsidian-wiki/config → prompt setup). This gives OBSIDIAN_VAULT_PATH and optional QMD settings such as QMD_WIKI_COLLECTION
Read .manifest.json to understand current state
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.
related skills
semantically similar in the cross-vendor index
don't have the plugin yet? install it then click "run inline in claude" again.
+clearly separates three distinct operational modes (archive-only, archive+rebuild, restore) with explicit user intent confirmation.
+mandates config resolution and manifest inspection before destructive work, reducing accidental misconfiguration.
+documents archive storage location and timestamped directory structure for traceability.
weaknesses
~procedure incomplete: archive system described but actual rebuild and restore steps missing, decision logic for mode selection left to the reader.
~no failure modes documented. what happens if vault is locked, archive write fails, or manifest is malformed? no recovery guidance provided.