hook-git-auto-backup
Automatically commits your work to git after each Claude Code session via a Stop hook.
๐ก๏ธ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for hook-git-auto-backup, derived from its capabilities.
AIVSS 8.7 ยท High
View MAESTRO 7-layer threat model โOverview
A Claude Code plugin that hooks the end of each session to automatically create git commits, backing up work without manual intervention. It runs git commands on session events, so it holds write access to your repository and shell โ a real hook-based security surface.
Key features
- Auto-commit on session end
- Git-based work backup
- Zero-config hook
Use cases
- Never lose in-progress work
- Auto-checkpoint agent sessions