Voice Remote for Claude Code
Voice-control your real interactive Claude Code session from your phone — no
turn-hijack, no API billing, on your normal subscription.
The point is hands-free. Every interaction is designed to need the fewest taps
possible: replies are spoken back, the mic re-opens after each one (auto-respond), and
interactive questions are read aloud, answered by voice, and submitted on their own — no
confirmations, no extra steps. If the remote can do it for you, it does.
You speak on a push-to-talk web page; a local daemon transcribes it (OpenAI
speech-to-text) and types it into your live Claude Code pane via the cmux CLI,
so it lands as a genuine user message and composes with skills, subagents, and
hooks. When Claude finishes a turn, a plugin Stop hook sends the final reply
back to the daemon, which reads it aloud (OpenAI text-to-speech) on your phone.
The daemon runs inside Claude Code's own process tree — /voice-control:start
launches it as a visible, killable background task (the kind shown in /tasks),
which is what lets it drive the cmux pane: a detached background process loses cmux's
trust. Your OpenAI key never leaves your machine, and the browser loads no third-party SDK.
Requirements
- Claude Code running inside cmux (injection
uses cmux's
send / send-key CLI).
- An OpenAI API key (see docs/configuration.md).
- A reachable bridge URL — deploy the Worker, or run it locally for a desktop test.
Install
/plugin marketplace add jankocian/cc-voice-control
/plugin install voice-control@cc-voice-control
The daemon ships pre-built as a single self-contained dist/daemon/standalone.js
(dependencies inlined), so there's no build step on install. Add your OpenAI config
(see docs/configuration.md), then run /voice-control:start.
Usage
In your cmux Claude Code pane (the plugin must be loaded, e.g. claude --plugin-dir .):
/voice-control:start # activates the remote, prints a scannable QR code + phone URL
/voice-control:status
/voice-control:stop
/voice-control:start launches the voice daemon as a background task, prints the QR
code, and returns — your session stays fully interactive, and the task is visible and
killable in /tasks. Scan the printed QR code with your phone (or open the URL beneath it),
tap to speak, and your words appear as messages in this session with replies spoken back.
How it works
phone (push-to-talk) ← single self-contained web page
│ audio
▼
Cloudflare Worker + Durable Object ── "bridge": a token-authed relay, sees no secrets
│ relayed WebSocket message
▼
background-task daemon (a child of Claude Code → keeps cmux trust)
│ ① OpenAI STT → transcript
│ ② cmux send + send-key → types it into your live pane
▼
Claude Code runs the turn normally (your subscription)
│
▼ Stop hook reads the turn's final reply (skips tool-call narration via stop_reason)
daemon ── ③ OpenAI TTS ──► bridge ──► phone speaks the reply
- Activation launches the daemon as a Claude Code background task (
run_in_background),
which keeps it inside cmux's process tree. It's visible and killable in /tasks, and
/voice-control:stop (or stopping the task) tears it down.
- Billing: the daemon never spawns a model — Claude runs in your interactive
session, so usage counts against your Claude plan, not the API.
Interactive questions (hands-free)
When Claude calls AskUserQuestion, the phone shows a sequential voice wizard — one
sub-question at a time, read aloud. With auto-respond on, the mic opens by itself when
each question finishes reading, so you just answer; your spoken reply becomes that
question's answer and the wizard advances. The last answer auto-submits — there is no
confirm tap. The filled-out wrap-up stays in history as the record of what you chose. The
whole exchange is voice-only by design: no tap-to-select, no confirmation step.
Security (what to check before you trust this)
This plugin is small on purpose so you can audit it. The trust boundaries: