Tooluck logoTooluck
SKILL.md

wiki-rebuild

Agent skill fromAr9av/obsidian-wiki

Archive and rebuild wiki knowledge from source, or restore a prior archive. Use for full restart/recovery when incremental repair is inappropriate; this is broader and more destructive than ordinary update or lint.

How to install wiki-rebuild

install wiki-rebuild
# install the obsidian-wiki pack with the skills CLI
npx skills add Ar9av/obsidian-wiki

# or add only this skill to Claude Code: copy the folder

skills/wiki-rebuild/

# into

~/.claude/skills/wiki-rebuild/ (all projects)

.claude/skills/wiki-rebuild/ (one project)

skills/wiki-rebuild/SKILL.md

MITFull file
1# Wiki Rebuild — Archive, Rebuild, Restore
2
3You are performing a destructive operation on the wiki. Always archive first, always confirm with the user before proceeding.
4
5## Before You Start
6
71. **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`
82. Read `.manifest.json` to understand current state
93. **Confirm the user's intent.** This skill supports three modes:
10 - **Archive only** — snapshot current wiki, no rebuild
11 - **Archive + Rebuild** — snapshot, then reprocess all sources from scratch
12 - **Restore** — bring back a previous archive
13
14## The Archive System
15
16Archives live at `$OBSIDIAN_VAULT_PATH/_archives/`. Each archive is a timestamped directory containing a full copy of the wiki state at that point.
17
18```
19$OBSIDIAN_VAULT_PATH/
20├── _archives/
21│ ├── 2026-04-01T10-30-00Z/
22│ │ ├── archive-meta.json
23│ │ ├── concepts/
24│ │ ├── entities/
25│ │ ├── skills/
26│ │ ├── references/
27│ │ ├── synthesis/
28│ │ ├── journal/
29│ │ ├── projects/
30│ │ ├── index.md
31│ │ ├── log.md
32│ │ └── .manifest.json
33│ └── 2026-03-15T08-00-00Z/
34│ └── ...
35├── concepts/ ← live wiki
36├── entities/
37└── ...
38```
39
40### archive-meta.json
41
42```json
43{
44 "archived_at": "2026-04-06T10:30:00Z",
45 "reason": "rebuild",
46 "total_pages": 87,
47 "total_sources": 42,
48…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

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

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates