Initialize a new Obsidian wiki vault with the correct structure, special files, and configuration. Use this skill when the user wants to set up a new wiki from scratch, initialize the vault structure, create the .env file, or says things like "set up my wiki", "initialize obsidian", "create a new vault", "get started with the wiki". Also use when the user needs to reconfigure their existing vault or fix a broken setup.
You are setting up a new Obsidian wiki vault (or repairing an existing one).
If .env doesn't exist, create it from .env.example. Ask the user for:
Where should the vault live? → OBSIDIAN_VAULT_PATH
~/Documents/obsidian-wiki-vaultWhere are your source documents? → OBSIDIAN_SOURCES_DIR
~/DocumentsWant to import Claude history? → CLAUDE_HISTORY_PATH
~/.claudeHave QMD installed? → /
QMD_WIKI_COLLECTIONQMD_PAPERS_COLLECTIONwiki-query and source discovery in wiki-ingest.Grep automatically..env.example (QMD section).mkdir -p "$OBSIDIAN_VAULT_PATH"/{concepts,entities,skills,references,synthesis,journal,projects,_archives,_raw,.obsidian}
.obsidian/ — Obsidian's own config. Creates vault recognition.projects/ — Per-project knowledge (populated during ingest)._archives/ — Stores wiki snapshots for rebuild/restore operations._raw/ — Staging area for unprocessed drafts. Drop rough notes here; wiki-ingest will promote them to proper wiki pages and delete the originals.---