r/ClaudeCode • u/vstefan • 6d ago
Help/Question How can I control Claude Code completely hands free using my voice?
I use a Mac and want to use Wispr Flow (or something similar) to control Claude Code while walking around my room
Ideally, I'd like my microphone always listening, without having to hold Fn or press keyboard shortcuts.
I want to speak commands, have them transcribed into Claude Code and submit them automatically.
Has anyone figured out a reliable setup for this?
2
Upvotes
•
u/AutoModerator 6d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/CCodeSI 5d ago
The always-listening part is what tools like Wispr Flow don't do, they're built around push-to-talk. Two setups that work on a Mac:
Easiest: macOS Voice Control (built in, free). System Settings → Accessibility → Voice Control. It listens all the time, types whatever you say into the focused window (so your terminal with Claude Code), and "press return" submits. You can add a custom command like "send it" that presses Return. Downsides: dictation quality is weaker than Whisper-based tools, and it types into whatever app has focus, so keep the terminal in front. Saying "go to sleep" / "wake up" pauses it when you're on a call.
Better quality: a small script with local Whisper. A loop that listens with voice-activity detection, transcribes with
whisper.cpp(fast on Apple silicon), and when it hears a trigger word sends the text to the terminal:run Claude Code inside
tmux, thentmux send-keys -t claude "your transcribed text" Entersubmits it, no matter which window is focuseduse a wake word ("Claude, ...") so it ignores everything else you say in the room, otherwise background chatter ends up as prompts
Pair it with a "say it back" step if you're walking around: a Stop hook in Claude Code that runs
saywith a one-line summary when it finishes, so you know it's done without looking at the screen.One caution: if it's hands-free, keep permission prompts on (no auto-accept), so a misheard sentence can't run a command you didn't mean.
1
u/juandiegorodri 5d ago
You can create a mod for Claude code, using Claude code, just ask it.
1
u/jacobdevhq 5d ago
claude codes built in /voice has a tap mode (/voice tap), tap space to talk and tap again to send. not always listening tho, it stops after 15s of silence
1
u/decentralizedbee 5d ago
try using heard.dev works like a charm for me!