Command Palette

Search for a command to run...

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

wiki-setup

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

Initialize or repair an Obsidian wiki vault's required structure and configuration. Use for new-vault setup, .env/config creation, reconfiguration, or broken…

Ar9avот Ar9av★ 3 841 звезда на GitHub

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

Obsidian Setup — Vault Initialization

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

Hermes Skills Hub installs

When running in Hermes, first resolve the vault path with the user and run obsidian-wiki setup --vault-only --vault <absolute-path> (optional --timezone <IANA-name>). Review the existing shared wiki config before changing its vault selection. This initializes the packaged asset root and writing profile without touching other agents. If the CLI is unavailable, ask the user to install it; do not substitute broad setup or automatic dependency installation. Use the resulting OBSIDIAN_WIKI_REPO for shared templates and scripts: a hub-installed skill's location is not the framework repository root. Do not create a project .env unless the user explicitly wants a project override. Skip the optional Claude Stop-hook section entirely in Hermes. Sync and history imports remain separate opt-ins, not part of installing these skills.

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
    • Local git repo clones (public or private, any host) can be listed here too — clone the repo locally first, then add its path. See "Ingesting Git Repositories" in wiki-ingest/SKILL.md for how repo sources are handled.
  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? → QMD_WIKI_COLLECTION / QMD_PAPERS_COLLECTION / QMD_TRANSPORT

    • Optional. Enables semantic search in wiki-query and source discovery in wiki-ingest.
    • Default to QMD_TRANSPORT=mcp unless the user wants the agent to call the local qmd CLI directly.
  5. Which timezone should the wiki's timestamps use? → timezone: in index.md (not .env)

    • Optional. An IANA name such as America/Detroit; blank means UTC in the Z spelling.
    • Lives in the vault so it applies to every writer (CLI, server, Python API) and travels with it.
    • Written by obsidian-wiki setup --timezone <name> (step 3 below) or by hand; obsidian-wiki memory now prints stamps in it.
    • If using CLI mode, set QMD_CLI_SEARCH_MODE=quality by default; suggest balanced if reranking is too slow.
    • If unsure, skip for now — both skills fall back to Grep automatically.
    • Install instructions: see .env.example (QMD section).
    • If QMD_WIKI_COLLECTION is set, verify the collection excludes _raw/. The wiki collection and papers collection must stay disjoint — wiki-query cites them as separate layers (compiled knowledge vs. raw staging), and OBSIDIAN_VAULT_PATH contains _raw/, so a plain qmd collection add <vault> silently merges the two. Read ~/.config/qmd/index.yml, find the entry for $QMD_WIKI_COLLECTION, and check its ignore list includes _raw/** (and ideally log.md, which has no semantic value). If the collection doesn't exist yet, create it (qmd collection add "$OBSIDIAN_VAULT_PATH" --name <collection-name>), then add the ignore block to index.yml by hand — qmd has no --ignore flag and refuses a second collection add on a path that already has one, so editing the YAML is the only way to scope it. Run qmd update after editing. If the collection already exists without the ignore block, tell the user their wiki collection is indexing _raw/ (including _raw/_archived/ drafts left behind by wiki-ingest) and offer to add the ignore block and re-run qmd update.
  6. Token budget warning threshold? → WIKI_TOKEN_WARN_THRESHOLD

    • Default: 100000 (warn when full-wiki read would cost > 100K tokens)
    • Set to 0 to disable the warning entirely
    • wiki-status shows a token footprint table and emits this warning automatically
  7. Enable staged writes? → WIKI_STAGED_WRITES

    • Default: unset / false (pages written directly to their final location)
    • Set to true for team wikis, high-stakes domains, or any vault where the human wants final say on every LLM-written page
    • When enabled: all new/updated pages land in _staging/ first; run /wiki-stage-commit to review and promote them
    • wiki-status shows a "Staged writes pending" count when files are waiting

After resolving config, assign the global config directory with the exact obsidian_wiki_config_dir algorithm from the Config Resolution Protocol in skills/llm-wiki/SKILL.md. Create the shared writing profile only when it does not already exist. Preserve an existing $GLOBAL_CONFIG_DIR/WRITING.md; never overwrite it and do not ask additional

Полный SKILL.md на GitHub

Установить wiki-setup в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл wiki-setup?

Initialize or repair an Obsidian wiki vault's required structure and configuration. Use for new-vault setup, .env/config creation, reconfiguration, or broken setup recovery.

Как установить скилл wiki-setup?

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

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

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

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

Сравнить wiki-setup с