Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

oh-my-obsidian-setup

БесплатноБез исполняемых скриптовНе проверен

Use this skill when the user wants to initialize oh-my-obsidian, create or attach an Obsidian vault, configure persistent vault resolution, or prepare…

hongdangmoo49от hongdangmoo49★ 31 звезда на GitHub

Об этом скилле

Oh My Obsidian Setup

Use this skill when the user wants to initialize oh-my-obsidian, create an Obsidian vault, attach an existing vault, configure persistent vault resolution, or prepare Obsidian Git integration.

Non-Negotiable Contracts

  • Use the selected vault directory as vaultRoot.
  • Do not mutate a vault before a dry-run summary and explicit user approval.
  • Before any non-bootstrap vault artifact mutation, write vaultRoot/.oh-my-obsidian/setup-state.json with status: "in_progress" and planned managedArtifacts.
  • The only bootstrap exception before setup state exists is creating vaultRoot and vaultRoot/.oh-my-obsidian.
  • Mutating follow-up skills must resolve the vault through explicit OBSIDIAN_VAULT first, then approved Codex hook pointers (<repo>/.codex/oh-my-obsidian.local.json and ~/.codex/oh-my-obsidian.local.json), then the approved Codex config pointer at ~/.oh-my-obsidian/config.json.
  • If neither resolver works, report action_required_env and stop mutation.
  • Do not depend on repository root scripts, root bin/, or legacy Claude-only environment variables.

Helper Scripts

Resolve the plugin directory from this skill location, then use plugin-local helpers:

node scripts/obsidian-app-preflight.mjs check
node scripts/setup-vault.mjs dry-run --preflight-json "<json-or-file>" --vault "<path>" --project-name "<name>" --domain "<domain-a>" --domain "<domain-b>"
node scripts/setup-vault.mjs apply --preflight-json "<json-or-file>" --vault "<path>" --project-name "<name>" --domain "<domain-a>" --domain "<domain-b>"
node scripts/setup-vault.mjs attach --preflight-json "<json-or-file>" --vault "<path>" --project-name "<name>" --domain "<domain-a>" --domain "<domain-b>"
node scripts/setup-vault.mjs validate --vault "<path>"
node scripts/codex-hooks.mjs plan --mode repo-local --repo-root "<repo>" --vault "<path>"
node scripts/codex-hooks.mjs apply --mode repo-local --repo-root "<repo>" --vault "<path>"
node scripts/obsidian-git-setup.mjs check "<path>"

Only add --create-config-pointer, --git init, Obsidian Git apply, package manager installs, Codex hooks apply, shell profile edits, remote changes, or push commands after separate explicit approval.

Bundled References

Resolve bundled references relative to the directory that contains this SKILL.md before searching anywhere else.

  • For interview strategy, read ./references/interviewer.md.
  • For vault structure planning, read ./references/vault-architect.md.
  • If a reference is not found on the first attempt, derive its absolute path from the current SKILL.md location and retry there before searching the plugin root, repository root, installed cache root, or current working directory.

Interactive Question Mode

When the setup flow needs a user decision, approval, or missing project detail, imitate Claude Ask mode or Codex Plan mode as closely as Codex skills allow.

  • Keep one question or one decision per turn.
  • Present exactly four numbered choices whenever a branch or approval is needed.
  • Options 1, 2, and 3 should be concrete choices for the current step.
  • Option 1 should be the recommended or default path when one exists.
  • Option 4 must always be 직접 입력 and allow any free-form answer.
  • Accept 1, 2, 3, 4, 4: ..., or the exact option label as valid replies.
  • If the user asks a side question or gives an ambiguous answer, answer briefly, then restate the same four choices before proceeding.
  • Do not ask the user to respond with an empty message or implicit confirmation.

Use this exact interaction shape:

<짧은 현재 상황 요약>

다음 중 하나로 답해주세요.
1. <권장 선택지>
2. <대안 1>
3. <대안 2 또는 이번 단계 건너뛰기/중단>
4. 직접 입력

Guidance by question type:

  • For install/approval questions, option 3 should usually mean 지금은 건너뛰기 or 여기서 중단.
  • For interview questions, options 1 to 3 should be plausible common answers, and option 4 should capture custom project details.
  • If the decision is effectively binary, still keep four choices by using: recommended path, safe alternative, skip for now, direct input.

Setup Flow

  1. Run Obsidian app preflight.
    • If Obsidian is installed, summarize path/version when available.
    • If it is missing and auto-install is available, show method and command, then ask before running install with the four-choice interaction mode.
    • If preflight reports git.status != "usable", explain the issue before any git-related setup. On macOS broken developer tools paths, show git.fixCommand when present.
    • If running in a container, never install a desktop app. Ask whether to continue and install Obsidian on the desktop host later.
    • In WSL, only use the Windows host check/install path after approval.
    • Preserve the successful preflight JSON and pass it to setup-vault.mjs --preflight-json ... so setup-state rec
Полный SKILL.md на GitHub

Установить oh-my-obsidian-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/interviewer.mdreferences/vault-architect.md

FAQ

Что делает скилл oh-my-obsidian-setup?

Use this skill when the user wants to initialize oh-my-obsidian, create or attach an Obsidian vault, configure persistent vault resolution, or prepare Obsidian Git integration.

Как установить скилл oh-my-obsidian-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл oh-my-obsidian-setup запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить oh-my-obsidian-setup с