summaryrefslogtreecommitdiff
path: root/plugins/cwc-makers/commands
diff options
context:
space:
mode:
authorDaisy S. Hollman <thewholedaisy@gmail.com>2026-05-05 18:04:20 -0700
committerGitHub <noreply@github.com>2026-05-05 18:04:20 -0700
commit06f52cd3ac3e47ecb45228a86183ea2a86e9d6ff (patch)
treeb6a72f3341850e4d0b37175639d33ac314bf4a32 /plugins/cwc-makers/commands
parent574a879067b3046fa73a25cf7ab3c11e482ec0d1 (diff)
cwc-makers: curl+tar fallback when git is missing (#1731)
/maker-setup now falls back to GitHub's tarball endpoint when git isn't on PATH, instead of detouring through a package-manager git install. curl and tar ship with macOS, Linux, and Windows 10 1803+ out of the box, so this is zero-install on every target platform — and a CwC attendee just needs the files once to flash a device, not git history. - maker-setup.md: git-clone fast path, curl|tar (Unix) / curl+tar+ Rename-Item (PowerShell) fallback, normalizes the -main suffix - m5-onboard/SKILL.md: drop git from required deps + per-OS git bootstrap block; keep Python bootstrap - README: git now listed as optional Linear: CC-1975 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> :house: Remote-Dev: homespace
Diffstat (limited to 'plugins/cwc-makers/commands')
-rw-r--r--plugins/cwc-makers/commands/maker-setup.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/cwc-makers/commands/maker-setup.md b/plugins/cwc-makers/commands/maker-setup.md
index 311d9603..bca4c018 100644
--- a/plugins/cwc-makers/commands/maker-setup.md
+++ b/plugins/cwc-makers/commands/maker-setup.md
@@ -1,10 +1,15 @@
---
-description: Onboard a Code-with-Claude Makers Cardputer — clone the build-with-claude repo, flash firmware, and install the Claude Buddy apps.
+description: Onboard a Code-with-Claude Makers Cardputer — fetch the build-with-claude repo, flash firmware, and install the Claude Buddy apps.
disable-model-invocation: true
---
The user has a Cardputer-Adv from claude.com/cwc-makers plugged in over USB-C.
-1. Clone or update https://github.com/moremas/build-with-claude in the current directory.
-2. Invoke the `m5-onboard` skill and follow it to run `onboard/scripts/onboard.py --apps buddy` from the clone, surfacing the download-mode button prompt to the user.
+1. Get https://github.com/moremas/build-with-claude into a `build-with-claude/` directory under cwd:
+ - If `git` is available: `git clone` (or `git pull` if it already exists).
+ - If `git` is **not** available: don't install it. Download the GitHub tarball instead — `curl` and `tar` ship with macOS, Linux, and Windows 10+ out of the box:
+ - macOS / Linux: `curl -L https://github.com/moremas/build-with-claude/archive/refs/heads/main.tar.gz | tar xz && mv build-with-claude-main build-with-claude`
+ - Windows (PowerShell): `curl.exe -L -o bwc.zip https://github.com/moremas/build-with-claude/archive/refs/heads/main.zip; tar -xf bwc.zip; Rename-Item build-with-claude-main build-with-claude`
+ - Re-running `/maker-setup` later just re-downloads (~500KB) — no update mechanism needed.
+2. Invoke the `m5-onboard` skill and follow it to run `onboard/scripts/onboard.py --apps buddy` from inside `build-with-claude/`, surfacing the download-mode button prompt to the user.
3. When done, tell the user how to launch Claude Buddy and ask what they want to build next (see the `cardputer-buddy` skill for iterating).