Back to Skills

cardputer-buddy

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.

33,730stars3,834forksUpdated 8/20/2026

Security Assessment

Safe(95/100)
Security Score95/100

About cardputer-buddy

cardputer-buddy is a maker/hardware iteration skill for working on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device has already been provisioned by the companion m5-onboard skill. It solves the tight edit-push-observe loop that hardware development needs: instead of re-flashing firmware for every change, it lets you push a single changed .py file over USB-serial, watch device serial logs, or run a one-shot REPL command, so a code change appears on the device on its next boot.

The skill documents the on-device layout under /flash/ (a launcher main.py that scans /flash/apps/ and lists every .py as a menu entry, shared buddy_*.py libraries for BLE/UI/state/protocol, sprite frames, and the apps directory). Its workflow points at concrete helper scripts in the local build-with-claude clone: install_apps.py to push an app subset, push.py to send specific files, tail_serial.py to watch logs, and repl_run.py to execute a short REPL snippet such as listing the device filesystem. Adding an app is a matter of cribbing from the smallest example (hello_cardputer.py) and pushing without re-flashing.

It is aimed at makers and hobbyists building small apps for M5Stack Cardputer-Adv hardware within the Claude 'build-with-claude' maker workflow. Because it is a thin, focused catalogue entry that mainly wires together scripts living in an upstream repo, its depth comes from those scripts rather than the SKILL.md itself; the document is essentially a device dev-loop cheat sheet. Use cases include adding a new game or utility app, hot-pushing a single fix, and tailing serial output while debugging.

FAQ

What does this skill do?

It supports iterating on the Cardputer-Adv MicroPython app bundle after provisioning: adding a new app, pushing a single changed .py without re-flashing, tailing device serial logs, and running one-shot REPL commands over USB-serial.

What is the prerequisite?

The device must already be provisioned via the m5-onboard skill, and you work inside a local clone of the build-with-claude repository where the buddy/ payload and helper scripts live.

How do I add a new app?

Drop a .py file into buddy/device/apps/ (cribbing from hello_cardputer.py for keyboard polling, font, and exit conventions), then push it with install_apps.py; the launcher scans /flash/apps/ at boot and lists it as a menu entry.

How do I push a single file without re-flashing?

Use the buddy/scripts/push.py helper with the target port and the specific file, for example pushing apps/snake.py, rather than re-running the full flash workflow.

How do I find the device port?

The port is whatever detect.py reported on the last run, such as a usbmodem path on macOS, a ttyACM path on Linux, or a COM port on Windows.

Install cardputer-buddy

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill