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 $0.00055 $0.00248
Sonnet 5 $0.00022 $0.00099
Haiku 4.5 $0.00011 $0.00050

Measured 9d ago against content hash 5bc29c0f1048, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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. 9d 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 3mo ago), licensed Apache-2.0. It adds 110 tokens to every session and 496 once invoked, about $0.0006 per session on Opus 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

Other skills, from other repositories

opentrons-integration

Official Opentrons Protocol API for OT-2 and Flex robots. Use when writing protocols specifically for Opentrons hardware with full access to Protocol API v2 features. Best for production Opentrons protocols, official API compatibility. For multi-vendor automation or broader equipment control use pylabrobot.

synthetic-sciences/openscience · 66 tokens

pylabrobot

Vendor-agnostic lab automation framework. Use when controlling multiple equipment types (Hamilton, Tecan, Opentrons, plate readers, pumps) or needing unified programming across different vendors. Best for complex workflows, multi-vendor setups, simulation. For Opentrons-only protocols with official API…

synthetic-sciences/openscience · 73 tokens

system-info

System diagnostics and resource monitoring — retrieve OS version and kernel info, check CPU load and core count, inspect memory and swap usage, analyze disk space and filesystem mounts, list running processes sorted by resource consumption, show network interfaces and open ports, display system uptime and boot time…

bug-ops/zeph · 100 tokens

browser-use

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information from web pages.

twaldin/flt · 47 tokens

pi-autoresearch-loop

Skill "pi-autoresearch-loop" from twaldin/flt, covering pi-autoresearch — autonomous experiment loop, installation, quick start, core concepts and two-file persistence model.

twaldin/flt · 0 tokens

grill

Rigorous requirements gathering through Socratic questioning. Use when the user says "/grill", "grill me", "ask me questions until we understand", or wants to be interrogated about implementation details before writing code. Forces deep thinking about edge cases, behavior, and design decisions before any code is…

twaldin/flt · 66 tokens