/install git-backed-obsidian-cli-workflows
Git Backed Obsidian CLI Workflows
Use the official Obsidian CLI as the primary workflow surface. Treat Git sync as a write-only follow-up, not part of read/query operations.
Core rules
- Assume the official Obsidian CLI is already installed and usable.
- Use CLI-native read/query commands first for search, read, links, outline, tags, tasks, and related vault inspection.
- Use CLI-native write commands first for
daily,daily:append,create, and similar lightweight note updates. - After successful write operations, run the vault backup/sync script.
- Do not run Git sync after read-only operations.
- If a write-oriented CLI path is unavailable or unsuitable, fall back to direct file writing only when the workflow explicitly supports it.
- If sync fails after a successful write, report that the note was written but not synced.
Environment model
This skill is not server-only. Use it anywhere the official Obsidian CLI is already available:
- desktop Linux
- macOS
- Windows environments where the official CLI is working
- headless/server environments that have already been adapted
If the environment is a headless server and the official CLI is not yet usable, use obsidian-official-cli-headless first. That skill handles server adaptation and installation. This skill handles the day-to-day note workflows after the CLI works.
Fast path
- Classify the request as either:
- read/query
- write/update
- For read/query tasks, use the official CLI directly.
- For write/update tasks, use the official CLI first, then run backup/sync.
- Use fallback file writing only for supported write workflows when CLI writing is unavailable.
- Report the target note/path, whether CLI or fallback was used, and whether sync succeeded.
Common read/query commands
Prefer commands such as:
obs search query="..."
obs read file="..."
obs daily:read
obs links file="..."
obs outline file="..."
obs tags
obs tasks daily
obs vault
Use exact commands supported by the installed official CLI.
Common write/update commands
Prefer commands such as:
obs daily
obs daily:append content="..."
obs create name="..." content="..."
After a successful write, run the backup script.
Bundled scripts
Use scripts/notes_workflow.py when you need a deterministic wrapper for:
- daily-note append with sync
- lightweight memo/inbox capture with fallback write
- simple note create/append workflows with post-write sync
Use scripts/backup.sh as the default post-write Git sync path for this skill.
References
- Read
references/query-vs-write.mdto choose whether a task should trigger sync. - Read
references/fallbacks.mdfor the fallback policy and reporting rules. - Read
references/workflow-surface.mdto understand why the wrapper script supports a narrower write surface than the full official CLI. - Read
references/environment-note.mdfor the split between general CLI workflows and headless/server adaptation.
What not to do
- Do not use this skill to install or configure the official CLI environment; use
obsidian-official-cli-headlessfor that. - Do not force-push from automation.
- Do not expand into full vault restructuring, plugin setup, or GUI management.
What to report
Keep the result minimal:
- command or workflow used
- target note/path
- whether sync ran
- whether sync succeeded
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-backed-obsidian-cli-workflows - 安装完成后,直接呼叫该 Skill 的名称或使用
/git-backed-obsidian-cli-workflows触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
git-backed-obsidian-cli-workflows 是什么?
Use the official Obsidian CLI for note workflows in a Git-backed vault, including search, read, links/backlinks-style queries, daily-note operations, and lig... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 280 次。
如何安装 git-backed-obsidian-cli-workflows?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-backed-obsidian-cli-workflows」即可一键安装,无需额外配置。
git-backed-obsidian-cli-workflows 是免费的吗?
是的,git-backed-obsidian-cli-workflows 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
git-backed-obsidian-cli-workflows 支持哪些平台?
git-backed-obsidian-cli-workflows 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 git-backed-obsidian-cli-workflows?
由 DarinRowe(@darinrowe)开发并维护,当前版本 v1.0.0。