bryant24hao

Deskpet Firmware — Development skill for Claude Code

Development community

A pixel desk pet that reacts to Claude Code over BLE, running on M5 Cardputer.

How to install Deskpet Firmware

This entry records only its repository, not the path inside it, so there is no exact command to give. Open bryant24hao/deskpet-firmware and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Deskpet Firmware does

A pixel desk pet that reacts to Claude Code over BLE, running on M5 Cardputer. Community port of anthropics/claude-desktop-buddy.

Alternatives in Development

  • Claude Desktop Buddy — Reference and an example for the Bluetooth API for makers in Claude Cowork & Claude Code Desktop 2.5k ★
  • Creator Buddy — Creator Buddy: orchestrated Agent Skills for cross-platform content search, creator analysis, and viral trend 1.4k ★
  • Any Buddy — Hack Claude Code to get any buddy you want 627 ★

README

DeskPet

A pixel-art desk pet that reacts to Claude Code's sessions over BLE, running on the M5Stack Cardputer.

Community port of [`anthropics/claude-desktop-buddy`](https://github.com/anthropics/claude-desktop-buddy) from M5StickC Plus to M5 Cardputer — landscape UI, keyboard-first interaction, fresh pixel character.

DeskPet Home screen — Claude Desktop linked, pixel pet idle
Home. Paired with Claude Desktop over BLE. The pixel pet breathes on the left while the right panel streams live session state — running task count, cumulative tokens, last activity message, and battery.

DeskPet Approval screen — Bash rm waiting for Enter/Esc
Approval pending. Claude Code wants to run rm -f /tmp/deskpet-test-nonexistent. The screen flips red, the LED pulses orange at 2 Hz, and a countdown starts. Press Enter on the Cardputer to approve or Esc to deny — the agent continues without you touching the laptop.

What it does

  • Advertises as Claude-DP-XXXX over BLE Nordic UART, discoverable from Claude Desktop's Hardware Buddy pairing pane
  • Reacts in real time to Claude Code's session state — idle, busy, approval-pending, celebrating — via seven animated pet states and a WS2812 LED
  • Approves or denies permission prompts directly from the Cardputer keyboard (Enter / Esc), so you don't have to interrupt flow on the laptop
  • Stays quiet — pet sleeps when there's no session, gentle cyan breathe when Claude is working, bright orange blink when attention is needed

Hardware

[M5Stack Cardputer](https://shop.m5stack.com/products/m5stack-cardputer) — ESP32-S3 with PSRAM, 1.14" 240×135 TFT, 56-key keyboard, WS2812 RGB LED, USB-C.

The BLE wire protocol itself is hardware-agnostic; see [upstream REFERENCE.md](htt