hermes-devcontainer-persistence

Coordinate lifecycle hooks, backups, and restoration for Hermes Agent services across Dev Container rebuilds.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/shichiyou/hermes-agent-001 --skill hermes-devcontainer-persistence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hermes-devcontainer-persistence
Source: https://github.com/shichiyou/hermes-agent-001/tree/main/.devcontainer/hermes-backup/skills/.archive/hermes-devcontainer-persistence
Command: npx skills add https://github.com/shichiyou/hermes-agent-001 --skill hermes-devcontainer-persistence

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures Hermes Agent services auto-start and that configuration persists across dev container rebuilds by coordinating lifecycle hooks, backup procedures, and restoration workflows.

Core Features & Use Cases

  • Lifecycle orchestration: initializeCommand, onCreateCommand, postCreateCommand, and postStartCommand coordinate startup and resilience.
  • Automated persistence: centralized backups of config, memories, and skills via the hermes-backup directory and post-start/cron integration.
  • DR-safe restoration: auto-restore from backup when the home volume is empty and provide guidance for manual reconfiguration when needed.

Quick Start

Open this skill in the Dev Container and enable Hermes persistence by following the lifecycle and backup setup steps provided in the documentation.

Frequently Asked Questions about hermes-devcontainer-persistence

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preserve service state across dev container rebuilds?

You preserve service state across dev container rebuilds by coordinating lifecycle hooks and automated backups, ensuring configuration and memories survive container restarts through external home volumes and workspace mounts.

How do dev container lifecycle hooks manage service auto-start and restoration?

Dev container lifecycle hooks manage auto-start by executing initializeCommand, onCreateCommand, postCreateCommand, and postStartCommand to orchestrate startup, trigger backups, and auto-restore state when the home volume is empty.

Can I use external home volumes to back up agent configuration and memories?

Yes, you can use external home volumes to back up agent configuration and memories by centralizing backups in a dedicated directory, integrated via post-start and cron scheduling for automated persistence.

What is the best way to restore agent services when the home volume is empty?

The best way to restore agent services when the home volume is empty is to auto-restore from the centralized backup directory, with manual reconfiguration guidance provided if the backup is incomplete.

Does dev container persistence require disaster recovery guards for local development?

Dev container persistence includes disaster recovery guards for local development by validating backup integrity and automating restoration flows, ensuring configuration and state survive container restarts without manual intervention.

Why does my agent configuration disappear after a dev container restart?

Agent configuration disappears after a dev container restart because state is not persisted to external volumes; implementing lifecycle hooks and automated backups ensures configuration and memories survive subsequent rebuilds.