@2048/backup

Installation
SKILL.md

Backup — Snapshot Manager

One skill, three flows:

Trigger Flow What happens
/backup, "备份…", "做个快照", "back up my agent", "バックアップ", … A. Create pack current agent state → upload to sc-agent-backup
/restore, "恢复…", "回滚到上次备份", "restore from backup", "復元", … B. Restore list → pick → download → apply each section (user-confirmed)
/delete-backup, "删除备份…", "delete a backup", "バックアップ削除", … C. Delete list → pick → two user confirmationsDELETE /backups/{id}

All flows talk to the same storage service (sc-agent-backup.internal) using the container's CONTAINER_JWT. Identity is derived from the JWT — you can never read, write, or delete another user's namespace.

Storage has a hard cap of 5 backups per user. Full uploads return a replace menu that the user picks from — never auto-pick the oldest.

Language policy

Every user-facing message you produce in these flows — prompts, summaries, confirmation questions, status updates, error explanations — MUST be in the user's conversation language. Detect the language from the user's most recent messages (fall back to user_settings.language if ambiguous, fall back to English if that's also unclear).

The prompt examples throughout this SKILL.md are written in Chinese or English for illustration only. Translate them. Keep the same structure and detail level, but render the prose in whatever the user is actually speaking.

Related skills
Installs
1
First Seen
6 days ago