feat: add voice-mode plugin with /voice command#33918
Open
anmolp1 wants to merge 1 commit into
Open
Conversation
The startup banner tells users to run /voice to enable voice mode, but /voice is not a recognized command. This plugin adds a /voice command that can enable, disable, or check the status of voice mode by managing the voiceEnabled setting in ~/.claude/settings.local.json. Closes anthropics#33914 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Mar 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
voice-modeplugin with a/voicecommand so the startup banner instruction actually works for plugin-enabled users.The startup banner says
✻ Voice mode is now available · /voice to enable, but on some versions this returns "Unknown skill: voice". This plugin bridges that gap by providing a/voicecommand that managesvoiceEnabledin~/.claude/settings.local.json.Closes #33914
What's included
plugins/voice-mode/commands/voice.md— Slash command supporting/voice,/voice on,/voice off, and/voice statusplugins/voice-mode/.claude-plugin/plugin.json— Plugin manifest.claude-plugin/marketplace.jsonunder theaccessibilitycategoryDesign decisions
settings.local.json(notsettings.json) to respect the user-local / version-controlled splitjqmerge ('. + {"voiceEnabled": true}'), never overwrites the filejqis unavailable — provides manual instructions instead of failingmodel: haikusince the operation is simple (read JSON, toggle a boolean, write JSON)Note on built-in
/voiceRecent Claude Code versions (tested on v2.1.74) appear to have a built-in
/voicecommand that writes tosettings.json. This plugin serves as:/voiceis not yet recognized/plugin install voice-modeTest plan
jq '. + {"voiceEnabled": true}'sets the flag without dropping existing keysjq '. + {"voiceEnabled": false}'sets the flag without dropping existing keyssettings.local.jsonfrom scratch produces valid JSON/plugin install voice-mode→/voiceenables voice mode (requires interactive session)Validation results
voiceEnabledvoiceEnabled: truevoiceEnabled: false🤖 Generated with Claude Code