PocketClaude turns a $30 hardware device into a physical remote control for Claude Code. See permission prompts on a tiny screen. Approve or deny without touching your laptop. Never block an AI agent waiting for you again.
Claude Code runs in your terminal. It's powerful — but every time it needs permission, your whole flow stops. PocketClaude puts the permission layer in your hand.
The M5Stack Cardputer ADV is a credit-card-sized computer with a real QWERTY keyboard, a 240x135 color LCD, and an ESP32-S3 running at 240MHz. It was designed for hackers. We turned it into a Claude Code remote.
A Node.js server runs on your Mac and connects Claude Code hooks to the device over WebSocket. It tracks your tmux sessions, queues messages when the device is offline, and manages bidirectional communication.
This is not a concept. The firmware, bridge server, and Claude Code hooks are all working code — flashed on a real Cardputer. Clone the repo and have it running in under 30 minutes.
The old way: Claude stops, you alt-tab, you read the prompt, you click approve, you alt-tab back, you lose your train of thought. The new way:
PocketClaude isn't just a permission approver. It's a full remote control for your AI development environment.
/go edify-mobile on
the Cardputer and your terminal jumps to that tmux session instantly.
No alt-tabbing, no mouse.
/launch my-project to spin up a new
tmux session in ~/Repos/my-project and
start Claude — all from the tiny keyboard. No laptop required.
/what shows recent activity across
all registered Claude sessions — what ran, what completed, what errored.
Your AI dev dashboard in 240x135 pixels.
Total hardware cost: around $30. The firmware and bridge run on ESP32 and Node.js.
| Component | Details |
|---|---|
| MCU | ESP32-S3FN8 (StampS3A) |
| Clock Speed | 240 MHz dual-core |
| Flash | 8MB (onboard) |
| PSRAM | 8MB |
| Display | 240×135 IPS LCD, 1.14" |
| Keyboard | Full QWERTY, 56 keys |
| WiFi | 802.11 b/g/n (2.4GHz only) |
| Bluetooth | BLE 5.0 |
| Storage | MicroSD slot (TF card) |
| Power | USB-C, 5V |
| GPIO | Expansion header |
| Price | ~$30 USD |
Add a LoRa radio to the expansion port for off-grid mesh networking between devices. Enables inter-device chat and notification sharing without WiFi infrastructure. Module cost: ~$10.
Available from M5Stack store, Amazon, AliExpress
For initial flashing. After that, WiFi-based OTA.
macOS or Linux host running Claude Code in tmux sessions
For building and flashing the ESP32 firmware
For running the bridge server on your host machine
Open-source, MIT licensed. Clone and go.
Four steps from unboxed hardware to approved AI permissions.
Clone the repo. Use PlatformIO to build and flash the ESP32-S3 firmware over USB.
Connect via serial at 115200 baud to set your WiFi credentials and bridge IP address.
Run the Node.js bridge server inside a tmux session. It must live in tmux for session switching to work.
Add the cardputer hook to your Claude Code settings. It fires on every Claude event and registers the session.
Three tiers: the device in your pocket, the bridge on your Mac, and Claude Code in tmux.
ESP32-S3
240x135 LCD
QWERTY keyboard
WiFi + optional LoRa
Node.js + TypeScript
WebSocket server
HTTP API :8766
SQLite event log
cardputer
edify-mobile
other-project
+ claude in each
AI agent
tool use
permission model
hook events
/go → tmux switch-clientA $30 piece of hardware that keeps you in control of Claude Code without breaking your focus. Build it. Hack it. Make it yours.