daily-obsidian-vault-commit

Stage Obsidian vault changes and commit them to the main git branch with formatted messages.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/janezlapajne/dotfiles --skill daily-obsidian-vault-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: daily-obsidian-vault-commit
Source: https://github.com/janezlapajne/dotfiles/tree/main/conf/dotfiles/claude/scheduled-tasks/daily-obsidian-vault-commit
Command: npx skills add https://github.com/janezlapajne/dotfiles --skill daily-obsidian-vault-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It automates the daily process of capturing all Obsidian vault changes and committing them to git on the main branch with an agent-readable message.

Core Features & Use Cases

  • Daily vault snapshot commits: Stages vault changes and creates a consistently formatted commit message with a required [auto] prefix and Routine: trailer.
  • Safety-focused validation and failure handling: Verifies you are on main, performs a no-op exit on clean working trees, and stops on critical commit or hook failures without auto-checking out branches.
  • Graph refresh integration: Triggers the /graphify skill in-session as best-effort to update the vault knowledge graph after markdown changes.

Quick Start

Run the scheduled routine named daily-obsidian-vault-commit to commit your Obsidian vault changes to the main branch and update the knowledge graph when needed.

Frequently Asked Questions about daily-obsidian-vault-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate daily git commits for my Obsidian vault?

You can automate daily git commits for an Obsidian vault by running a scheduled routine that stages all markdown changes and commits them to the main branch. It validates the current branch, inspects staged changes, and generates an agent-readable commit message.

Does the daily Obsidian vault commit process update the knowledge graph?

Yes, the daily Obsidian vault commit process updates the knowledge graph by triggering a best-effort graphify update step after committing markdown changes. This ensures your vault's knowledge graph reflects the latest versioned snapshot.

What happens if there are no markdown changes in the Obsidian vault during the daily commit?

If there are no markdown changes in the Obsidian vault during the daily commit, the routine performs a no-op exit on a clean working tree. It avoids creating empty commits and safely stops without automatically checking out other branches.

Can I run the Obsidian vault snapshot routine on a branch other than main?

No, you cannot run the Obsidian vault snapshot routine on a branch other than main because it requires strict branch validation. The automated commit process stops if it detects you are not on the main branch to ensure safe versioning.

How does the automated vault commit handle git write operations and commit message formatting?

The automated vault commit handles git write operations using sandbox-aware handling for .git directories and formats commit messages with a mandatory [auto] prefix and Routine trailer. This ensures commits are agent-readable and clearly identified as automated routines.