本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)46k · #6334

cardputer-buddy

できること

このスキルは、すでに設定されたCardputer-AdvハンドヘルドのMicroPythonアプリを変更する手順を、エージェントに示します。デバイスのアプリを追加したり変更したりしたいメイカー向けです。

使う場面

  • ✓Cardputerデバイスに新しいアプリを追加したいとき。
  • ✓デバイスを再書き込みせずに、変更したファイルを一つだけ送りたいとき。
  • ✓デバイスのシリアルログを見たり、簡単なコマンドを実行したりしたいとき。

スキルのリンク

https://github.com/anthropics/claude-plugins-official/blob/main/plugins/cwc-makers/skills/cardputer-buddy/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/anthropics/claude-plugins-official/blob/main/plugins/cwc-makers/skills/cardputer-buddy/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Cardputerに新しいアプリを追加して、再書き込みせずにデバイスへ送ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、バンドルのスクリプトを使い、USB経由でファイルをデバイスにコピーし、ログを監視し、一度きりのコマンドを実行します。デバイスがすでに使っているアプリフォルダの構成に従います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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'))"
よくある質問

先にデバイスを設定する必要がありますか?

はい。このスキルは、M5Stackの初期設定スキルで設定を終えたあとに使うものです。

新しいアプリはデバイスに表示されますか?

はい。起動時に、ランチャーがアプリフォルダ内のすべてのアプリファイルを表示します。

デバイスとはどのように接続しますか?

USBのシリアルポートを使い、そのポートは設定中に検出されます。

詳細

作者による元の説明

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.

repo: anthropics/claude-plugins-official

人気

GitHubのスター
46k
ランキング
#6334
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル