claude-code·Published 2026.06.01·Views 11
Claude Code /voice: Voice Dictation to Instruct Coding by Speaking
A look at /voice, the voice dictation feature for entering instructions by speaking. Learn the on/off toggle, tap mode, and how to use it when your hands a
When typing drags on, your wrists hurt and writing out a long explanation in text gets tedious. At times like that, instructing by speaking would be convenient. Claude Code (an AI coding tool used in the terminal) offers a voice dictation feature. That's /voice.
Definition (What It Is)
/voice is a command that turns voice dictation on and off.
When you turn on dictation (the feature that transcribes speech into text), what you say goes into the input box as text. You can instruct by speaking instead of typing on the keyboard. To use this feature, you need a Claude.ai account (a Claude web service account).
How to Use It (By Difficulty)
Basic — Turn Voice On and Off
/voice
Each time you run it, dictation toggles (toggle, a method where pressing it alternates between on and off) on and off. Turn it on once and speak to enter text, and run it again to turn it off.
Applied — Use Tap Mode
/voice tap
It toggles in a tap (tap, a short single press) style. Use it when you want to make turning on and off lighter, like briefly turning it on only while speaking and off after.
Common Pitfalls (When Applicable)
- It works only when a Claude.ai account is connected. If you're not logged in, the voice feature won't turn on, so check the account connection first.
- With a lot of background noise or slurred pronunciation, dictation accuracy drops. Technical terms or variable names may be transcribed incorrectly, so it's good to scan the entered text once before sending.
Real-World Example
There was a time your hands were busy flipping through materials with one hand. Turning on dictation with /voice and giving instructions by speaking let you continue work without putting your hands on the keyboard, which was convenient.
Taking It Further
For instructions that need a long explanation (e.g., "make this function behave this way in this case and that way in that case"), speaking it out is often faster than typing. That said, it's effective to convey by voice the intent of "what to do and how" rather than the code itself, and refine the detailed code while looking at the transcribed result.
Summary
/voice is a command that turns on and off voice dictation for entering instructions by speaking (Claude.ai account required). It's useful when your hands are busy or you want to convey a long explanation quickly. Just checking the transcribed content once lets you use it more accurately.
Based on: Claude Code v2.1.154 (2026.05)
Comments
Comments 0
Checking sign-in status…
Loading comments…