kingdom-backup

Backup and restore Kingdom state to local storage and GitHub camelot repo.

Updated Oct 17, 2025
One-click install
npx skills add https://github.com/iamcapote/emptyrepo --skill kingdom-backup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kingdom-backup
Source: https://github.com/iamcapote/emptyrepo/tree/main/skills/forged/kingdom-backup
Command: npx skills add https://github.com/iamcapote/emptyrepo --skill kingdom-backup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Backup and restore of the Kingdom state is critical for resilience, enabling recovery from failures and preserving system integrity during updates, incidents, or audits.

Core Features & Use Cases

  • Token-efficient backup and restore of the Kingdom state to/from local storage and the GitHub camelot repo
  • Script-driven workflows for backup, restore, and verification that can be triggered on-demand
  • Use Case: Quickly recover the entire Kingdom state after a failure or verify integrity before major changes

Quick Start

Run the backup-all.sh script to create a snapshot of the current Kingdom state.

Frequently Asked Questions about kingdom-backup

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

FAQPage Schema
How do I backup and restore system state across local and remote storage?

System state backup and restore is executed through script-driven workflows that snapshot data to local storage and the GitHub camelot repo. This maintains system continuity during maintenance or incident response.

What is the best way to recover state after a failure involving Agent Zero or ElizaOS?

State recovery after a failure is handled by running the backup-all.sh script to restore the Kingdom state. This covers Agent Zero, ElizaOS, OpenClaw, and Secrets recovery for incident response.

Does this backup approach work with token-efficient operations and remote persistence?

This backup approach supports token-efficient operations and remote persistence requirements. It applies script-driven workflows to maintain system state across local and remote storage targets.

How do I verify system integrity before major changes or updates?

To verify system integrity before major changes, run the verification scripts provided in the workflow. This checks the Kingdom state snapshot to ensure data consistency prior to updates.

When do I need to run a state backup script for planned maintenance?

A state backup script for planned maintenance is needed when preserving system integrity is critical. The backup captures the current Kingdom state to enable recovery if the maintenance causes failures.

Can I trigger backup and restore workflows on-demand during incident response?

Backup and restore workflows can be triggered on-demand during incident response. The script-driven architecture allows operators to execute snapshots and recovery actions whenever system continuity is threatened.