/macro-deck:adb-actionsfrom macro-deck
Put 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".
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.
Read when SKILL.md points to them.
The Macro Deck host runs the button's command; the command drives an Android device over adb. Every action goes
through scripts/adb-deck.sh (this plugin), which finds the device each time, so a wireless-debugging port that
changed since yesterday does not break the button.
Requires: adb and, for wireless reconnect, avahi-browse (package avahi-utils) on the host; the device paired
with this host once (Developer options → Wireless debugging → Pair, or USB with debugging authorised). Pairing is not
this skill: use an adb pairing skill or adb pair <ip>:<pairing-port> <code>.
Optional user-data file, never in a repo:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/macro-deck/adb.json
{"ip": "<phone LAN IP>"}
ip limits wireless reconnect to that phone when several devices advertise debugging. serial pins one device.
With neither, the only connected device is used. Check with scripts/adb-deck.sh connect.
Take it from references/adb-actions.md. Only confirmed entries go on a button without testing; an untested
one is run by hand against the device first and then moved to confirmed (step 4).
Use build-deck with a Run Command block (app.macro-deck.system / run-command, shell: bash):
{"type": "action", "blockType": "app.macro-deck.system.run-command", "label": "Run Command",
"integrationId": "app.macro-deck.system", "actionId": "run-command",
"parameters": [
{"name": "shell", "type": "choice", "label": "Shell", "value": "bash"},
{"name": "command", "type": "string", "label": "Command",
"value": "<absolute path to the plugin>/scripts/adb-deck.sh launch app.macrodeck.companion"},
{"name": "timeout", "type": "number", "label": "Timeout", "value": 15000}]}
Use the absolute path to the script (the plugin's install or clone path on that host), never ~ or a relative path.
Allow about 15 s on any action that may reconnect wirelessly (avahi discovery waits up to 8 s). Run Command is risk
category programs; apply_changes reports risky-action and still applies.
Whenever an ADB action is worked out in a session (for a deck or not), add it to references/adb-actions.md:
adb-deck.sh subcommand, adding one to the script if the action needs it (keep one subcommand per action);confirmed (ran on a real device: give date, Android version or model, and what you saw) or
untested;Commit and push the plugin with the change. No personal IPs, serials or device names in the repo.
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
/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"./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