hermes-offsite-backup

hermes-offsite-backup is a skill for Claude Code, Codex from OnlyTerp/hermes-optimization-guide. It costs 15 tokens per session (787 once invoked), scanned B, original, MIT.

A setup guide for encrypted Hermes backups stored away from the machine running Hermes. It uses age encryption and can copy backups to an rclone destination or another computer over SSH.

In plain words
What is it for?
Use it to configure nightly backups, test them, and alert you only when a backup fails.
Why use it?
An off-machine copy can still be available if the Hermes host fails, is lost, or is damaged.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure nightly backups, test them, and alert you only when a backup fails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onlyterp/hermes-optimization-guide/hermes-offsite-backup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OnlyTerp/hermes-optimization-guide --skill hermes-offsite-backup
Clone the repo
git clone --depth 1 https://github.com/OnlyTerp/hermes-optimization-guide

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hermes-offsite-backup

README.md
[![agentmods](https://agentmods.dev/badge/skills/onlyterp/hermes-optimization-guide/hermes-offsite-backup/github.svg)](https://agentmods.dev/skills/onlyterp/hermes-optimization-guide/hermes-offsite-backup)
Your own site
<a href="https://agentmods.dev/skills/onlyterp/hermes-optimization-guide/hermes-offsite-backup"><img src="https://agentmods.dev/badge/skills/onlyterp/hermes-optimization-guide/hermes-offsite-backup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hermes-offsite-backup

Your own site · 80×15
<a href="https://agentmods.dev/skills/onlyterp/hermes-optimization-guide/hermes-offsite-backup"><img src="https://agentmods.dev/badge/skills/onlyterp/hermes-optimization-guide/hermes-offsite-backup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 787 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00787
Opus 5.5 $0.00006 $0.00315
Sonnet 5.5 $0.00003 $0.00157
Haiku 4.5 $0.00002 $0.00079

Measured 2mo ago against content hash dedd75e3d304, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

hermes-offsite-backup scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/offsite-backup.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

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.
skills/hermes-offsite-backup/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

    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 ~/.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:

    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:

    age -d -i ~/.config/age/key.txt -o hermes-backup.zip hermes-backup-YYYYMMDD-HHMMSS.zip.age
    hermes import hermes-backup.zip
    

Verification

Read the full file on GitHub · 77 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 77 lines · 15 tokens per session scan B dedd75e3d304

Subscribe to this mod's changes

hermes-offsite-backup is a skill published in the GitHub repository OnlyTerp/hermes-optimization-guide (746 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 787 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.

Related

hermes-offsite-backup compared with skills from other repositories

hermes-offsite-backup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hermes-offsite-backupOnlyTerp/hermes-optimization-guideSkill7462mo agoMITB15Claude Code, Codex
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2k2d agoApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k3d agoMITA78Claude Code