Command Palette

Search for a command to run...

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

obsidian-shared

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

Use when setting up, verifying, or troubleshooting the official Obsidian CLI, selecting a vault, checking CLI availability, or handling Obsidian CLI command…

fanfan-deот fanfan-de★ 55 звёзд на GitHub

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

Obsidian Shared CLI

Use this skill before more specific Obsidian skills when the request depends on the obsidian command being available, the target vault is ambiguous, or a command fails.

Preconditions

  • The user must have Obsidian installed from the 1.12 or newer installer.
  • The user must enable Settings > General > Command line interface inside Obsidian.
  • Obsidian CLI requires the desktop app. If the app is not running, the first command may launch it.

First Checks

Run these from PowerShell when starting a task or diagnosing a failure:

obsidian version
obsidian vault
obsidian vaults verbose
obsidian files total

If obsidian is not recognized, tell the user to enable the command line interface in Obsidian settings and complete the registration prompt.

Vault Selection

If the current shell directory is inside a vault, Obsidian targets that vault. Otherwise it targets the currently active vault.

To force a vault, put vault=<name-or-id> before the command:

obsidian vault="Work Notes" search query="roadmap"
obsidian vault="Work Notes" read path="Projects/Roadmap.md"

Use vaults verbose to discover vault names and paths before choosing a vault.

Parameters

CLI parameters use key=value.

Use file=<name> for wikilink-style file resolution. Use path=<vault-relative-path> when the exact vault-relative path is known. Prefer path for automation because it is less ambiguous.

Use quoted values when a value contains spaces:

obsidian create name="Meeting Notes" content="Hello"

For multiline content, use \n sequences unless a local script safely passes the argument as one string.

Safety Rules

  • Prefer read-only commands until the user clearly asks for a write.
  • Confirm before delete permanent, bulk edits, history restore, sync restore, or overwrite operations that can replace user content.
  • Avoid shell pipelines that transform Obsidian output before inspecting it when correctness matters. Prefer JSON output flags when supported.
  • When a command fails, run obsidian help <command> before guessing syntax.

Useful Diagnostics

obsidian help
obsidian help read
obsidian commands filter=obsidian
obsidian dev:errors
obsidian dev:console limit=50

Установить obsidian-shared в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл obsidian-shared?

Use when setting up, verifying, or troubleshooting the official Obsidian CLI, selecting a vault, checking CLI availability, or handling Obsidian CLI command failures.

Как установить скилл obsidian-shared?

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

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

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

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

Сравнить obsidian-shared с