/macro-deck:archive-backupfrom macro-deck
Copy a Macro Deck .macroDeckBackup file into the user's private decks repo, index it and push. Use on "save my Macro Deck backup", "archive the backup".
Ships in macro-deck. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Macro Deck's own backups (Settings → Backups) are the full-fidelity copy: profiles, scripts, automations, variables,
icons, plugins, settings, accounts and secrets. They complement save-decks snapshots, which are readable but leave
secrets out. This skill keeps the backup files safe in the user's private decks repo (decks_repo in
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/macro-deck/config.json; run
init-decks-repo first if missing).
<UTC timestamp>-<backupId>.macroDeckBackup is a zip of two entries:
manifest.json: plaintext metadata (backupId, macroDeckVersion, createdAt, trigger, hostPlatform,
recoveryKeyId, components, encryption). No secrets.payload.enc: the data, AES-256-GCM, key derived (HKDF-SHA256) from the installation's recovery key.The file cannot be restored without the recovery key, so it is safe in a private repo. The recovery key itself never goes in the repo; it belongs in the user's password manager. Never commit a backup to a public repo.
~/Desktop, ~/Downloads and Macro Deck's data
folder ${XDG_DATA_HOME:-$HOME/.local/share}/MacroDeck/backups/ for *.macroDeckBackup, newest first. Several
found: list them (name, size, date) and ask which, default the newest.unzip -l must show exactly manifest.json and payload.enc; read manifest.json
(unzip -p <file> manifest.json). Refuse a file without encryption in its manifest (unencrypted: ask the user
before committing it). Note recoveryKeyId.backups/<hostname>/<original file name> in the decks repo. Same backupId already
there with the same sha256: say so and stop.backups/index.json (create it as [] if missing), sorted by createdAt:
{"file", "host", "backupId", "createdAt", "macroDeckVersion", "trigger", "components", "recoveryKeyId", "sha256", "bytes", "archivedAt"}.recoveryKeyId the backup needs and ask whether that key is in their
password manager (don't read the key). A backup whose key is lost is useless; if they rotated the key since, the
old key must be kept too.git add backups/<hostname>/<file> backups/index.json),
message Archive Macro Deck backup <createdAt> from <hostname>. Report the repo path and size. Files are about
1 MB; if backups/ passes ~200 MB, suggest pruning to the newest few per host (ask before deleting).The original file stays where it was; offer to delete it only after the push succeeds.
In Macro Deck: Settings → Backups → restore from file, then enter the recovery key. Copy the file out of the repo
first; use backups/index.json to pick the right one by host and date.
What SKILL.md sets; muted values are Claude Code's defaults
macro-deck@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin macro-deck9 skills in this plugin
/adb-actionsPut ADB actions for a connected Android device (USB or wireless debugging) on Macro Deck buttons, and record each new ADB action once it is confirmed. Use on "add an adb button", "control my phone from the deck", "add this adb action to the plugin"./build-deckBuild or update a Macro Deck deck (folder of buttons) from a short spec through the MCP server, dry run first. Use on "make a deck for X", "add a button"./connect-mcpConnect Claude Code to Macro Deck 3's built-in MCP server (Streamable HTTP at /mcp) with an access token, then verify the tools. Use on "connect Macro Deck MCP".Other plugins' skills for the same job