Dictate Prompts for AI Tools¶
Goal¶
Speak an idea, optionally clean or structure it with an LLM post-processor, and paste it directly into Codex, Claude Code, an editor, a terminal, or another AI-assisted work surface.
This workflow is for composing prompts and instructions quickly. It does not require trigger routing or the HTTP Transcription Service.
Why This Pattern Is Useful¶
Voice is often faster for intent, context, and rough reasoning. A focused profile can turn that speech into paste-ready text while keeping the interaction lightweight:
Hotkey → AI Work Profile → optional cleanup → plain-text paste
The profile and its mapped hotkey are the important pair. Using a different hotkey can select a different profile and therefore different processing or paste behavior.
Preset: Fast and Predictable¶
Use this first when latency matters more than rewriting.
| Setting | Value | Why |
|---|---|---|
| Profile name | AI Quick Paste |
Makes the hotkey's purpose obvious |
| Auto paste | On |
Sends the result into the focused prompt or editor |
| Temporary history | On |
Makes recent prompts recallable with Left and Right Arrow |
| Word replacements | Optional | Fixes repeated names and technical terms deterministically |
| LLM post-processing | Off |
Gives the quickest, most literal result |
| Trigger routing | Off |
Prevents prompt text from executing automation routes |
| Paste input format | Plain Text |
Predictable for terminals, editors, and chat inputs |
| Paste format | Plain Text |
Avoids destination-specific rich formatting |
Assign a reliable push-and-hold or toggle hotkey to AI Quick Paste in Manage Hotkeys....
Preset: Clean and Structured¶
Use this when spoken ideas benefit from punctuation or organization before paste.
- Create a processor named
AI Prompt Cleanup. - Use a conservative system prompt:
Clean up this dictated instruction for an AI coding assistant.
Preserve every requirement and technical identifier.
Remove filler and improve punctuation.
Do not add requirements or answer the instruction.
Return plain text only.
- Add the processor as one enabled stage in the profile.
- Select that stage as
Final Output. - Test it with realistic dictated prompts before enabling the profile's LLM master switch.
Remote post-processors receive the dictated content. Use a local Ollama processor when the text should remain on the machine, or review the endpoint's privacy terms before sending sensitive code or project context.
Use Existing Selected Text as Context¶
For tasks such as “explain this function” or “rewrite this paragraph,” the profile can capture text selected in the frontmost application:
- Enable
Capture Selected Texton the profile. - Enable
Use Selected Texton the relevant stage. - Put the exact
{{SELECTED_TEXT}}variable in that processor's system prompt. - Select the source text before starting dictation.
Example prompt:
Turn the user's dictated request into a precise instruction about the selected material.
Selected material:
{{SELECTED_TEXT}}
Do not solve the task. Return only the instruction to paste.
Selected-text capture is application-dependent and runs once when the hotkey starts. The dictated transcript remains a separate input to the processor.
Recall a Previous Prompt¶
If temporary history is enabled:
- Start dictation with the same profile hotkey.
- Press
Left Arrowto recall the newest finalized result. - Continue left for older results or use
Right Arrowto move forward. - Finish with the normal hotkey action to paste the displayed result.
The recalled result is pasted exactly as stored. ASR, word replacement, LLM processing, and trigger routing do not run again. Moving right beyond the newest result returns to live listening, and Escape cancels without pasting.
Common Pitfalls¶
| Pitfall | Outcome | Fix |
|---|---|---|
| Hotkey maps to another profile | Unexpected formatting, model use, or no paste | Check the hotkey's Profile value |
| Model prompt is too creative | Requirements change during cleanup | Use a conservative prompt and compare with the original |
| Rich paste behaves differently by app | Formatting changes in a terminal or editor | Use plain-text input and paste formats |
| Trigger routing remains enabled | Dictated prompt can match an action | Keep routing off in this profile |
| Selected text is missing | {{SELECTED_TEXT}} is empty |
Enable both controls and select text before hotkey activation |
Quick Tips¶
- Put the cursor in Codex, Claude Code, or the intended editor before dictation finishes. You can change applications while speaking; the active destination at paste time receives the result.
- Selected text is captured once when dictation starts. Select the source material first, then activate the profile hotkey.