cardputer-buddy

GitHub

用于 Cardputer-Adv 设备的 MicroPython 应用开发辅助工具。支持免重刷写推送单文件、查看串口日志及执行 REPL 命令,简化设备迭代与调试流程。

plugins/cwc-makers/skills/cardputer-buddy/SKILL.md anthropics/claude-plugins-official

Trigger Scenarios

add an app push to the cardputer tail the device run on the device

Install

npx skills add anthropics/claude-plugins-official --skill cardputer-buddy -g -y
More Options

Non-standard path

npx skills add https://github.com/anthropics/claude-plugins-official/tree/main/plugins/cwc-makers/skills/cardputer-buddy -g -y

Use without installing

npx skills use anthropics/claude-plugins-official@cardputer-buddy

指定 Agent (Claude Code)

npx skills add anthropics/claude-plugins-official --skill cardputer-buddy -a claude-code -g -y

安装 repo 全部 skill

npx skills add anthropics/claude-plugins-official --all -g -y

预览 repo 内 skill

npx skills add anthropics/claude-plugins-official --list

SKILL.md

Frontmatter
{
    "name": "cardputer-buddy",
    "description": "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."
}

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:

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/)

# Push a subset of files over USB-serial
python3 buddy/scripts/push.py --port <PORT> --files apps/snake.py

# Watch device logs
python3 buddy/scripts/tail_serial.py --port <PORT>

# One-shot REPL exec
python3 buddy/scripts/repl_run.py --port <PORT> --script "import os; print(os.listdir('/flash'))"

Version History

  • f6a8253 Current 2026-07-25 09:48

Same Skill Collection

external_plugins/discord/skills/access/SKILL.md
external_plugins/discord/skills/configure/SKILL.md
external_plugins/imessage/skills/access/SKILL.md
external_plugins/imessage/skills/configure/SKILL.md
external_plugins/telegram/skills/access/SKILL.md
external_plugins/telegram/skills/configure/SKILL.md
plugins/claude-code-setup/skills/claude-automation-recommender/SKILL.md
plugins/claude-md-management/skills/claude-md-improver/SKILL.md
plugins/claude-security/skills/claude-security/SKILL.md
plugins/cwc-makers/skills/m5-onboard/SKILL.md
plugins/example-plugin/skills/example-command/SKILL.md
plugins/example-plugin/skills/example-skill/SKILL.md
plugins/frontend-design/skills/frontend-design/SKILL.md
plugins/hookify/skills/writing-rules/SKILL.md
plugins/mcp-server-dev/skills/build-mcp-app/SKILL.md
plugins/mcp-server-dev/skills/build-mcp-server/SKILL.md
plugins/mcp-server-dev/skills/build-mcpb/SKILL.md
plugins/playground/skills/playground/SKILL.md
plugins/plugin-dev/skills/agent-development/SKILL.md
plugins/plugin-dev/skills/command-development/SKILL.md
plugins/plugin-dev/skills/mcp-integration/SKILL.md
plugins/plugin-dev/skills/plugin-settings/SKILL.md
plugins/plugin-dev/skills/plugin-structure/SKILL.md
plugins/plugin-dev/skills/skill-development/SKILL.md
plugins/session-report/skills/session-report/SKILL.md
plugins/skill-creator/skills/skill-creator/SKILL.md
plugins/math-olympiad/skills/math-olympiad/SKILL.md
plugins/plugin-dev/skills/hook-development/SKILL.md
plugins/project-artifact/skills/project-artifact/SKILL.md
plugins/receipts/skills/receipts/SKILL.md

Metadata

Files
0
Version
0fc2bb1
Hash
dae31d14
Indexed
2026-07-25 09:48

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 17:18
浙ICP备14020137号-1 $방문자$