/macro-deck:init-decks-repofrom macro-deck
Onboarding - create a private git repo for the user's Macro Deck decks (specs + snapshots) and record its path. Use on "set up my decks repo", first run.
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.
The user's decks are their data, so they live in a repo the user owns, not in this plugin. This skill creates it once and records only the pointer.
CFG_DIR="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/macro-deck"
CFG="$CFG_DIR/config.json"
config.json: {"decks_repo": "<absolute local path>", "remote": "<owner/name>", "mcp_url": "http://127.0.0.1:8193/mcp"}.
If it already exists and the path is a git repo, say so and stop. If the user already has a decks repo (new machine),
clone it, write config.json pointing at the clone, and stop.
Macro-Deck-Profiles), local parent folder (default
~/repos/), GitHub owner (default: gh api user -q .login). Private by default: decks can name hosts, IPs and
local endpoints.gh repo create <owner>/<name> --private --description "My Macro Deck decks: specs and snapshots" --clone
(run in the parent folder; if gh is unavailable, git init locally and tell the user to add a remote.)README.md what the repo is, how decks are built and restored (plugin macro-deck)
CLAUDE.md for agents: layout below, "edit decks/<slug>/deck.json, then build-deck; snapshots are generated"
decks/ one folder per deck: deck.json (spec, hand/agent-edited), snapshot.json (generated by save-decks)
hosts/ <hostname>.json: Macro Deck version, port, which decks are on that host, profile/folder ids
.gitignore *.token, *.env, .secrets*
Spec format: see build-deck (references/deck-spec.md).Initial decks repo and push.config.json (create $CFG_DIR), and report the repo URL and local path.Never put tokens or secret values in the repo. Secret parameters in a spec are written as {"$secret": "<label>"} and set
through the MCP set_secret tool at build time.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 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"./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"./icon-packsFind, install and use Macro Deck icon packs (MDI-Icons, Store packs, own images) on deck buttons. Use on "add icons", "which icon packs", "install an icon pack"./restore-decksRecreate decks from the user's decks repo on a Macro Deck host, e.g. a new or rebuilt computer. Use on "restore my decks", "put my decks on this machine".macro-deck@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin macro-deck