[FEATURE] Tell the model when a prompt came from voice dictation
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
The issue names the desktop app mic button, /voice, the VS Code extension, and existing <pasted_content> wrapping as relevant entry points. Start by tracing how dictated and pasted text enters the model request across those paths. Done means dictated portions are marked for the model, including mixed typed and dictated messages; the proposed default-on setting is also part of the request.
Written by the indexing model from the issue text.
Description
Preflight Checklist
- I have searched existing requests and this feature hasn't been requested yet
- This is a single feature request (not multiple features)
Problem Statement
When I dictate a prompt (desktop app mic button, /voice, VS Code extension), the model receives it as ordinary typed text. Transcription errors (misheard words, wrong homophones, mangled identifiers, odd punctuation) then look like what I meant. Claude either acts on the wrong word or treats a garbled phrase as a real requirement, and it has no signal that it should read loosely.
Proposed Solution
Mark dictated input in what the model receives, the same way pasted text is already wrapped in <pasted_content>. For example, wrap it in <dictated_content> or add a short system note saying "this message was dictated; expect speech-to-text errors and infer the intended words". Mark only the dictated parts when a message mixes typing and dictation. Ideally make it a setting, on by default.
Priority
Medium
Feature Category
Interactive mode (TUI)
Use Case Example
I say "check the cache service". The transcript reads "check the cash service". Today Claude goes looking for a "cash" service. If it knew the text was dictated, it would recognise "cash" as a likely mishearing of "cache", which exists in the repo, and go straight there or ask.
Additional Context
Related but different: #109380 (cleaning up spoken self-corrections) fixes the text; this request tells the model where the text came from. The existing <pasted_content> wrapping is the precedent for marking where input came from.
- Dominant language
- TypeScript
- Stars
- 156k
- Forks
- 25k
- Avg merge
- 16h 19m
- Merged PRs (30d)
- 5
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:hooks area:plugins bug has repro platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#111771 ·
-
area:docs bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#111658 ·
-
area:core bug platform:linux platform:wsl regression
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
anthropics/claude-code#111548 ·
-
area:vscode bug has repro platform:vscode platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
anthropics/claude-code#111416 ·
-
area:plugins area:tui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
anthropics/claude-code#111195 ·
All issues in anthropics/claude-code
Similar issues
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
drydocs/meridian#1503 · 1 comment ·
Maintainers usually reply within 2 days
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
bug extension mcp
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
primer/primitives#1426 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
danielmiessler/LifeOS#2941 ·
Maintainers usually reply within 4 days