wiki-setup

仓库创建 2026年4月6日最近提交 25 天前SkillHot 收录 22 天前
▸ 精选理由

快速搭建标准化 Vault 结构,适合首次使用或修复环境的用户。

▸ 风险提示

会在本地创建/修改文件与环境变量,需确认路径与权限。

这个 Skill 做什么

初始化或修复 Obsidian 维基仓库的目录、配置与示例文件。

把 Obsidian 维基仓库初始化或修复到正确的目录结构、特殊文件和配置,会自动创建 .env 和示例文件。准备新 vault、从零开始搭建或修复被弄坏的配置时就用,能省去很多手动设置步骤。它会生成标准目录和默认配置,让后续的摄取、同步更顺畅可靠。

▸ 展开 SKILL.md 英文原文

Initialize a new Obsidian wiki vault with the correct structure, special files, and configuration. Use this skill when the user wants to set up a new wiki from scratch, initialize the vault structure, create the .env file, or says things like "set up my wiki", "initialize obsidian", "create a new vault", "get started with the wiki". Also use when the user needs to reconfigure their existing vault or fix a broken setup.

开发编程初始化配置向导Vault搭建通用
2.7k
Stars
274
Forks
35
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-setup/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-setup/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Obsidian Setup — Vault Initialization

You are setting up a new Obsidian wiki vault (or repairing an existing one).

## Step 1: Create .env

If `.env` doesn't exist, create it from `.env.example`. Ask the user for:

1. **Where should the vault live?** → `OBSIDIAN_VAULT_PATH`
   - Default: `~/Documents/obsidian-wiki-vault`
   - Must be an absolute path (after expansion)

2. **Where are your source documents?** → `OBSIDIAN_SOURCES_DIR`
   - Can be multiple paths, comma-separated
   - Default: `~/Documents`

3. **Want to import Claude history?** → `CLAUDE_HISTORY_PATH`
   - Default: auto-discovers from `~/.claude`
   - Set explicitly if Claude data is elsewhere

4. **Have QMD installed?** → `
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有