cardputer-companion

cardputer-companion is a skill for Claude Code from dakshaymehta/cardputer-claude-os. It costs 169 tokens per session (2,542 once invoked), scanned C, original, Apache-2.0.

A set of rules for using a Cardputer, a small handheld computer, as an extra way to communicate with a coding agent.

In plain words
What is it for?
It guides when to send alerts, ask questions, request confirmation, display information, or show progress on the device.
Why use it?
It helps prevent unwanted interruptions and requires a physical confirmation before irreversible actions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit It guides when to send alerts, ask questions, request confirmation, display information, or show progress on the device.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dakshaymehta/cardputer-claude-os/cardputer-companion
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dakshaymehta/cardputer-claude-os --skill cardputer-companion
Clone the repo
git clone --depth 1 https://github.com/dakshaymehta/cardputer-claude-os

Made for: Claude Code.

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-companion

README.md
[![agentmods](https://agentmods.dev/badge/skills/dakshaymehta/cardputer-claude-os/cardputer-companion/github.svg)](https://agentmods.dev/skills/dakshaymehta/cardputer-claude-os/cardputer-companion)
Your own site
<a href="https://agentmods.dev/skills/dakshaymehta/cardputer-claude-os/cardputer-companion"><img src="https://agentmods.dev/badge/skills/dakshaymehta/cardputer-claude-os/cardputer-companion/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-companion

Your own site · 80×15
<a href="https://agentmods.dev/skills/dakshaymehta/cardputer-claude-os/cardputer-companion"><img src="https://agentmods.dev/badge/skills/dakshaymehta/cardputer-claude-os/cardputer-companion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,542 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00169 $0.02542
Opus 5.5 $0.00068 $0.01017
Sonnet 5.5 $0.00034 $0.00508
Haiku 4.5 $0.00017 $0.00254

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

Security

Grade C, and why

cardputer-companion scanned grade C with 1 finding 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `rm -rf`, mass file deletion, or destroying uncommitted work
.claude/skills/cardputer-companion/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cardputer Companion

The Cardputer is a credit-card-sized handheld the user carries in their pocket. It exposes MCP tools over a BLE bridge — notify, ask, confirm, show, and progress — provided by the cardputer MCP server in this repo (mcp/server.py). Those tools are the hands. This skill is the manners: it tells you when to reach for them and how to shape what you send, so the device stays useful instead of annoying.

These rules apply no matter where you run. The same tools reach the same device whether you're local Claude Code over loopback or a cloud Managed Agent / Messages-API agent over an MCP tunnel (tunnel/). If anything, restraint and the fail-closed confirm discipline matter more when you're an unattended cloud agent — the user isn't watching a terminal, and the physical gesture is the only thing standing between you and an irreversible mistake. The device shows which agent is asking on every ask/confirm banner (derived from your bearer token, so you can't misrepresent it) — keep your requests honest and legible.

Core ethos: default to silence

A buzz should mean something. The user is wearing this thing; every alert costs their attention. Earn each one. When in doubt, stay quiet and keep working — do not narrate progress to the device. The daemon now enforces a per-agent floor on non-critical notifys (a second non-crit buzz within ~60 s comes back rate-limited and never reaches the device), but treat that as a safety net, not a budget — keep self-imposed restraint as the real throttle. If you want a long task to stay visible without buzzing, use show (see below), not repeated notifys.

1. Confirm policy — mandatory, non-negotiable

Before any irreversible operation, call cardputer.confirm and wait for the physical hold gesture. Do not substitute a chat-message "are you sure?" — the whole point is that no tool output or prompt injection can synthesize a sustained physical keypress, but it can forge a convincing chat confirmation.

Read the full file on GitHub · 180 lines

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. 2mo ago First seen · 180 lines · 0 tokens per session scan C 70610f8f3886

Subscribe to this mod's changes

cardputer-companion is a skill published in the GitHub repository dakshaymehta/cardputer-claude-os (209 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 169 tokens to every session and 2,542 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cardputer-companion compared with skills from other repositories

cardputer-companion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cardputer-companiondakshaymehta/cardputer-claude-osSkill2094mo agoApache-2.0C169Claude Code
gke-compute-classesgoogle/skillsSkill22kyesterdayApache-2.0A83Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill3.9kyesterdayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill10k25d agoMITA113Claude Code, Codex
doca-socket-relayNVIDIA/skillsSkill3.9kyesterdayApache-2.0A236Claude Code, Codex
hsb-flashNVIDIA/skillsSkill3.9kyesterdayApache-2.0B94Claude Code