file-guardian
CommunitySafeguard workspaces with instant snapshots.
Software Engineering#automation#disaster recovery#restore#git safety#file protection#workspace snapshot#hardlink dedup
AuthorMerkyorLynn
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents irreversible data loss by automatically snapshotting your workspace before the AI runs destructive file or version-control commands.
Core Features & Use Cases
- Auto-snapshot on danger: Detects risky operations like rm -rf, git clean -fdx, git reset --hard, and destructive moves, then captures a restore point first.
- Near zero disk overhead: Uses hardlink-based deduplication on macOS/Linux and mirroring on Windows to minimize snapshot storage costs.
- One-command restore: Lets you list available snapshots and restore a chosen snapshot to recover files quickly after accidental deletions.
Use case example: If you ask the AI to “clean my project and remove build artifacts,” File Guardian will snapshot the workspace first so you can restore everything if the deletion scope is wrong.
Quick Start
Ask your AI agent to run the operation, such as “Before I delete dist/, protect my workspace by snapshotting and then proceed.”
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: file-guardian Download link: https://github.com/MerkyorLynn/Lynn/archive/main.zip#file-guardian Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.