Agent skill

Hermes Offsite Backup

by OnlyTerp in OnlyTerp/hermes-optimization-guide

Set up encrypted off-machine Hermes backups. An agent skill from OnlyTerp/hermes-optimization-guide.

MITAuto-check passedDevOps & Cloud

Install Hermes Offsite Backup

skills CLI
$ npx skills add OnlyTerp/hermes-optimization-guide --skill hermes-offsite-backup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OnlyTerp/hermes-optimization-guide hermes-offsite-backup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OnlyTerp/hermes-optimization-guide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/hermes-offsite-backup .claude/skills/hermes-offsite-backup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hermes-offsite-backup
GitHub stars
688
Token cost
~772 tokens
SKILL.md length
368 words
Files
2 (incl. scripts)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Set up encrypted off-machine Hermes backups. An agent skill from OnlyTerp/hermes-optimization-guide.

  • Works in 6 steps: Ask; don't guess. You need three things… → Check the tools with the terminal tool → Install the script. Copy… → …
  • Tasks that involve Backup and disaster recovery
  • SKILL.md covers When to Use, Procedure, Verification and Pitfalls
  • Runs Shell scripts from its folder; calls bash

What it does

Hermes Offsite Backup is an agent skill from OnlyTerp/hermes-optimization-guide. Set up encrypted off-machine Hermes backups.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/offsite-backup.sh`).

It sits in DevOps & Cloud, covering Backup and disaster recovery. The repository describes itself as: Hermes Agent setup, migration, LightRAG, Telegram, and skill creation guide. The licence is MIT.

When your agent uses it

  • Tasks that involve Backup and disaster recovery

Example prompts

  • “/hermes-offsite-backup”

Requirements

  • A Bash shell

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Ask; don't guess. You need three things from the user
  2. Check the tools with the terminal tool
  3. Install the script. Copy scripts/offsite-backup.sh from this skill into ~/.hermes/scripts/offsite-backup.sh. Fill in the three values at…
  4. Test it once by hand and show the user the result
  5. Schedule it with no model involved. Output is delivered only when the script prints something, which happens only on failure
  6. Explain the restore path and have the user try it once, on the machine that holds the private key

What it can do on your machine

Read from SKILL.md and the folder at commit f865f8a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hermes Offsite Backup loads about 772 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 368 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~772

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from OnlyTerp/hermes-optimization-guide at commit f865f8a, republished under its MIT licence (© OnlyTerp). 368 words, ~772 tokens.

Download SKILL.mdSave it as .claude/skills/hermes-offsite-backup/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
hermes-offsite-backup
description
Set up encrypted off-machine Hermes backups.
version
1.0.0
author
Terp AI Labs
license
MIT
platforms
linux, macos

Hermes Off-Machine Backup

Nightly hermes backup, encrypted with age to a public key whose private half lives elsewhere, copied to a destination the user picks. It runs as a zero-token cron job that only messages the user when something fails.

When to Use

  • The user wants Hermes backed up somewhere other than the machine it runs on.
  • Before relying on an always-on Hermes host for anything important.

Procedure

  1. Ask; don't guess. You need three things from the user:

    • an age public key (age1…). Its private key must not be on this machine.
    • a destination: an rclone remote path (for example b2:my-bucket/hermes) or an scp target (user@host:/backups/hermes).
    • a local staging directory (default ~/hermes-backups).
  2. Check the tools with the terminal tool:

    bash
    age --version
    rclone version || command -v scp

    If age is missing, tell the user how to install it for their OS rather than installing it yourself.

  3. Install the script. Copy scripts/offsite-backup.sh from this skill into ~/.hermes/scripts/offsite-backup.sh. Fill in the three values at the top, then run chmod 700 on it.

  4. Test it once by hand and show the user the result:

    bash
    bash ~/.hermes/scripts/offsite-backup.sh && echo "backup ok"

    The script prints nothing on success and one line on failure.

  5. Schedule it with no model involved. Output is delivered only when the script prints something, which happens only on failure:

    bash
    hermes cron create "0 3 * * *" --no-agent --script offsite-backup.sh \
      --name offsite-backup --deliver telegram

    Use whatever delivery target the user prefers, or local.

  6. Explain the restore path and have the user try it once, on the machine that holds the private key:

    bash
    age -d -i ~/.config/age/key.txt -o hermes-backup.zip hermes-backup-YYYYMMDD-HHMMSS.zip.age
    hermes import hermes-backup.zip
Show full SKILL.md (130 more words)Show less

Verification

  • The encrypted file appears at the destination after the manual run.
  • hermes cron list shows offsite-backup as active, and hermes cron runs offsite-backup shows a clean run the next morning.
  • A test restore on another machine succeeds. An untested backup is a hope, not a backup.

Pitfalls

  • A full hermes backup includes API keys and bot tokens. Never copy the unencrypted zip off the machine. The script deletes the plaintext zip after encrypting it.
  • hermes backup is safe to run while Hermes is running. Never copy state.db by hand instead.
  • Keep the age private key off this host. If the host is compromised, the backups should stay unreadable.
  • -k in the script prunes old local zips. Pruning remote copies is the destination's job (for example a bucket lifecycle rule).

© OnlyTerp, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/hermes-offsite-backup of OnlyTerp/hermes-optimization-guide.

  • SKILL.md
  • scripts/offsite-backup.sh

Open the folder on GitHubat commit f865f8a

Compare with similar skills

Hermes Offsite Backup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hermes Offsite Backup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hermes Offsite Backup this skillOnlyTerp/hermes-optimization-guide688—~772Automated safety check: PassMIT
OmniRoute Backup and Sync CLIdiegosouzapw/OmniRoute75k—~948Automated safety check: PassMIT
Pymobiledevice3 Device Operatordoronz88/pymobiledevice32.9k—~1.8kAutomated safety check: NotesGPL-3.0
Myclaw BackupLeoYeAI/openclaw-backup659—~1.8kAutomated safety check: PassMIT
OmniRoute Database Backupsdiegosouzapw/OmniRoute75k—~395Automated safety check: PassMIT
Tempsgotempsh/temps831—~2kAutomated safety check: PassApache-2.0

Similar skills

  • OmniRoute Backup and Sync CLI

    diegosouzapw/OmniRoute

    Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

    75k GitHub stars~948 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Pymobiledevice3 Device Operator

    doronz88/pymobiledevice3

    Operate iOS and iPadOS devices with pymobiledevice3, from a local checkout or straight from PyPI via uvx on a fresh workstation.

    2.9k GitHub stars~1.8k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • Myclaw Backup

    LeoYeAI/openclaw-backup

    Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data.

    659 GitHub stars~1.8k tokensUpdated 7 mo ago
    DevOps & CloudAuto-check passed
  • OmniRoute Database Backups

    diegosouzapw/OmniRoute

    Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

    75k GitHub stars~395 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Temps

    gotempsh/temps

    Manage, deploy, operate, and instrument applications with Temps.

    831 GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Hass Builder

    aahl/skills

    A skill to build and manage Home Assistant configurations. An agent skill from aahl/skills.

    162 GitHub starsUsed in 1 repo~1.4k tokens
    DevOps & CloudAuto-check passed

More from OnlyTerp/hermes-optimization-guide

  • Hermes Cost Audit

    OnlyTerp/hermes-optimization-guide

    Audit Hermes token spend and propose cuts. An agent skill from OnlyTerp/hermes-optimization-guide.

    688 GitHub stars~985 tokensUpdated 16 days ago
    Auto-check passed
  • Hermes Health Check

    OnlyTerp/hermes-optimization-guide

    Diagnose a Hermes install and report fixes. An agent skill from OnlyTerp/hermes-optimization-guide.

    688 GitHub stars~936 tokensUpdated 16 days ago
    Auto-check passed
  • Hermes Security Review

    OnlyTerp/hermes-optimization-guide

    Review Hermes settings for security risks. An agent skill from OnlyTerp/hermes-optimization-guide.

    688 GitHub stars~1.1k tokensUpdated 16 days ago
    Auto-check: notes

Categories

Questions about Hermes Offsite Backup

What does Hermes Offsite Backup do?

Set up encrypted off-machine Hermes backups. An agent skill from OnlyTerp/hermes-optimization-guide. Hermes Offsite Backup is an agent skill from OnlyTerp/hermes-optimization-guide. Set up encrypted off-machine Hermes backups.

When should I use Hermes Offsite Backup?

Hermes Offsite Backup fits situations like: tasks that involve Backup and disaster recovery.

How do I install Hermes Offsite Backup in Claude Code?

Run `npx skills add OnlyTerp/hermes-optimization-guide --skill hermes-offsite-backup -a claude-code`. Or copy the skill folder (skills/hermes-offsite-backup in OnlyTerp/hermes-optimization-guide) into .claude/skills/hermes-offsite-backup in your project. Claude Code loads it when a task matches its description.

How do I install Hermes Offsite Backup in Codex?

Run `npx skills add OnlyTerp/hermes-optimization-guide --skill hermes-offsite-backup -a codex`. Or copy the skill folder (skills/hermes-offsite-backup in OnlyTerp/hermes-optimization-guide) into .agents/skills/hermes-offsite-backup in your project. Codex loads it when a task matches its description.

Can I use Hermes Offsite Backup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OnlyTerp/hermes-optimization-guide --skill hermes-offsite-backup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hermes-offsite-backup, .gemini/skills/hermes-offsite-backup, .github/skills/hermes-offsite-backup and .opencode/skills/hermes-offsite-backup in your project.

What does Hermes Offsite Backup need to run?

Going by SKILL.md and its folder, Hermes Offsite Backup needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Hermes Offsite Backup access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hermes Offsite Backup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Hermes Offsite Backup use?

Hermes Offsite Backup is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hermes Offsite Backup use?

About 772 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hermes Offsite Backup?

Skills that share tags, products or a category with Hermes Offsite Backup: OmniRoute Backup and Sync CLI (diegosouzapw/OmniRoute, 75k stars), Pymobiledevice3 Device Operator (doronz88/pymobiledevice3, 2.9k stars), Myclaw Backup (LeoYeAI/openclaw-backup, 659 stars) and OmniRoute Database Backups (diegosouzapw/OmniRoute, 75k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hermes Offsite Backup?

OnlyTerp (a GitHub user) maintains it in OnlyTerp/hermes-optimization-guide, which has 688 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 24, 2026.

Source: OnlyTerp/hermes-optimization-guide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.