obsidian-cli-workspace-and-navigation
Use this skill when the user needs official desktop Obsidian CLI workspace, vault, tab, navigation, and utility operations, including workspace save/load/delete, tab and recent-file handling, vault info/listing, random/unique note navigation helpers, web viewer, and wordcount. Keep this skill separate from note CRUD/tasks/properties/history, runtime admin, devtools diagnostics, and Sync/Publish operations.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- obsidian-cli-workspace-and-navigation
- description
- Use this skill when the user needs official desktop Obsidian CLI workspace, vault, tab, navigation, and utility operations, including workspace save/load/delete, tab and recent-file handling, vault info/listing, random/unique note navigation helpers, web viewer, and wordcount. Keep this skill separate from note CRUD/tasks/properties/history, runtime admin, devtools diagnostics, and Sync/Publish operations.
02 资源文件 6
- 参考文档agents/openai.yaml443 B
- 资产文件assets/eval-prompts.csv1.2 KB
- 参考文档references/limitations-and-boundaries.md789 B
- 参考文档references/obsidian-cli-workspace-navigation-playbook.md1.1 KB
- 参考文档references/source-links.md109 B
- 参考文档references/validation.md536 B
03 SKILL.md 正文
Obsidian CLI Workspace and Navigation
Use this skill for Obsidian workspace and navigation operations through official desktop obsidian CLI commands.
Routing contract
Use this skill when:
- the user asks about vault metadata or vault listing
- the user asks to inspect or change workspace layout state
- the user asks about tabs, recent files, or opening views/files for navigation
- the user asks for random/unique note navigation helpers
- the user asks to open a URL in Obsidian web viewer
- the user asks for word/character counts
Do not use this skill when:
- the request is primarily note CRUD, tasks, properties, templates, links, or history/diff
- the request is plugin/theme/snippet administration
- the request is Sync or Publish management
- the request is explicitly a named one-command workflow ID (route to
obsidian-cli-workflows) - the request is runtime diagnostics, DOM/CSS inspection, screenshot capture, eval, or CDP
Preconditions
Assume these must be true before relying on this skill:
obsidiancommand is installed and registered- Obsidian desktop app is available locally
- first command may launch Obsidian if it is not running
- in Codex Desktop on macOS, direct launches may crash; use the sanitized wrapper
Codex-safe launcher
In Codex Desktop on macOS, prefer this wrapper:
script -q /dev/null "${CODEX_OBSIDIAN_ZSH_PATH:-/usr/local/bin/zsh}" -ilc 'unset __CFBundleIdentifier LaunchInstanceID XPC_SERVICE_NAME CODEX_CI CODEX_SANDBOX CODEX_SHELL; export TERM=xterm-256color; obsidian ...'
Set CODEX_OBSIDIAN_ZSH_PATH to override the default /usr/local/bin/zsh path. The override must be an absolute path to a Zsh-compatible executable.
Escalate the wrapped command only when required by sandbox boundaries.
Core operating policy
- Use only documented official workspace/navigation CLI commands.
- Prefer read-only inspection first for mixed flows:
vault,vaults,workspace,workspaces,tabs,recents,wordcount. - Treat workspace layout mutations as high-impact operations (
workspace:save,workspace:load,workspace:delete). - For
tab:openandopen, require explicit target intent when both file and view options are plausible. vault:openis not currently treated as part of this skill's owned command set in this plugin release.- For
web url=..., require explicit URL target and avoid silent URL construction. - Summarize side effects before mutating workspace state.
- If a request is outside official workspace/navigation surface, say so and stop.
Risk levels
- low:
vault,vaults,workspace,workspaces,tabs,recents,random,random:read,wordcount - medium:
open,tab:open,unique,web - high:
workspace:save,workspace:load,workspace:delete
Response contract
Always return:
- capability used
- risk level (
low,medium,high) - execution mode (
directorescalated) - exact command(s) run or proposed
- side-effect summary (for workspace mutations)
- files/views/workspaces affected, if any
- blocking reason, if any
Command families
Vault:
vaultvaults
Workspace and tabs:
workspaceworkspacesworkspace:saveworkspace:loadworkspace:deletetabstab:openrecents
Navigation and utility:
openrandomrandom:readuniquewebwordcount
References
references/obsidian-cli-workspace-navigation-playbook.mdreferences/limitations-and-boundaries.mdreferences/validation.mdreferences/source-links.md
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.