How to dictate prompts into Claude Code and Cursor on a Mac
Dictate prompts into Claude Code, Cursor or ChatGPT with push-to-talk on a Mac: a six-step setup, a jargon dictionary and a spoken prompt template.
By winterzxzzUpdated 6 min read
The quality of what an AI coding agent produces tracks the quality of the prompt, and good prompts are long: what you want, why, where in the code base, what not to touch, and how to tell when itâs done. Typing all of that is exactly the step people skip. Saying it out loud is easier, and on a Mac you can do it with a push-to-talk key that types straight into Claude Codeâs terminal prompt, Cursorâs chat box, Windsurf or ChatGPT.
This guide sets that up with MacVoice, our local Whisper dictation app, and then covers the part that matters more than the tool: how to speak a prompt an agent can act on.
Why voice works well for prompts
- You explain more when you talk. Spoken prompts naturally include the background and the âbecauseâ that youâd trim when typing.
- Prompts tolerate loose phrasing. Unlike code, a prompt doesnât need to be character-perfect. A model reads intent, so small transcription slips rarely matter.
- Your hands stay on the keyboard and mouse. You can keep the relevant file open, scroll through the failing test and describe what you see as you see it.
The weak spot is jargon. Speech models are trained on everyday language, so library names, product names and camelCase identifiers are where they stumble. The personal dictionary in step 3 is the fix.
Step-by-step setup
1. Install MacVoice and grant permissions
MacVoice needs macOS 14 or later on Apple Silicon. Drag it into Applications; on first launch, open it once and then click Open Anyway in System Settings â Privacy & Security, since the build isnât notarized yet. It asks for three permissions, each for one reason: Microphone to hear you, Input Monitoring to detect the push-to-talk key, and Accessibility to type into the focused app. Then open Models in the sidebar and download a Whisper model: the page recommends one for English and one for other languages, sized for your Mac, and lists 49 in all, from Tiny to Large v3 Turbo. Our offline voice to text guide explains the model sizes.
2. Choose a push-to-talk key
You can hold Fn/Globe or record any key or modifier chord. Pick one that your editor, terminal and window manager donât already use, and that you can hold comfortably for twenty or thirty seconds while you talk. Hold to record, release to transcribe: thereâs no separate âstopâ step to forget.

3. Teach the dictionary your jargon
MacVoiceâs personal dictionary replaces phrases before the text is inserted. Each time Whisper mishears a term you use often, add one entry and that mistake is fixed for good. What gets misheard depends on your model, accent and microphone, so build the list from what you actually see. Entries for a typical web project might look like this:
| If the transcript says | Replace with |
|---|---|
| cloud code | Claude Code |
| next JS | Next.js |
| type script | TypeScript |
| use effect | useEffect |
| post gress | Postgres |

4. Focus the prompt box
Dictation goes wherever your cursor is. For Claude Code, thatâs the prompt in your terminal; for Cursor or Windsurf, click into the chat input. MacVoice types via the Accessibility API, and if an app wonât accept that, it falls back to pasting through the clipboard and then restores whatever you had copied.
5. Hold the key and speak the prompt
Hold the key, talk, release. The floating widget shows a live waveform while itâs listening, so you know itâs hearing you. The structure below is easy to remember and covers what agents most often lack.
6. Review, then send
Read the inserted text before you press Return. Fix exact file paths, flags or identifiers by hand; those are the places where one wrong character matters. Everything else can usually stay as spoken.
A spoken prompt template: goal, context, limits, done
Speak your prompt in four short parts, in this order:
- Goal: one sentence on the outcome. âAdd pagination to the orders table.â
- Context: where it lives and why. âThe table is in the orders page component; the API already accepts page and limit parameters.â
- Limits: what not to change. âDonât touch the API route and donât add a new dependency.â
- Done: how to verify. âItâs done when the type check passes and the existing tests still pass.â
Spoken together, that becomes something like:
Add pagination to the orders table. The table is in the orders page component, and the API already accepts page and limit parameters, so this is a front-end change only. Donât touch the API route and donât add a new dependency. Show twenty rows per page with next and previous buttons. Itâs done when the type check passes and the existing tests still pass. Before you edit anything, tell me which files you plan to change.
Thatâs roughly half a minute of talking. Typing it is where most people would have stopped after the first sentence.
Tips that make dictated prompts better
- Think, then hold. Decide your first sentence before pressing the key. Pauses are fine, but a clear opening keeps the rest on track.
- Dictate the reasoning, type the references. Say the why and the what in prose; type or paste exact paths, commands and error messages.
- Use short bursts for follow-ups. âGood, now do the same for the invoices tableâ is a two-second hold.
- Search your history. MacVoice keeps a searchable history of what you dictated, stored only on your Mac, so a long prompt you liked last week is easy to find and reuse.
- Mind the room. Close-up microphones handle open offices far better than a laptopâs built-in mic across the desk.

Troubleshooting
Nothing is typed when you release the key
Check System Settings â Privacy & Security and make sure MacVoice is allowed under Microphone, Input Monitoring and Accessibility. After an update, macOS may ask you to approve these permissions again; thatâs expected.
The text lands in the wrong place
MacVoice types into whichever field has focus when you release the key. Click into the prompt first, and avoid switching windows while youâre still holding the key.
The same term comes out wrong every time
Add a dictionary entry for it. If many ordinary words are wrong too, try a larger model, for example Small instead of Tiny or Base; larger Whisper models trade some speed for accuracy.
You prompt in another language
Download a multilingual model from the Models page instead of an English-only one; search it for your language to see the models that transcribe it. Then choose your language in Settings â Transcription, or leave it on auto-detect.
The shortcut clashes with your editor
Record a different key or chord in MacVoiceâs shortcut settings. Modifier chords that your editor doesnât bind are the least likely to collide.
What about privacy?
Be clear about what local dictation does and doesnât protect. With MacVoice, transcription runs on your Mac and audio stays in memory, so your voice isnât sent to a transcription service. The prompt text itself still goes to whichever AI tool you send it to, under that toolâs own terms. Cloud dictation tools add a second party: Wispr Flow, which markets itself for coding in Cursor and Windsurf, states that its âtranscription always happens in the cloud.â That may be fine for you; itâs worth knowing either way.
Where to go next
If youâre still choosing a dictation app, our Superwhisper alternatives roundup and MacVoice vs MacWhisper cover the main options honestly. Browse all voice dictation guides, or see everything MacVoice does, and its price, on its product page.
Sources
- wisprflow.ai/vibe-coding (coding use with Cursor and Windsurf)
- wisprflow.ai/privacy (cloud transcription)
- MacVoice product page (features, requirements, price)
More on this topic: Voice dictation guides · MacVoice