Skills: Trim the Bases prefix fix and add the WSL note

From #84, keep the note. prefix rule for the properties section, the fixed examples, and the empty displayName fallback. Drop the CLI prerequisites, which overlap "Before using the CLI", and the claim that older vaults have Bases turned off.

From #96, keep the WSL Obsidian.com note. Drop the headless Linux setup, because the CLI finds Obsidian's socket through XDG_RUNTIME_DIR, not DISPLAY.
This commit is contained in:
Steph Ango
2026-11-11 07:56:52 -08:00
parent 37a56a6a58
commit 48a7ca3f32
2 changed files with 10 additions and 15 deletions
@@ -11,6 +11,8 @@ Use the `obsidian` CLI to interact with a running Obsidian instance. Requires Ob
Run `obsidian help` to check availability. If the command is missing, explain how to turn on the CLI using https://help.obsidian.md/cli. The `obsidian` command ships with the Obsidian installer; don't install the unrelated npm package `obsidian-cli`. If it can't find Obsidian, ask the user to open the desktop app, then retry. In a sandboxed shell the same message can mean the sandbox blocked the CLI's local socket.
On WSL, run `Obsidian.com` from the Windows install folder, not `Obsidian.exe`. `Obsidian.com` is the console wrapper that prints the output; `Obsidian.exe` exits without printing anything.
The CLI exits with status 0 even when a command fails, so read its output before reporting that a command succeeded.
Quote parameters for the current shell, and pass note text as literal argument data, never as executable shell syntax.