Avenger Initiative
Encrypted GitHub backup & restore for any OpenClaw agent system. Branch-per-night strategy with smart retention (7 daily / 8 weekly / 12 monthly). Backs up openclaw.json (AES-256 encrypted), agent memories, SOUL/IDENTITY files, cron jobs, and custom skills. Guided agent setup flow.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
🛡️ Avenger Initiative
Encrypted GitHub backup & restore for any OpenClaw agent system.
What It Does
Avenger Initiative backs up your entire OpenClaw system to a private GitHub repo every night — configs, agent memories, SOUL files, custom skills, cron jobs — everything needed to fully restore from zero.
Security model:
openclaw.json(API keys, bot tokens) → AES-256-CBC encrypted before leaving disk- Everything else (SOUL.md, MEMORY.md, etc.) → plaintext in your private repo
- Encryption key stays on your machine — never committed to Git
Branch-per-night strategy with smart retention:
| Branch | Pattern | Retention |
|---|---|---|
| Daily | backup/daily/YYYY-MM-DD | Last 7 days |
| Weekly | backup/weekly/YYYY-WNN | Last 8 weeks |
| Monthly | backup/monthly/YYYY-MM | Last 12 months |
What's in the vault?
Every backup automatically generates a human-friendly README.md in the vault root — so anyone (or any agent) landing in the repo immediately knows what it is, what's encrypted vs plaintext, and exactly how to restore. It includes step-by-step restore commands, natural-language Avenger agent commands, and security notes. A compact AVENGER-MANIFEST.json is also written with machine-readable backup metadata for scripted restores.
Installation
Option 1 — ClawHub CLI (recommended)
clawhub install avenger-initiative
Get the ClawHub CLI:
npm install -g clawhub
Option 2 — ProSkills.md
Visit proskills.md/skills/avenger-initiative and click Install — the skill is listed for free, no login required to browse.
Option 3 — Manual (git clone)
mkdir -p ~/.openclaw/workspace/skills
git clone https://github.com/ProSkillsMD/avenger-initiative \
~/.openclaw/workspace/skills/avenger-initiative
chmod +x ~/.openclaw/workspace/skills/avenger-initiative/scripts/*.sh
Quick Start
1. Create a private GitHub vault repo
Go to github.com/new and create a private repo (e.g. my-openclaw-vault).
2. Set up Avenger Initiative
Tell your OpenClaw agent:
"Setup avenger"
Your agent will walk you through the rest — vault repo URL, encryption key, first backup.
Or run manually:
bash ~/.openclaw/workspace/skills/avenger-initiative/scripts/setup.sh \
--repo https://github.com/yourname/your-vault
3. Save your encryption key
After setup, you'll see a 64-character hex key. Save it in your password manager immediately.
Without it, openclaw.json.enc cannot be decrypted.
4. First backup runs automatically
Daily backups are scheduled at 02:00 UTC via OpenClaw cron.
Usage
| Say this to your agent | What happens |
|---|---|
"avenger backup" | Runs backup now |
"avenger status" | Shows last backup time and branch |
"restore from vault" | Guided restore flow |
"avenger setup" | First-time setup wizard |
Restore
# Restore latest (main branch)
bash ~/.openclaw/workspace/skills/avenger-initiative/scripts/restore.sh
# Restore from a specific date
bash ~/.openclaw/workspace/skills/avenger-initiative/scripts/restore.sh \
--branch backup/daily/2026-03-10
# After restore
openclaw gateway restart
Requirements
- OpenClaw installed and running
- GitHub CLI (
gh) authenticated (gh auth login) git,openssl(standard on most systems)- A private GitHub repo for your vault
Security
This skill uses:
openssl enc -aes-256-cbc— encrypts youropenclaw.jsonwith your own keygit push— pushes to your own private vault repo only- No external servers — data goes only to your own GitHub account
See SECURITY.md for full script-by-script analysis and audit instructions.
Changelog
v1.0.4
- Each backup now generates a human-friendly
README.mdinside the vault with purpose, restore commands, and Avenger agent commands - Added
AVENGER-MANIFEST.json(machine-readable backup metadata)
v1.0.3
- Fixed:
mainbranch now always exists (setup.sh initializes it on first run) - Fixed: backup commits to
mainfirst, then creates dated snapshot branch
v1.0.2
- Added ProSkills.md + ClawHub badges to README
- Full installation guide (3 methods: CLI, ProSkills.md, git clone)
v1.0.1
- Added
.clawhubsafeandSECURITY.mdto clarify false-positive security scan flags
v1.0.0
- Initial release
License
MIT © ProSkillsMD
// HOW IT'S BUILT
KEY FILES