file-history
Installation
SKILL.md
Obsidian File History & Recovery
When to Use This Skill
| Use this skill when... | Use the alternative instead when... |
|---|---|
| Recovering an overwritten or accidentally deleted note | Editing a current note — use vault-files |
| Diffing what changed between two versions of a note | Searching the current vault state — use search-discovery |
| Auditing the history of a single file before a destructive edit | Restoring a deleted file from disk-level backups — use OS tools |
Obsidian keeps two parallel version stores:
- File Recovery — local snapshots, configurable in Settings → File Recovery (
history:*). - Sync history — server-side versions, available with Obsidian Sync (
sync:history,sync:read,sync:restore).
diff unifies both: by default it lists every available version (newest = 1)
across both stores. filter=local|sync narrows the source.