Skip to content
SkillModel-led4,172 tokens in use

wiki-import

Rebuilds wiki pages in a vault from a wiki-export graph.json or an OKF markdown bundle, with merge, skip or overwrite handling for pages that already exist.

3,792 stars on the repository MIT LicenseAr9av/obsidian-wiki · skills/wiki-import
pip install obsidian-wiki
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing wiki-import costs

42tokens idle
4,172tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure25/25
  • Examples12/15
  • Output15/15
  • Size13/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 236

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity28
  • Momentum40

wiki-import brings knowledge exported from another vault into the current one. It accepts a graph.json file, which rebuilds page stubs with frontmatter, typed relationships and a Related list, or an OKF bundle, which rebuilds full pages with their original bodies.

It shows a preview, resolves conflicts in merge, skip or overwrite mode, writes the pages, and records the import in the manifest, index, log and hot context.

What You Get

  • Pages created in the right category folders with valid frontmatter
  • Full page bodies from an OKF bundle, or stubs with a Related section from graph.json
  • Typed relationships and tags merged into pages that already exist
  • An updated manifest, index, log and hot file recording the import
  • A summary of created, merged, skipped and unparseable pages

Common Use Cases

  • Moving a whole wiki from one vault to another without losing page content
  • Seeding a new vault from a shared graph.json skeleton
  • Merging a teammate’s exported pages into your own vault

What Makes It Unique

It is the reverse half of wiki-export and understands both of its outputs, using the lossy graph file for structure and the OKF bundle for content. Its conflict modes are chosen from the user’s phrasing, and the OKF path restores dangling links, preserves extension keys and drops fields its own exporter derived. Metadata is written through one locked command so parallel writers cannot drop updates.

Under The Hood

The skill is instructions for the agent. It reads the export source, writes markdown pages and edits the manifest file in the vault. It runs the obsidian-wiki command line tool to sync the index, log and hot files under a lock, and it tells the agent never to edit those three by hand. It does not fetch web pages or call remote APIs.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers