/macro-deck:save-decksfrom macro-deck
Snapshot the live Macro Deck profiles, folders and buttons into the user's decks repo and push. Use on "save my decks", "back up the macropad", after any deck edit.
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.
Reads the live state over the macro-deck MCP server and writes it into the 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).
list {entity: "profiles"}, then per profile list {entity: "folders", profileId} and
list {entity: "widgets", folderId}; get each widget (its data holds the action flows). Also list scripts,
automations and variables, and get each script/automation for its flows.decks/<folder-slug>/snapshot.json:
{"saved_at": <ISO>, "host": <hostname>, "contract": "macrodeck-mcp/1", "profile": {...}, "folder": {...}, "widgets": [...]}.
Scripts, automations and variables go in shared/{scripts,automations,variables}.json.
Sort keys and arrays (by position, then id) so diffs show real changes only.secretBlocks and {"$secret": ...} references are kept as references. Secret values are never readable over MCP;
do not try to get them another way.deck.json yet (built by hand in the app), derive one from the snapshot (see
build-deck/references/deck-spec.md) so it can be rebuilt.hosts/<hostname>.json (Macro Deck version from dpkg-query -W macro-deck or the app, port, folder ids).Save decks from <hostname>) and push. Report which decks changed.Snapshots are for history and restore. To change a deck, edit deck.json and run build-deck.
For a full-fidelity backup of everything (including secrets), the user makes one in the app (Settings → Backups,
.macroDeckBackup, encrypted with the recovery key) and archive-backup puts it in this repo. The recovery key stays in
the user's password manager.
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"./archive-backupCopy 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"./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".Other plugins' skills for the same job