Hermes Atlas
Skills & skill packs

Hermes Agent Core Backup Skill

art-solutions/hermes-agent-backup-skill

Hermes skill for nightly backups of memories, skills, config and state to a private git repository

In short

Hermes Agent Core Backup Skill is a single skill file that guides a Hermes agent through setting up, running, verifying and restoring daily backups of its memories, skills, state and configuration.

What Hermes Agent Core Backup Skill does

The repository contains hermes-agent-core-backup.md, a skill file you copy into ~/.hermes/skills/. You then give Hermes one of the prompts from the README, and it creates a backup script, makes it executable and adds a cron job that runs at 01:00 each night. The archive covers memories, skills, the SQLite state database, config, scripts and the .hermes/.env file, and it is pushed to a private git repository as a ZIP.

Further prompts cover a manual backup before a big change, a restore after a failure or migration (stopping Hermes processes first), and a check that the cron job, last log and latest ZIP in the remote repository are healthy. The README stresses that because the archive includes API keys, the remote repository must be private and the URL and ZIP files must not be shared. It needs Linux or macOS with git, zip and unzip, and an SSH key authorized on the backup host.

Key features

  • Nightly backup script and cron job created by the agent
  • Archive of memories, skills, state database, config, scripts and .env
  • Push of the ZIP archive to a private git repository
  • Prompts for manual backup, restore and backup verification
  • Restore path for crashes, migrations and bad config changes

When to use it

  • Protecting an agent's accumulated memories and skills against a server crash
  • Taking a snapshot before a major configuration change
  • Moving a Hermes agent to a new machine from the last backup

Who it is for: Hermes Agent operators who want an automated, restorable backup of their agent's state.

How it fits with Hermes Agent

A community skill for the Hermes Agent ecosystem, installed by copying one file into the Hermes skills directory.

How to install Hermes Agent Core Backup Skill

These commands are copied from the project's README. Check the repository for the latest steps before you run them.

cp hermes-agent-core-backup.md ~/.hermes/skills/hermes-agent-core-backup.md

Requirements: Linux or macOS server running Hermes, git, zip and unzip, an SSH key authorized on the backup host, and a private GitHub, GitLab or Gitea repository

Note: The backup archive includes ~/.hermes/.env with API keys, so the backup repository must be private.

FAQ

What is Hermes Agent Core Backup Skill?

Hermes Agent Core Backup Skill is a Hermes skill that sets up automated daily backups of an agent's memories, skills, state, config and secrets to a private git repository.

How do I install Hermes Agent Core Backup Skill?

Copy hermes-agent-core-backup.md into ~/.hermes/skills/. Hermes discovers it on the next session start, and you then give your agent the setup prompt from the README.

What do I need to run Hermes Agent Core Backup Skill?

You need a Linux or macOS server running Hermes with git, zip and unzip installed, an SSH key authorized on your backup host, and a private repository on GitHub, GitLab or Gitea.

Similar skills for Hermes Agent

All skills

Related guides: What is Hermes Agent? · SOUL.md for Hermes Agent: what it is and how to write one