skillfed

wiki-import

wiki-import brings a knowledge graph into your vault from two sources: a graph.json file for page stubs with relationships, or an OKF bundle for complete pages with full bodies. Choose how to handle existing pages—merge, skip, or overwrite—and the skill reconstructs frontmatter, wikilinks, and vault metadata automatically.

wiki-import reconstructs your vault's knowledge graph from an export file or OKF bundle into your current vault.

AI-generated summary based on this skill's SKILL.md

3,032 306 MIT updated by Ar9av

Install

Ar9av/obsidian-wiki/wiki-import · repository language: Python

CLI (skillfed)coming soon
git clone https://github.com/Ar9av/obsidian-wiki
cp -r obsidian-wiki/.skills/wiki-import ~/.claude/skills/wiki-import

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I import wiki from an export file?

wiki-import loads your knowledge graph from two sources. Use a graph.json file to import page stubs with relationships, or an OKF bundle to import complete pages with full body content. The skill reconstructs frontmatter, wikilinks, and vault metadata automatically during import.

Can wiki-import transfer pages between Obsidian vaults?

Yes. wiki-import transfers pages and relationships between vaults using export bundles. You can choose how to handle existing pages—merge them, skip them, or overwrite them—giving you full control over the transfer process and conflict resolution.

What happens when wiki-import loads graph.json into vault?

wiki-import reads graph.json to restore page stubs and wikilink structure to your vault. It extracts the graph relationships and rebuilds the connection network, allowing you to reconstruct your wiki's topology even when importing only metadata stubs.

Does wiki-import support OKF markdown bundles?

wiki-import fully reconstructs pages from OKF markdown bundles with body content. It processes the complete page data, preserving all content and relationships, then integrates everything into your vault with proper formatting and metadata.

How does wiki-import handle existing vault pages?

wiki-import merges imported wiki data with existing vault pages using conflict resolution. You control the merge strategy: keep existing pages, skip duplicates, or overwrite with imported versions. This prevents data loss while letting you choose which version to keep.

What license does wiki-import use?

wiki-import is released under the MIT license, allowing free use, modification, and distribution with minimal restrictions.

SKILL.md

rendered from the published skill — quoted content, verbatim

Wiki Import — Reconstruct Pages from an Export

You are importing a vault's knowledge into the current vault from one of two sources produced by wiki-export:

  • graph.json — the graph skeleton. Reconstructs page stubs (frontmatter, typed relationships, a ## Related link list — no body). Lossy.
  • OKF bundle (a wiki-export/okf/ directory) — the actual markdown files. Reconstructs full pages with their real bodies. Lossless. Use this for true vault-to-vault transfer.

Either way, the import writes pages with correct frontmatter and wikilinks, then updates all vault metadata. **Step 2, Step 3 (graph only), and Step 5 are shared; Step 4 forks by source

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
.skills/wiki-import/SKILL.md

Related skills

Tags

knowledge-graph-ingestion vault-migration markdown-bundle-import wikilink-reconstruction conflict-resolution metadata-sync lossless-transfer batch-page-creation