Tooluck logoTooluck
SKILL.md

wiki-import

Agent skill fromAr9av/obsidian-wiki

Import a wiki graph into the current vault from graph.json or an OKF/markdown bundle. Use for transferring previously exported wiki content between vaults; pair with wiki-export for the reverse direction.

How to install wiki-import

install wiki-import
# 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-import/

# into

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

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

skills/wiki-import/SKILL.md

MITFull file
1# Wiki Import — Reconstruct Pages from an Export
2
3You are importing a vault's knowledge into the current vault from one of two sources produced by `wiki-export`:
4
5- **`graph.json`** — the graph skeleton. Reconstructs page **stubs** (frontmatter, typed relationships, a `## Related` link list — no body). Lossy.
6- **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.
7
8Either 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 type.**
9
10## Before You Start
11
12**Writing profile:** Before drafting or rewriting natural-language Markdown, read and apply the `Writing Profile Resolution` section in `llm-wiki/SKILL.md`. Framework schema, provenance, safety, and operation-specific requirements take precedence.
13Preserve imported source prose; apply `WRITING.md` preferences only to newly generated metadata or stubs.
14
151. **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`.
162. Read `$OBSIDIAN_VAULT_PATH/AGENTS.md` if it exists — apply any owner-specific conventions.
17
18## Step 1: Locate and Detect Source Type
19
20**Find the import source:**
21- If the user provided a path argument, use it directly.
22…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates