Cardputer Buddy

作者 anthropicsb78ac49cdc6b無授權條款37K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to the cardputer", "tail the device", "run on the device", or follow-up work after /maker-setup.

精選僅含說明Software Development
AI 產生的概覽

指導迭代 Cardputer-Adv 的 MicroPython 應用程式套件:新增應用程式、透過 USB 序列埠推送檔案、查看日誌並執行 REPL 指令。

功能
此技能說明安裝在 /flash/ 上的 Cardputer-Adv MicroPython 載荷的目錄結構,包括啟動器 main.py、共用的 buddy_*.py 函式庫以及 apps 目錄。它說明如何參考 hello_cardputer.py 範例新增應用程式,並在不重新刷寫的情況下推送,同時介紹用於推送選定檔案、查看裝置序列埠日誌以及執行一次性 REPL 指令的輔助指令碼。其產出是裝置開發流程的指引與指令,而非產生的檔案。
適用情境
適用於 Cardputer-Adv 裝置已透過 m5-onboard 完成佈建之後,使用者想要新增應用程式、在不重新刷寫的情況下推送單一修改過的 .py 檔案、查看裝置序列埠日誌,或在裝置上執行一次性 REPL 指令時。
執行需求
需要一台已佈建且可透過 USB 序列埠存取的 Cardputer-Adv 裝置、包含 buddy/ 目錄的本機 build-with-claude 複本、Python 3,以及所引用的指令碼(onboard/scripts/install_apps.py、buddy/scripts/push.py、buddy/scripts/tail_serial.py、buddy/scripts/repl_run.py)。此技能本身不附帶指令碼,僅為說明文件。

Cardputer Buddy app bundle

The buddy/ directory in the local build-with-claude clone is the MicroPython payload that m5-onboard installs onto /flash/. Work inside that clone.

Device layout

/flash/├── main.py              launcher menu (replaces UIFlow's boot flow)├── buddy_*.py           shared libs (BLE, UI, state, protocol, chars)├── burst_frames.py      sprite frames└── apps/    ├── claude_buddy.py  BLE client → Claude Desktop's Hardware Buddy    ├── hello_cardputer.py    └── snake.py

main.py scans /flash/apps/ at boot and lists every .py as a menu entry. Drop a file into buddy/device/apps/, push it, and it appears on next boot.

Adding an app

Crib from buddy/device/apps/hello_cardputer.py — smallest example of keyboard polling, font, and exit conventions. Then push without re-flashing:

bash
python3 onboard/scripts/install_apps.py --port <PORT> --src buddy

<PORT> is whatever detect.py reported last run (e.g. /dev/cu.usbmodem1101, /dev/ttyACM0, COM3).

Dev loop tooling (buddy/scripts/)

bash
# Push a subset of files over USB-serialpython3 buddy/scripts/push.py --port <PORT> --files apps/snake.py
# Watch device logspython3 buddy/scripts/tail_serial.py --port <PORT>
# One-shot REPL execpython3 buddy/scripts/repl_run.py --port <PORT> --script "import os; print(os.listdir('/flash'))"

來源與署名

來源:anthropics/claude-plugins-official位於plugins/cwc-makers/skills/cardputer-buddy提交b78ac49

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 anthropics/claude-plugins-official 的技能

Skill Development

anthropics

精選

指導建立 Claude Code 外掛技能,涵蓋結構、描述、漸進式揭露與驗證。

AI & Agents37K今天更新

Plugin Structure

anthropics

精選

說明 Claude Code 外掛的結構、資訊清單與元件配置方式。

AI & Agents37K今天更新

Project Artifact

anthropics

精選

Generate and publish a project status artifact — an opinionated, tabbed status page for a project too big for one update (overview & success criteria, the workstream sequence, next steps, plus background, plan, risks & open questions, and decisions/FAQ when they earn a tab) — published with the built-in Artifact tool to a default-private claude.ai page the user can share with teammates. Use when a piece of work spans several workstreams and you want a shareable overview kept current. Each artifact is backed by a small per-project config in the plugin data dir, so refreshing it re-gathers live state, redeploys the same URL, and reports only the delta. For software projects whose workstreams are PRs, also read swe.md (the X.Y PR-numbering convention; pulling PR state with gh/git; a per-PR detail block). Needs the built-in Artifact tool (claude.ai login). Not for single-PR changes or public docs.

待分類37K今天更新

Command Development

anthropics

精選

指導建立 Claude Code 斜線命令,涵蓋結構、YAML frontmatter、參數與外掛功能。

AI & Agents37K今天更新

Playground

anthropics

精選

建立自成一體的互動式 HTML 遊樂場,包含控制項、即時預覽與可複製的提示詞輸出。

Design & Creative37K今天更新

M5 Onboard

anthropics

精選

透過 USB 偵測 M5Stack ESP32 開發板,燒錄 UIFlow 2.0 韌體並安裝 MicroPython 應用程式套件。

DevOps & Cloud37K今天更新