← Back to Skills Marketplace
darinrowe

git-backed-obsidian-cli-workflows

by DarinRowe · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
280
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install git-backed-obsidian-cli-workflows
Description
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...
README (SKILL.md)

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

  1. Classify the request as either:
    • read/query
    • write/update
  2. For read/query tasks, use the official CLI directly.
  3. For write/update tasks, use the official CLI first, then run backup/sync.
  4. Use fallback file writing only for supported write workflows when CLI writing is unavailable.
  5. 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.md to choose whether a task should trigger sync.
  • Read references/fallbacks.md for the fallback policy and reporting rules.
  • Read references/workflow-surface.md to understand why the wrapper script supports a narrower write surface than the full official CLI.
  • Read references/environment-note.md for 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-headless for 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
Usage Guidance
This skill appears to do what it claims, but review a few things before installing: 1) Confirm NOTES_VAULT_ROOT (default: /root/obsidian-vault) to avoid accidental writes to an unexpected repository. 2) Inspect scripts/backup.sh so you understand which git remote/branch will be used—git push will transmit your notes using whatever Git credentials are configured. 3) Ensure the official obs CLI is installed and usable in the target environment (the wrapper falls back to direct file writes if not). 4) Run the wrapper in a non-privileged account or test environment first to verify behavior and remotes. If you need the skill to request or document specific env vars/credentials, ask the author to declare them explicitly in the skill metadata.
Capability Analysis
Type: OpenClaw Skill Name: git-backed-obsidian-cli-workflows Version: 1.0.0 The skill bundle implements automated Obsidian note management and Git synchronization, which involves high-risk capabilities such as shell execution and network access (git push). While these are aligned with the stated purpose, the use of 'git add -A' in scripts/backup.sh and the default vault path of /root/obsidian-vault pose a risk of unintended data exfiltration if the vault root is misconfigured. The design relies on environment variables to define critical execution paths and targets, which could be exploited if the agent's environment is not strictly controlled.
Capability Assessment
Purpose & Capability
Name/description align with the included code and instructions. The Python wrapper and backup.sh implement conservative read/write workflows and a post-write git sync, which is coherent for a 'git-backed Obsidian CLI workflows' skill.
Instruction Scope
SKILL.md directs use of the official obs CLI for queries and the bundled scripts for deterministic write+sync behavior. This is appropriate, but the post-write backup runs git operations (fetch, add, commit, pull, push) which will cause network activity to the repository's configured remote and may transmit changed notes. This behavior is expected for git-backed sync but is material and should be reviewed by the user.
Install Mechanism
No install spec or external downloads; the skill is delivered with local scripts (Python and shell). No archives or remote installers are invoked by the bundle itself.
Credentials
The skill declares no required environment variables but the scripts read several optional ones (NOTES_VAULT_ROOT, NOTES_BACKUP_SCRIPT, NOTES_INBOX_NOTE, NOTES_OBS_CMD, NOTES_GIT_BRANCH). These are reasonable and proportional to the task, but the defaults (e.g., /root/obsidian-vault) should be checked to avoid accidental modification of unexpected paths. The skill does not request credentials explicitly but will use any existing Git credentials/config present in the environment to push to remotes.
Persistence & Privilege
always is false and the skill does not request elevated platform privileges or modify other skills. It writes only to the configured vault path and runs a local backup script; no persistent platform-level changes are made by the bundle itself.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install git-backed-obsidian-cli-workflows
  3. After installation, invoke the skill by name or use /git-backed-obsidian-cli-workflows
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of git-backed-obsidian-cli-workflows. - Supports read, search, backlinks, daily note, and lightweight write workflows using the official Obsidian CLI in a Git-backed vault. - Automatically runs Git-based backup/sync after successful write operations. - Falls back to direct file writing only if the CLI does not support a workflow and fallback is allowed. - Reports operation details: command or workflow used, target note, sync run status, and sync result. - Designed for any supported environment where the official Obsidian CLI already works. Use a dedicated skill for CLI installation or headless adaptation.
Metadata
Slug git-backed-obsidian-cli-workflows
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 280 downloads so far.

How do I install git-backed-obsidian-cli-workflows?

Run "/install git-backed-obsidian-cli-workflows" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is git-backed-obsidian-cli-workflows free?

Yes, git-backed-obsidian-cli-workflows is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does git-backed-obsidian-cli-workflows support?

git-backed-obsidian-cli-workflows is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created git-backed-obsidian-cli-workflows?

It is built and maintained by DarinRowe (@darinrowe); the current version is v1.0.0.

💬 Comments