How do you dictate prompts to Claude Code and Cursor?
3 min read
In a local Claude Code session, turn on voice with /voice (hold is the default mode), hold Space to speak and release it to finish. With the default hold settings you can edit the prompt before pressing Enter. In Cursor, use the Voice Input button in the chat input or press Command-Shift-Space. A Mac dictation shortcut is useful when the same explanation also belongs in ChatGPT or an issue report.
How do you use Claude Code voice dictation without sending early?
In the Claude Code CLI, enter /voice to turn dictation on. Hold is the default mode. Put the cursor in the prompt, hold Space until the listening indicator appears, speak, then release. In the default hold setup, you have a draft at the cursor. You can type a correction or add a filename before pressing Enter. Claude Code also has a tap mode that can submit when you stop, and an auto-submit option for hold mode. Choose hold with auto-submit off if you want that last read. Anthropic’s voice dictation guide
With a local project open, Claude Code uses the project and Git branch names as hints and tunes recognition for coding vocabulary. In tap mode, a second tap submits a prompt of three or more words, and recording stops by itself after 15 seconds of silence or two minutes in total. The VS Code extension supports dictation with the same Claude.ai sign-in requirement in a local session. Anthropic’s dictation modes and requirements
Cursor has a Voice Input button in the chat input. Click it or press ⌘⇧Space in the editor (in the Agents Window, hold ⌃M), dictate the explanation, then look at the resulting text before sending. A voice conversation where the agent talks back is a separate choice. If all you wanted was to spare yourself a paragraph of typing, the chat input is the useful place to start. Cursor’s voice input guide
Which part of a coding prompt is worth speaking?
Speak the bit that would take six sentences to type. Paste the bit where a single character can change the answer. For a bug report, that might look like this:
The first search works. If I clear the search box and type the same thing again, the list stays empty until I close the window. Look for where clearing the query resets the list. Explain what you find before changing anything.
That gives the reader a sequence, the result you saw and a concrete first task. Now attach the actual filename and paste the error line. You have saved yourself the paragraph while preserving the punctuation that makes the error searchable.
There is one word in that example worth reading twice before you send it. Before is what asks the assistant to wait. A transcript can be spelled correctly all the way down and still ask for a different job.
What if you want the explanation outside the coding tool?
Click in the Cursor chat box, the ChatGPT message field or the issue description, then use the same system-wide Mac shortcut in each. With Fly Notes, the default is right Option held while speaking. Transcription runs on your Mac. When you send the message, the destination receives the prompt as it would if you had typed it. Fly Notes for Mac
Often the reusable part is only the first two sentences. Search for window in your dictation history, copy the reproduction steps into the issue, and leave out the instruction you gave the assistant. The person reading the issue needs to know how the list went empty. They have no reason to know what you asked a chatbot to do about it. Finding an earlier dictation
Fly Notes can put a spoken prompt into the chat field while you keep the audio on your Mac. Download for Mac (Apple silicon) · iPhone app
Related questions
- Does Claude Code transcribe voice locally?
- Its built-in voice feature streams audio to Anthropic for transcription. If you use a local dictation app instead, the speech can stay on your Mac, and sending the finished prompt still shares its text with the service you address.
- Why is /voice unavailable in my session?
- Anthropic documents account and session requirements. Use a supported local session signed in with a Claude.ai account and a local microphone. Direct API-key configurations and SSH sessions do not support the built-in feature.
- Can you dictate a filename?
- You can speak it, but a plausible spelling is enough to point an assistant at the wrong file. Paste the path or use the editor’s file reference when the exact characters matter.