cardputer-buddy

cardputer-buddy is a skill for Claude Code, Codex from ronmkr/PromptBook. It costs 110 tokens per session (496 once invoked), scanned A, a copy of cardputer-buddy, Apache-2.0.

A development helper for MicroPython apps running on the Cardputer-Adv, a small programmable handheld device. It works with an already set-up device and its Gemini Buddy, Snake, and Hello apps.

In plain words
What is it for?
Adding apps, pushing selected files over USB, watching serial logs, and running one-off commands in the device's Python prompt.
Why use it?
It shortens the edit-and-test cycle by letting you send changed Python files without reinstalling the whole device software. It also helps you inspect device output and run commands directly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 onboard/scripts/install_apps.py --port <PORT> --src buddy.

Good fit Adding apps, pushing selected files over USB, watching serial logs, and running one-off commands in the device's Python prompt.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ronmkr/PromptBook
agentmods
npx agentmods add skills/ronmkr/promptbook/cardputer-buddy

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cardputer-buddy

README.md
[![agentmods](https://agentmods.dev/badge/skills/ronmkr/promptbook/cardputer-buddy/github.svg)](https://agentmods.dev/skills/ronmkr/promptbook/cardputer-buddy)
Your own site
<a href="https://agentmods.dev/skills/ronmkr/promptbook/cardputer-buddy"><img src="https://agentmods.dev/badge/skills/ronmkr/promptbook/cardputer-buddy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cardputer-buddy

Your own site · 80×15
<a href="https://agentmods.dev/skills/ronmkr/promptbook/cardputer-buddy"><img src="https://agentmods.dev/badge/skills/ronmkr/promptbook/cardputer-buddy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00110 $0.00496
Opus 5.5 $0.00044 $0.00198
Sonnet 5.5 $0.00022 $0.00099
Haiku 4.5 $0.00011 $0.00050

Measured 3mo ago against content hash 5bc29c0f1048, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cardputer-buddy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to cardputer-buddy — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/standard/cwc-makers/skills/cardputer-buddy/SKILL.md · 47 lines

What it actually says

Cardputer Buddy app bundle

The buddy/ directory in the local build-with-gemini 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/
    ├── gemini_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'))"
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 47 lines · 110 tokens per session scan A 5bc29c0f1048

Subscribe to this mod's changes

cardputer-buddy is a skill published in the GitHub repository ronmkr/PromptBook (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 110 tokens to every session and 496 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to cardputer-buddy, differing in 6 lines, and is treated as a copy.

Related

cardputer-buddy compared with skills from other repositories

cardputer-buddy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cardputer-buddyronmkr/PromptBookSkill26mo agoApache-2.0A110Claude Code, Codex
opentrons-integrationsynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A66Claude Code, Codex
pylabrobotsynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A73Claude Code, Codex
system-infobug-ops/zephSkill68todayMITA100Claude Code, Codex
ginkgo-cloud-labsynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0A135Claude Code
neuroskill-bciraphaelmansuy/edgecrabSkill954mo agononeA82Claude Code, Codex
gguf-quantizationraphaelmansuy/edgecrabSkill954mo agononeA48Claude Code, Codex