跳到正文
cccskills
免费在 GitHub 公开

obsidian-cli-runtime-admin

Use this skill when the user needs Obsidian runtime administration through official desktop CLI commands for plugins, restricted mode, themes, CSS snippets, command catalog/hotkeys, or targeted command execution. Keep this skill separate from note CRUD, Sync/Publish, and devtools diagnostics.

中文简介正在准备中。当前显示原文说明。

集成工具Obsidian
查看安装方法

包含的文件(7)

  • SKILL.md3.7 KB
  • agents/openai.yaml426 B
  • assets/eval-prompts.csv1.1 KB
  • references/limitations-and-boundaries.md656 B
  • references/obsidian-cli-runtime-admin-playbook.md959 B
  • references/source-links.md109 B
  • references/validation.md483 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Obsidian CLI Runtime Admin

Use this skill for Obsidian runtime administration through official desktop obsidian CLI commands.

Routing contract

Use this skill when:

  • the user asks to inspect or change plugin state
  • the user asks to inspect or change themes or CSS snippets
  • the user asks about restricted mode
  • the user asks to list command IDs or hotkeys
  • the user asks to execute a specific Obsidian command ID

Do not use this skill when:

  • the request is primarily note edits, links, tasks, properties, templates, or history
  • the request is primarily Sync/Publish operations
  • the request is explicitly a named one-command workflow ID (route to obsidian-cli-workflows)
  • the request is runtime debugging, DOM/CSS inspection, or screenshot/eval diagnostics

Preconditions

Assume these must be true before relying on this skill:

  • obsidian command 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 /usr/local/bin/zsh -ilc 'unset __CFBundleIdentifier LaunchInstanceID XPC_SERVICE_NAME CODEX_CI CODEX_SANDBOX CODEX_SHELL; export TERM=xterm-256color; obsidian ...'

Escalate the wrapped command only when required by sandbox boundaries.

Core operating policy

  1. Use only documented official runtime-admin CLI commands.
  2. Prefer read-only inventory first for mixed flows: plugins, plugins:enabled, themes, snippets, commands, hotkeys.
  3. Treat runtime mutation commands as high impact.
  4. For command id=<...>, require explicit command ID and do not guess silently.
  5. Before mutating runtime state, summarize exact side effects and scope.
  6. If command ID, plugin ID, theme name, or snippet name is ambiguous, stop and ask for disambiguation.
  7. Do not use this skill as a backdoor to broad opaque behavior; keep execution tied to explicit user request.
  8. If a request is outside official runtime-admin support, say so and stop.

Risk levels

  • low: plugins, plugins:enabled, plugin, themes, theme, snippets, snippets:enabled, commands, hotkeys, hotkey
  • medium: plugins:restrict, command
  • high: plugin:install, plugin:uninstall, plugin:enable, plugin:disable, theme:install, theme:uninstall, theme:set, snippet:enable, snippet:disable

Response contract

Always return:

  • capability used
  • risk level (low, medium, high)
  • execution mode (direct or escalated)
  • exact command(s) run or proposed
  • runtime side-effect summary (if any)
  • changed runtime entities (plugin/theme/snippet/command), if any
  • blocking reason, if any

Command families

Plugins:

  • plugins
  • plugins:enabled
  • plugins:restrict
  • plugin
  • plugin:enable
  • plugin:disable
  • plugin:install
  • plugin:uninstall
  • plugin:reload

Themes/snippets:

  • themes
  • theme
  • theme:set
  • theme:install
  • theme:uninstall
  • snippets
  • snippets:enabled
  • snippet:enable
  • snippet:disable

Command palette:

  • commands
  • command
  • hotkeys
  • hotkey

References

  • references/obsidian-cli-runtime-admin-playbook.md
  • references/limitations-and-boundaries.md
  • references/validation.md
  • references/source-links.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use this skill when the user needs official desktop Obsidian CLI Bases or Bookmarks workflows, including base discovery, view/query operations, base item creation, and bookmark management. Keep this skill separate from general note CRUD, runtime admin, Sync/Publish, and devtools diagnostics.

中文简介正在准备中。当前显示原文说明。

greg-asher/codex-obsidian292026年4月22日 更新

Use this skill when the user needs Obsidian runtime debugging or developer introspection through official desktop Obsidian CLI developer commands, including devtools, console/errors capture, DOM/CSS inspection, screenshots, CDP calls, and controlled eval. Do not use for regular note CRUD, task/property editing, Sync/Publish administration, or community tooling outside the official CLI.

中文简介正在准备中。当前显示原文说明。

greg-asher/codex-obsidian292026年4月22日 更新

Use this skill when the user needs official desktop Obsidian CLI Sync workflows and, when detected as available, Publish workflows. This skill is for remote-side-effect operations and must use explicit intent, capability probing, and conservative safety checks.

中文简介正在准备中。当前显示原文说明。

greg-asher/codex-obsidian292026年4月22日 更新

Use this skill for one-command Obsidian workflow orchestration across the existing six domain skills. This skill owns named workflow command IDs and preview/apply execution policy, while delegating all direct official CLI command execution to the appropriate domain skill.

中文简介正在准备中。当前显示原文说明。

greg-asher/codex-obsidian292026年4月22日 更新

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.

中文简介正在准备中。当前显示原文说明。

greg-asher/codex-obsidian292026年4月22日 更新

Use this skill when the user wants local Obsidian note or metadata work done primarily through documented official desktop `obsidian` CLI commands, with limited local vault filesystem support when needed for parent folders, path checks, ambiguity resolution, verification, or safe vault structure operations. Best for local vault search, note reads, exact-path note updates, backlinks, tasks, properties, templates, and local history. Do not use it for runtime admin, devtools diagnostics, workspace/navigation administration, community tools, `obsidian://` launcher tasks, Headless Sync or Publish workflows, or plugin-specific APIs.

中文简介正在准备中。当前显示原文说明。

greg-asher/codex-obsidian292026年4月22日 更新

查看 greg-asher 的全部技能

报告此技能的问题