Sign in
Explore
Skills · SkillWriting & ContentImages & VideoVoice & audioReviewed

add-voice

Adds Grok realtime speech-to-speech voice to an existing app, with safe auth and microphone wiring.

Kind
Skill
Works with
Cursor
Source
cursor/plugins @ 9580c23696ac
Path
grok-voice/skills/add-voice/SKILL.md
Jobs
Implementation
Topics
Voice & audio

Credit

Made by
cursor
Original
github.com/cursor/plugins/blob/9580c23696ac8d7abed0c166f2f991…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/add-voice/ (the skill folder)
Runs scripts
None found
Uses the network
None found
Needs secrets
Yes
  • XAI_API_KEY
Reads environment variables
  • XAI_API_KEY
Calls other skills
  • /add-dictation
  • /add-read-aloud
  • /debug-voice
Source revision
9580c23696ac
Licence
MIT
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Add Voice

Add Grok Speech to Speech to an existing app. Run on `/add-voice`, typed **Voice Mode**, or clear “add Grok voice” intent.

## Goal

Working duplex path: user-app mic in, audio out, `wss://api.x.ai/v1/realtime?model=grok-voice-latest`, safe auth. Cursor has no native mic; wire the **app** (or a sample client), not the IDE.

## Protocol first

Language-agnostic event loop. **TypeScript samples default.** Short Python twins only where the client API differs (e.g. `ws` vs `websockets`).

## Docs

- https://docs.x.ai/developers/model-capabilities/audio/speech-to-speech
- https://docs.x.ai/developers/model-capabilities/audio/ephemeral-tokens
- Pricing (cite docs only): https://docs.x.ai/developers/pricing (~$0.08/min STS + $0.004/text item; max session 120 min)

## Steps

1. **Map the app**
   - Stack: none, OpenAI Realtime, STT→LLM→TTS cascade, TTS/STT only.
   - Client: web / Node / iOS / Android / server.
   - If a cascade or OpenAI Realtime exists: replace it with the single duplex loop below (URL, model, voice, event diffs); keep standalone `/v1/stt` or `/v1/tts` only if the product still needs one-shot listen or speak outside the agent.

2. **Auth**
…