cardputer-buddy

Iterate on Cardputer-Adv MicroPython apps by pushing files, tailing serial logs, and running REPL commands.

1|Updated Jul 6, 2015
One-click install
npx skills add https://github.com/ksolomon/dotfiles --skill cardputer-buddy-ksolomon
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cardputer-buddy
Source: https://github.com/ksolomon/dotfiles/tree/main/AI/.claude/plugins/marketplaces/claude-plugins-official/plugins/cwc-makers/skills/cardputer-buddy
Command: npx skills add https://github.com/ksolomon/dotfiles --skill cardputer-buddy-ksolomon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After a Cardputer-Adv device is provisioned, making small changes to its MicroPython apps normally means re-flashing the whole device. This Skill provides a fast iteration loop for adding apps, pushing single changed files, and debugging over USB-serial without re-flashing. ## Core Features & Use Cases - Add new apps: Drop a .py file into the buddy/device/apps/ directory and push it; the launcher menu picks it up automatically on next boot. - Partial file push: Push only changed files (e.g. apps/snake.py) over USB-serial using buddy/scripts/push.py. - Device debugging: Watch live serial logs with tail_serial.py or run one-shot REPL commands with repl_run.py. - Use Case: You tweaked the Snake game logic and want to test it on the device. Push just apps/snake.py to the Cardputer, then tail the serial output to verify it runs. ## Quick Start Ask the assistant to push the changed snake.py app to the Cardputer on the detected port and then tail the device serial logs.

Frequently Asked Questions about cardputer-buddy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new app to the Cardputer without re-flashing?▼

Add a new .py file to the buddy/device/apps/ directory, using hello_cardputer.py as a minimal template for keyboard polling and exit conventions. Then run install_apps.py with the device port to push it; the launcher menu lists it on next boot.

How to push a single changed MicroPython file to the Cardputer?▼

Use buddy/scripts/push.py with the --port and --files arguments to transfer only the files you changed over USB-serial. This avoids re-flashing the entire /flash/ filesystem for small edits.

How do I watch Cardputer device serial logs?▼

Run buddy/scripts/tail_serial.py with the --port argument to stream live serial output from the device. The port is the one previously reported by detect.py, such as /dev/cu.usbmodem1101 or COM3.

Can I run a one-shot MicroPython command on the Cardputer?▼

Yes, use buddy/scripts/repl_run.py with --port and --script to execute a single REPL command, such as listing the contents of /flash. It runs the snippet and returns the output without an interactive session.

When do I need m5-onboard instead of the push scripts?▼

m5-onboard is required for the initial provisioning that installs the buddy payload onto /flash/. The push, tail, and REPL scripts only work afterward for iterative development on an already-provisioned device.