Snapshield snapshots a git repo before an AI coding agent session and restores it with one command
Ok-Conversation238 · reddit · 2026-07-28
A small CLI called snapshield snapshots the entire git working tree — tracked, staged, and untracked files — before an AI coding agent session starts, so a single snapshield undo can restore everything if the agent deletes files or runs a destructive reset.
The tool is a fast prototype built in an afternoon, MIT licensed, and depends only on git. The author says it is not meant to stop bad agent behavior, only to guarantee an easy rollback, and asks whether people prefer this approach over policy-based blockers.
More from coding & agent
- A remote MCP server adds OAuth 2.1 and verified auto-apply tools for job workflows — tom_doerr · 2026-07-28
- Clients pay for an AI slide maker that enforces template consistency, not creativity — Odd_Report6798 · 2026-07-28
- A single SKILL.md adds a local Python sandbox for data-analysis agents — dheetoo · 2026-07-28
- MCP in Practice: Building a Job Application Server with OAuth 2.1 — Shape_Weird · 2026-07-28
- VerifiMind PEAS ships a multi-agent validation stack with 13 free tools — modelcontextprotocol · 2026-07-28
- Directus MCP Server turns Directus into a full AI-accessible backend — modelcontextprotocol · 2026-07-28