wiki-import
仓库创建 2026年4月6日最近提交 23 天前SkillHot 收录 20 天前
▸ 精选理由
可恢复导出骨架或完整页面,方便迁移与恢复。
▸ 风险提示
导入可能覆盖或造成冲突,执行前请备份
这个 Skill 做什么
从 graph.json 或 OKF 包将外部知识图/页面导入当前 Vault 并重建页面。
把别处导出的知识图或 OKF markdown 包导入到当前 Vault,能重建页面骨架或恢复完整页面正文。想把其它 vault 的页面、graph.json 导入或迁移内容时用。区别在于 graph.json 只还原 stub(元数据和关联),OKF bundle 能恢复完整 markdown。
▸ 展开 SKILL.md 英文原文
Import a wiki knowledge graph into the current vault — either from a graph.json export file (stubs) or from an OKF (Open Knowledge Format) markdown bundle (full page bodies). Use this skill when the user says "import wiki", "import from export", "load graph.json", "import vault", "import OKF bundle", "import OKF", "load OKF", "import markdown bundle", "/wiki-import", or wants to transfer pages from one vault to another using the output of wiki-export.
2.7k
Stars
274
Forks
35
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-import/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-import/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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 type.** ## Before
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有