Skip to content
HardwareLab

Claude Code Stick

Hardware companion on the M5Stack StickS3 for physical button approval and voice input to Claude Code.

Hardware:
M5Stack StickS3
Difficulty:
Beginner
Creator:
mantisblades

Physical approve buttons and voice input for Claude Code.

Claude Code Stick
No photo in the source; GitHub repository card, served from HardwareLab.

By mantisblades

What it does

Hardware companion on the M5Stack StickS3 for physical button approval and voice input to Claude Code.

What you need

Difficulty
Beginner
License
No license stated

Parts

  • M5Stack StickS3 (ESP32-S3-PICO, ES8311 mic, 135×240 ST7789P3)
AI model or service
Claude Code

Prices, notes and sources: Parts and requirements

Parts and requirements

PartSpec / notesNeededPrice
M5Stack StickS3 ESP32-S3-PICO, ES8311 mic, 135×240 ST7789P3Required

Full build guide

Steps

Difficulty
Beginner
  1. Get a DashScope API key and save it with mkdir -p ~/.config/claude-code-stick && echo 'sk-...' > ~/.config/claude-code-stick/dashscope_key.
  2. Flash the firmware with cd firmware && pio run --target upload.
  3. Configure Wi-Fi via USB serial: pio device monitor, then wifi add YourSSID YourPassword.
  4. Install bridge dependencies with cd bridge && python3 -m venv venv && venv/bin/pip install bleak.
  5. Configure Claude Code hooks: add the entries in plugin/settings.example.json to your ~/.claude/settings.json.
  6. Start the bridge with ./start-bridge.sh. Press PWR on the StickS3 to power on and watch the boot panel; when it says READY, you're set.

Full instructions: View original

How it works

Bridge between Claude Code and the StickS3.

Limits and caveats

  • No first-time Wi-Fi captive portal; the first network has to be entered via USB serial.
  • macOS only for the bridge; Linux / Windows would need a substitute for `osascript` paste injection.
  • `bridge.py:8765/audio` is an unauthenticated LAN endpoint.

Like this build? Get the weekly builds

Every Thursday: the 5 best gadget hacks you can copy. Free.

Built something? Submit a build

Hardware

  • M5Stack StickS3

More M5Stack builds

This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.

Featured? Add this badge

Built this? Paste the badge into your README. It links back to this page.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](https://hardwarelab.dev/projects/claude-code-stick/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)

HTML

<a href="https://hardwarelab.dev/projects/claude-code-stick/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>