Auto-stages and pushes vault changes to Git with intelligent commit messages.
Install
mkdir -p .claude/skills/push && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5459" && unzip -o skill.zip -d .claude/skills/push && rm skill.zipInstalls to .claude/skills/push
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Commit and push vault changes to Git with smart commit messages. Auto-stages files, creates meaningful commits, and syncs with remote. Use after making vault changes or at end of day.Key capabilities
- →Stage all file changes
- →Generate smart commit messages
- →Sync with remote repository
- →Handle merge conflicts
- →Timestamp commits
How it works
It automates the Git workflow by staging changes, generating a summary-based commit message, and pushing to the remote branch.
Inputs & outputs
When to use push
- →Backing up notes to Git at end of day
- →Automating commit messages for documentation changes
- →Syncing vault changes to remote repository
About this skill
Git Push Skill
Automates Git workflow to save your notes with meaningful commit messages and push to remote repository.
Usage
Invoke with /push or ask Claude to save/commit your changes.
Basic Usage
/push
With Custom Message
/push "Completed project planning"
What This Skill Does
-
Stages All Changes
- Adds all modified files
- Includes new files
- Removes deleted files
-
Creates Smart Commit Message
- Uses provided message, or
- Auto-generates from changes
- Includes date/time stamp
- Summarizes key modifications
-
Syncs with Remote
- Pulls latest changes (if enabled)
- Pushes to remote repository
- Handles merge conflicts gracefully
Commit Message Format
Automatic Messages
Based on your changes:
Daily note for 2024-01-15 + 3 project updates
- Added: Daily Notes/2024-01-15.md
- Modified: Projects/Learning Spanish/notes.md
- Modified: Goals/2. Monthly Goals.md
With Timestamp
[2024-01-15 09:30] Completed weekly review
Workflow Integration
Morning Routine
/daily # Create daily note
# ... work on notes ...
/push "Morning planning complete"
End of Day
# Complete daily reflection
/push # Auto-message with summary
After Weekly Review
/weekly # Run weekly review
/push "Weekly review - Week 3"
Git Operations
Standard Flow
git add .- Stage all changesgit commit -m "message"- Create commitgit pull --rebase origin main- Get remote changesgit push origin main- Push to remote
Safety Checks
- Verify Git repository exists
- Check for uncommitted changes
- Ensure remote is configured
- Validate branch exists
Conflict Handling
If conflicts occur:
- Auto-resolve attempts (favor local for notes)
- If manual resolution needed, guide through process
- Never force push without explicit request
Security Considerations
Never Commit
- Passwords or credentials
- API keys
- Personal identification
- Financial information
Use .gitignore for
private/
credentials.md
.env
.obsidian/workspace*
.obsidian/cache
.trash/
.DS_Store
Troubleshooting
Push Rejected?
Pull first, then push again:
git pull --rebase origin main
git push origin main
Not a Git Repository?
git init
git remote add origin [URL]
Large Files Issue?
Consider Git LFS for images/attachments.
Integration
Works with:
/daily- Commit after creating daily note/weekly- Commit after weekly review/onboard- No git needed for context loading- Auto-commit hook for automatic saves
When not to use it
- →When committing sensitive credentials or API keys
- →When working in a non-Git repository
Prerequisites
Limitations
- →Does not support force pushing
- →Requires manual resolution for complex conflicts
How it compares
It automates the entire commit-and-push cycle with smart message generation, whereas standard Git requires manual staging and message writing.
Compared to similar skills
push side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| push (this skill) | 1 | 5mo | Review | Beginner |
| session-search | 1 | 7mo | Review | Intermediate |
| ayo | 0 | 2mo | No flags | Beginner |
| nb | 0 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by ballred
View all by ballred →You might also like
session-search
pchalasani
For CLI agents WITHOUT subagent support (e.g., Codex CLI). Search previous code agent sessions for specific work, decisions, or code patterns.
ayo
k123-111
Save, resume, checkpoint, and restore AI-assisted project state. Use when the user says "ayo" to save a Markdown handoff, "oya" to read the latest handoff and continue after confirmation, "ayo bro" to create a Git-backed AYO checkpoint plus .ayo project memory, or "fuck" to restore the latest AYO ch
nb
sundial-org
Manage notes, bookmarks, and notebooks using the nb CLI. Create, list, search, and organize notes across multiple notebooks with Git-backed versioning.
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.