Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

wiki-rebuild

Skill by Ar9av

Archives, rebuilds or restores an Obsidian wiki from source. It is for full restart or recovery when incremental repair is not appropriate. It always archives first and asks the user to confirm before clearing the live wiki.

  • Score 84
  • 3.8k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install wiki-rebuild

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Ar9av/obsidian-wiki /tmp/obsidian-wiki && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-wiki/.skills/wiki-rebuild ~/.claude/skills/wiki-rebuild

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install wiki-rebuild in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Wiki Rebuild archives and rebuilds the knowledge in a wiki stored in an Obsidian vault, or restores a previous archive. The source describes it as a full restart or recovery tool, broader and more destructive than ordinary update or lint work.

Before any destructive step, it copies the live wiki into a timestamped folder under _archives/ with an archive-meta.json file. It offers three modes: archive only, archive and rebuild, and restore. It asks the user to confirm before clearing the live wiki and does not run ingest on its own. It is aimed at people who keep a wiki in an Obsidian vault and need a full reset or rollback.

Written from the project's SKILL.md and checked against it.

What it can do

  • Archive onlySnapshots the current wiki into a timestamped folder without changing the live wiki.
  • Archive and rebuildArchives the wiki, clears the live content, and prepares it for a full re-ingest.
  • Restore from archiveLists available archives and restores a chosen one after archiving the current state.
  • QMD refreshUpdates the QMD search index after archive, rebuild or restore when QMD is configured.

What you need

  • An Obsidian vault with OBSIDIAN_VAULT_PATH set through the llm-wiki config
  • Optional QMD_WIKI_COLLECTION setting for search index refresh
  • Optional local qmd CLI for QMD refresh

Try asking

  • Archive my wiki as a snapshot without changing anything else.
  • Rebuild my wiki from scratch and archive the current state first.
  • List my wiki archives and restore the one from March 15.

Good to know

  • Destructive operations: the live wiki is cleared during rebuild.
  • Requires user confirmation before clearing the live wiki.
  • Does not run ingest automatically; the user chooses what to re-ingest.
  • QMD refresh requires the local qmd CLI; otherwise it is skipped.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .skills/wiki-rebuild/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to wiki-rebuild

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

wiki-rebuild: common questions

Does wiki-rebuild delete my Obsidian settings?

No. The source says the .obsidian/ directory must never be touched during archive, rebuild or restore.

Are archives deleted automatically?

No. The source says archives are never deleted unless the user explicitly asks.

What happens if a rebuild fails partway through?

The source says the archive is still there, and the user can restore from it.

How do I install wiki-rebuild?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is wiki-rebuild free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is wiki-rebuild safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to wiki-rebuild?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

wiki-rebuild Install

Add to stack

Loading.