wiki-import
Installation
SKILL.md
Wiki Import — Reconstruct Pages from graph.json
You are importing a vault's knowledge graph from a graph.json export (produced by wiki-export) into the current vault. This reconstructs page stubs with correct frontmatter, wikilinks, and typed relationships, then updates all vault metadata.
Before You Start
- Resolve config — follow the Config Resolution Protocol in
llm-wiki/SKILL.md(walk up CWD for.env→~/.obsidian-wiki/config→ prompt setup). This givesOBSIDIAN_VAULT_PATH. - Read
$OBSIDIAN_VAULT_PATH/AGENTS.mdif it exists — apply any owner-specific conventions.
Step 1: Locate and Validate Source
Find the import source:
- If the user provided a path argument, use it directly.
- Otherwise auto-detect
./wiki-export/graph.jsonin the current directory. - If neither exists, ask the user for the path.