agentleFS
aplaceforallmystuffaplaceforallmystuff/minervia-starter-kit/skills/minervia-restore/SKILL.md

minervia-restore

Skill18 starsChanged 11 months agoMITView on GitHub

List and restore from Minervia backups. Shows available backup timestamps and lets you restore files to previous versions. Use when you need to undo an update or recover customizations.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All files from a specific backup

    line 15
  2. Distinctive:

    Consider creating a backup before restoring (run update first)

    line 54
  3. Very specific:

    If user specifies a timestamp, restore: bash ~/.minervia/bin/minervia-update.sh --restore TIMESTAMP

    line 61
  4. Distinctive:

    If no backups exist, inform user that backups are created during updates

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Restore from Backup

List available backups and restore files to previous versions.

Why This Matters

Updates create backups automatically. If something goes wrong or you prefer your previous configuration, you can restore:

  • All files from a specific backup
  • Recover customizations that were overwritten
  • Undo an update completely

Quick Start

List available backups:

bash ~/.minervia/bin/minervia-update.sh --list-backups

Restore from a specific backup:

bash ~/.minervia/bin/minervia-update.sh --restore 2026-01-18T10-30-00

What You'll See

Available backups:

  2026-01-18T10-30-00 (15 files)
  2026-01-15T14-22-33 (12 files)

To restore: ./minervia-update.sh --restore TIMESTAMP

Restore Process

  1. Select backup - Choose a timestamp from the list
  2. Preview files - See which files will be restored
  3. Confirm - Approve the restoration
  4. Restore - Files copied back to original locations

Important Notes

  • Restoring overwrites current files with backup versions
  • Consider creating a backup before restoring (run update first)
  • Backups are stored in ~/.minervia/backups/
  • Backups are kept forever (no auto-pruning)

Process for Claude

  1. List backups: bash ~/.minervia/bin/minervia-update.sh --list-backups
  2. If user specifies a timestamp, restore: bash ~/.minervia/bin/minervia-update.sh --restore TIMESTAMP
  3. If no backups exist, inform user that backups are created during updates

Success Criteria

  • Backups listed or restored as requested
  • User informed of restoration results
  • Files restored to correct locations

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.