[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7825PJWF9W0NQ8FVSE83RHG":3,"skill-same:01M7825PJWF9W0NQ8FVSE83RHG":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7825PJWF9W0NQ8FVSE83RHG","add-dictation",null,"Use when the user runs \u002Fadd-dictation or wants speech turned into text with Grok speech-to-text: a mic button that dictates into the composer, live captions, or transcribing recorded audio (files, uploads, URLs) with word timestamps, diarization, subtitles, meeting notes. STT, transcribe, transcription. For a voice agent that talks back use \u002Fadd-voice.","TheAngryPit\u002FTheAngrySkills","TheAngryPit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7040636?v=4","01M7803EENA9ATXJ46S9268QJX","Vitor Cepeda Lopes","01M7803EF9FMF4G4420XE4DV7Y",0,"MIT","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fgrok-voice\u002Fskills\u002Fadd-dictation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-dictation\ndescription: >-\n  Use when the user runs \u002Fadd-dictation or wants speech turned into text with\n  Grok speech-to-text: a mic button that dictates into the composer, live\n  captions, or transcribing recorded audio (files, uploads, URLs) with word\n  timestamps, diarization, subtitles, meeting notes. STT, transcribe,\n  transcription. For a voice agent that talks back use \u002Fadd-voice.\n---\n\n# Add Dictation\n\nAdd Grok Speech to Text to an existing app: a mic button that dictates into the composer, live captions, or transcripts of recorded audio. Run on `\u002Fadd-dictation`, typed **Dictate**, or clear “transcribe” intent. Cursor has no mic; wire the **app**, not the IDE.\n\n## Docs\n\n- https:\u002F\u002Fdocs.x.ai\u002Fdevelopers\u002Fmodel-capabilities\u002Faudio\u002Fspeech-to-text\n- Model selection (read first): https:\u002F\u002Fdocs.x.ai\u002Fdevelopers\u002Fmodel-capabilities\u002Faudio\u002Fspeech-to-text#model-selection\n- Pricing (cite docs only): https:\u002F\u002Fdocs.x.ai\u002Fdevelopers\u002Fpricing\n\n## Model\n\nBefore any STT call, read the model-selection section and pass the **latest listed** model as `model`. Do not invent ids or reuse a stale one from this skill. REST: form field before `file`. Streaming: query param. Official examples currently send `grok-voice-transcribe-2.0`. Listed today: `grok-voice-transcribe-2.0` (best), `grok-voice-transcribe-1.0` (original; API default when `model` is omitted).\n\n## Pick the path\n\n| Need | Path |\n| --- | --- |\n| Tap, speak, tap, text appears. Uploaded files. URLs. | **Batch** `POST https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt` (default) |\n| Text appears while speaking: captions, long dictation, push-to-talk | **Streaming** `wss:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt` through a backend relay |\n\nBatch is the default for a composer mic button: one request, no socket, the key never leaves the server. Go streaming only when the UX needs interim text.\n\n## Auth\n\n- Bearer `XAI_API_KEY`, server side only. The STT docs document no ephemeral-token flow, and browsers cannot set WebSocket headers, so browser streaming goes through your backend relay. Do not invent a token flow.\n- Never put the key in a client bundle. Do not paste keys in chat.\n\n## Steps\n\n1. **Map the app**\n   - Composer or input component, where the text should land (insert at cursor vs replace), server framework, package manager.\n   - The **microphone icon belongs to dictation**. If `\u002Fadd-voice` is installed, its waveform primary button stays as is; add the mic as a secondary ghost button beside it.\n   - Existing mic capture? If `\u002Fadd-voice` ran, its PCM capture can feed streaming STT; pass its rate as `sample_rate`. 16 kHz is the model’s native rate; other supported rates (8000, 16000, 22050, 24000, 44100, 48000) are resampled server side.\n\n2. **Batch path (default)**\n   - Client: `MediaRecorder` → `Blob` → `POST` to your own route. The endpoint auto-detects containers (WAV, MP3, OGG, Opus, FLAC, AAC, MP4, M4A, MKV, WebM), so send whatever `MediaRecorder` produces.\n   - Server: forward as `multipart\u002Fform-data`. Option fields first, **`file` last**; fields after `file` may be ignored. `file` or `url`, max 500 MB. `model` from docs (latest listed).\n\n```ts\n\u002F\u002F server (any runtime with fetch + FormData)\nexport async function transcribe(blob: Blob, filename: string) {\n  const form = new FormData();\n  form.append(\"model\", \"grok-voice-transcribe-2.0\"); \u002F\u002F latest from docs; re-read model-selection\n  form.append(\"format\", \"true\");     \u002F\u002F written-form numbers\u002Fcurrency; requires language\n  form.append(\"language\", \"en\");\n  \u002F\u002F form.append(\"keyterm\", \"Acme\"); \u002F\u002F repeat per term, ≤100 terms × 50 chars\n  form.append(\"file\", blob, filename); \u002F\u002F last\n  const res = await fetch(\"https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt\", {\n    method: \"POST\",\n    headers: { Authorization: `Bearer ${process.env.XAI_API_KEY}` },\n    body: form,\n  });\n  if (!res.ok) throw new Error(`STT ${res.status}`); \u002F\u002F 400 bad input, 413 >500 MB, 429 back off, 502 url fetch failed, 503 retry\n  return (await res.json()) as {\n    text: string; language: string; duration: number;\n    words?: { text: string; start: number; end: number; speaker?: number }[];\n    channels?: { index: number; text: string; words: unknown[] }[];\n  };\n}\n```\n\n```ts\n\u002F\u002F client\nconst mime = MediaRecorder.isTypeSupported(\"audio\u002Fwebm;codecs=opus\") ? \"audio\u002Fwebm;codecs=opus\" : \"audio\u002Fmp4\";\nconst rec = new MediaRecorder(stream, { mimeType: mime });\nconst parts: BlobPart[] = [];\nrec.ondataavailable = (e) => parts.push(e.data);\nrec.onstop = async () => {\n  const fd = new FormData();\n  fd.append(\"file\", new Blob(parts, { type: mime }), \"dictation\");\n  const { text } = await (await fetch(\"\u002Fapi\u002Fdictation\", { method: \"POST\", body: fd })).json();\n  insertAtCursor(text);\n};\nrec.start(); \u002F\u002F second tap: rec.stop()\n```\n\n3. **Streaming path**\n   - Relay: server holds the key, upgrades the browser socket, forwards binary frames and client control messages up, JSON events down. Build the query string server side. `model` from docs (latest listed).\n\n```ts\nimport { WebSocketServer, WebSocket } from \"ws\";\n\nnew WebSocketServer({ port: 8788 }).on(\"connection\", (client) => {\n  const q = new URLSearchParams({ model: \"grok-voice-transcribe-2.0\", sample_rate: \"16000\", encoding: \"pcm\", interim_results: \"true\", language: \"en\" });\n  const up = new WebSocket(`wss:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt?${q}`, { headers: { Authorization: `Bearer ${process.env.XAI_API_KEY}` } });\n  up.on(\"message\", (d) => client.send(d.toString()));                       \u002F\u002F transcript.* and error events\n  client.on(\"message\", (d, isBinary) => up.readyState === WebSocket.OPEN && up.send(d, { binary: isBinary })); \u002F\u002F audio + finalize\u002Faudio.done\n  const end = () => { client.close(); up.close(); };\n  up.on(\"close\", end); up.on(\"error\", end); client.on(\"close\", end);\n});\n```\n\n   - Browser capture: PCM16 little-endian, mono, 16 kHz, **100 ms frames = 3,200 bytes**, raw binary, no base64. Wait for `transcript.created` before sending. `MediaRecorder` output is a container, not raw frames; do not stream it.\n\n```ts\nconst ws = new WebSocket(relayUrl); ws.binaryType = \"arraybuffer\";\nconst ctx = new AudioContext({ sampleRate: 16000 }); \u002F\u002F if ctx.sampleRate !== 16000, downsample in the worklet\nawait ctx.audioWorklet.addModule(\"\u002Fpcm16-worklet.js\"); \u002F\u002F Float32 → Int16LE, posts one 3,200-byte frame per 100 ms\nconst node = new AudioWorkletNode(ctx, \"pcm16\");\nctx.createMediaStreamSource(stream).connect(node);\nlet ready = false;\nnode.port.onmessage = (e) => ready && ws.readyState === WebSocket.OPEN && ws.send(e.data);\n\nlet committed = \"\", locked = \"\", live = \"\";\nws.addEventListener(\"message\", (e) => {\n  const ev = JSON.parse(e.data);\n  if (ev.type === \"transcript.created\") ready = true;\n  else if (ev.type === \"transcript.partial\") {\n    if (ev.speech_final) { committed += ev.text + \" \"; locked = \"\"; live = \"\"; } \u002F\u002F complete stitched utterance\n    else if (ev.is_final) { locked += ev.text + \" \"; live = \"\"; }                \u002F\u002F chunk final: text will not change\n    else live = ev.text;                                                          \u002F\u002F interim: may change\n    render(committed + locked + live);\n  } else if (ev.type === \"transcript.done\") ws.close();                          \u002F\u002F after audio.done\n  else if (ev.type === \"error\") showError(ev.message);                           \u002F\u002F most errors close the socket\n});\n\u002F\u002F stop: ws.send(JSON.stringify({ type: \"audio.done\" }))\n\u002F\u002F push-to-talk release: ws.send(JSON.stringify({ type: \"Finalize\" })) then keep streaming (docs show both `finalize` and `Finalize`; the examples use `Finalize`)\n```\n\n4. **Options** (query params for streaming, form fields for batch)\n\n| Want | Set |\n| --- | --- |\n| Latest STT | Read docs #model-selection, pass that `model`. Snapshot: `grok-voice-transcribe-2.0`. Omit → `grok-voice-transcribe-1.0`. Batch: form field. Streaming: query param. |\n| Text while speaking | `interim_results=true` |\n| “one hundred dollars” → `$100` | streaming: `language=en`; batch: `format=true` + `language=en` |\n| Product names, jargon | `keyterm=` repeated |\n| Not cut off mid-sentence while dictating numbers | `smart_turn=0.7&smart_turn_timeout=3000` |\n| Faster or slower end of utterance | `endpointing=` ms, default 400 |\n| Who said what (meetings) | `diarize=true` → `words[].speaker` |\n| Agent and customer on separate channels | `multichannel=true&channels=2` (PCM only, not Opus) |\n| Keep “um”, “uh” | `filler_words=true` (removed by default) |\n| Low bandwidth or mobile | `encoding=opus`, exactly one raw Opus packet per frame, omit `sample_rate` |\n| Raw audio to batch | `audio_format=pcm|mulaw|alaw` + `sample_rate` |\n| Quiet or telephony audio | lower `vad_threshold` (streaming default 0.08, batch 0.5) |\n\n5. **Python twin (only if the server is Python)**\n\n```python\nimport os, requests\nr = requests.post(\n    \"https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt\",\n    headers={\"Authorization\": f\"Bearer {os.environ['XAI_API_KEY']}\"},\n    data=[(\"model\", \"grok-voice-transcribe-2.0\"), (\"format\", \"true\"), (\"language\", \"en\")],\n    files={\"file\": (\"dictation.webm\", blob, \"audio\u002Fwebm\")},  # requests sends data fields before files\n)\nr.raise_for_status(); text = r.json()[\"text\"]\n# streaming: websockets.connect(url, additional_headers={\"Authorization\": f\"Bearer {key}\"}); await ws.send(pcm_bytes)\n```\n\n6. **Smoke**\n   - Batch: latest `model` from docs (currently `grok-voice-transcribe-2.0`): `curl -X POST https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt -H \"Authorization: Bearer $XAI_API_KEY\" -F model=grok-voice-transcribe-2.0 -F language=en -F file=@short.wav` → 200 with `text`. Same call with `-F format=true` and no `language` → 400.\n   - Streaming: dictate two sentences with a pause between them. Expect interim text, then a final; no duplicated or vanished words at the utterance boundary (if words vanish, the stitched `speech_final` text did not include the chunk finals: append instead of replacing `locked`). `audio.done` → `transcript.done`, socket closes.\n   - Search the client bundle for `XAI_API_KEY`; it must not be there.\n   - Debug from logs with `\u002Fdebug-voice`; swap its hook points to `transcript.*` events.\n\n## Out of scope\n\n- Speech that talks back (`\u002Fadd-voice`), speaking text (`\u002Fadd-read-aloud`)\n- Inventing an STT token flow, endpoints, model ids, or event names not in the docs\n","# Add Dictation\n\nAdd Grok Speech to Text to an existing app: a mic button that dictates into the composer, live captions, or transcripts of recorded audio. Run on `\u002Fadd-dictation`, typed **Dictate**, or clear “transcribe” intent. Cursor has no mic; wire the **app**, not the IDE.\n\n## Docs\n\n- https:\u002F\u002Fdocs.x.ai\u002Fdevelopers\u002Fmodel-capabilities\u002Faudio\u002Fspeech-to-text\n- Model selection (read first): https:\u002F\u002Fdocs.x.ai\u002Fdevelopers\u002Fmodel-capabilities\u002Faudio\u002Fspeech-to-text#model-selection\n- Pricing (cite docs only): https:\u002F\u002Fdocs.x.ai\u002Fdevelopers\u002Fpricing\n\n## Model\n\nBefore any STT call, read the model-selection section and pass the **latest listed** model as `model`. Do not invent ids or reuse a stale one from this skill. REST: form field before `file`. Streaming: query param. Official examples currently send `grok-voice-transcribe-2.0`. Listed today: `grok-voice-transcribe-2.0` (best), `grok-voice-transcribe-1.0` (original; API default when `model` is omitted).\n\n## Pick the path\n\n| Need | Path |\n| --- | --- |\n| Tap, speak, tap, text appears. Uploaded files. URLs. | **Batch** `POST https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt` (default) |\n| Text appears while speaking: captions, long dictation, push-to-talk | **Streaming** `wss:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt` through a backend relay |\n\nBatch is the default for a composer mic button: one request, no socket, the key never leaves the server. Go streaming only when the UX needs interim text.\n\n## Auth\n\n- Bearer `XAI_API_KEY`, server side only. The STT docs document no ephemeral-token flow, and browsers cannot set WebSocket headers, so browser streaming goes through your backend relay. Do not invent a token flow.\n- Never put the key in a client bundle. Do not paste keys in chat.\n\n## Steps\n\n1. **Map the app**\n   - Composer or input component, where the text should land (insert at cursor vs replace), server framework, package manager.\n   - The **microphone icon belongs to dictation**. If `\u002Fadd-voice` is installed, its waveform primary button stays as is; add the mic as a secondary ghost button beside it.\n   - Existing mic capture? If `\u002Fadd-voice` ran, its PCM capture can feed streaming STT; pass its rate as `sample_rate`. 16 kHz is the model’s native rate; other supported rates (8000, 16000, 22050, 24000, 44100, 48000) are resampled server side.\n\n2. **Batch path (default)**\n   - Client: `MediaRecorder` → `Blob` → `POST` to your own route. The endpoint auto-detects containers (WAV, MP3, OGG, Opus, FLAC, AAC, MP4, M4A, MKV, WebM), so send whatever `MediaRecorder` produces.\n   - Server: forward as `multipart\u002Fform-data`. Option fields first, **`file` last**; fields after `file` may be ignored. `file` or `url`, max 500 MB. `model` from docs (latest listed).\n\n```ts\n\u002F\u002F server (any runtime with fetch + FormData)\nexport async function transcribe(blob: Blob, filename: string) {\n  const form = new FormData();\n  form.append(\"model\", \"grok-voice-transcribe-2.0\"); \u002F\u002F latest from docs; re-read model-selection\n  form.append(\"format\", \"true\");     \u002F\u002F written-form numbers\u002Fcurrency; requires language\n  form.append(\"language\", \"en\");\n  \u002F\u002F form.append(\"keyterm\", \"Acme\"); \u002F\u002F repeat per term, ≤100 terms × 50 chars\n  form.append(\"file\", blob, filename); \u002F\u002F last\n  const res = await fetch(\"https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt\", {\n    method: \"POST\",\n    headers: { Authorization: `Bearer ${process.env.XAI_API_KEY}` },\n    body: form,\n  });\n  if (!res.ok) throw new Error(`STT ${res.status}`); \u002F\u002F 400 bad input, 413 >500 MB, 429 back off, 502 url fetch failed, 503 retry\n  return (await res.json()) as {\n    text: string; language: string; duration: number;\n    words?: { text: string; start: number; end: number; speaker?: number }[];\n    channels?: { index: number; text: string; words: unknown[] }[];\n  };\n}\n```\n\n```ts\n\u002F\u002F client\nconst mime = MediaRecorder.isTypeSupported(\"audio\u002Fwebm;codecs=opus\") ? \"audio\u002Fwebm;codecs=opus\" : \"audio\u002Fmp4\";\nconst rec = new MediaRecorder(stream, { mimeType: mime });\nconst parts: BlobPart[] = [];\nrec.ondataavailable = (e) => parts.push(e.data);\nrec.onstop = async () => {\n  const fd = new FormData();\n  fd.append(\"file\", new Blob(parts, { type: mime }), \"dictation\");\n  const { text } = await (await fetch(\"\u002Fapi\u002Fdictation\", { method: \"POST\", body: fd })).json();\n  insertAtCursor(text);\n};\nrec.start(); \u002F\u002F second tap: rec.stop()\n```\n\n3. **Streaming path**\n   - Relay: server holds the key, upgrades the browser socket, forwards binary frames and client control messages up, JSON events down. Build the query string server side. `model` from docs (latest listed).\n\n```ts\nimport { WebSocketServer, WebSocket } from \"ws\";\n\nnew WebSocketServer({ port: 8788 }).on(\"connection\", (client) => {\n  const q = new URLSearchParams({ model: \"grok-voice-transcribe-2.0\", sample_rate: \"16000\", encoding: \"pcm\", interim_results: \"true\", language: \"en\" });\n  const up = new WebSocket(`wss:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt?${q}`, { headers: { Authorization: `Bearer ${process.env.XAI_API_KEY}` } });\n  up.on(\"message\", (d) => client.send(d.toString()));                       \u002F\u002F transcript.* and error events\n  client.on(\"message\", (d, isBinary) => up.readyState === WebSocket.OPEN && up.send(d, { binary: isBinary })); \u002F\u002F audio + finalize\u002Faudio.done\n  const end = () => { client.close(); up.close(); };\n  up.on(\"close\", end); up.on(\"error\", end); client.on(\"close\", end);\n});\n```\n\n   - Browser capture: PCM16 little-endian, mono, 16 kHz, **100 ms frames = 3,200 bytes**, raw binary, no base64. Wait for `transcript.created` before sending. `MediaRecorder` output is a container, not raw frames; do not stream it.\n\n```ts\nconst ws = new WebSocket(relayUrl); ws.binaryType = \"arraybuffer\";\nconst ctx = new AudioContext({ sampleRate: 16000 }); \u002F\u002F if ctx.sampleRate !== 16000, downsample in the worklet\nawait ctx.audioWorklet.addModule(\"\u002Fpcm16-worklet.js\"); \u002F\u002F Float32 → Int16LE, posts one 3,200-byte frame per 100 ms\nconst node = new AudioWorkletNode(ctx, \"pcm16\");\nctx.createMediaStreamSource(stream).connect(node);\nlet ready = false;\nnode.port.onmessage = (e) => ready && ws.readyState === WebSocket.OPEN && ws.send(e.data);\n\nlet committed = \"\", locked = \"\", live = \"\";\nws.addEventListener(\"message\", (e) => {\n  const ev = JSON.parse(e.data);\n  if (ev.type === \"transcript.created\") ready = true;\n  else if (ev.type === \"transcript.partial\") {\n    if (ev.speech_final) { committed += ev.text + \" \"; locked = \"\"; live = \"\"; } \u002F\u002F complete stitched utterance\n    else if (ev.is_final) { locked += ev.text + \" \"; live = \"\"; }                \u002F\u002F chunk final: text will not change\n    else live = ev.text;                                                          \u002F\u002F interim: may change\n    render(committed + locked + live);\n  } else if (ev.type === \"transcript.done\") ws.close();                          \u002F\u002F after audio.done\n  else if (ev.type === \"error\") showError(ev.message);                           \u002F\u002F most errors close the socket\n});\n\u002F\u002F stop: ws.send(JSON.stringify({ type: \"audio.done\" }))\n\u002F\u002F push-to-talk release: ws.send(JSON.stringify({ type: \"Finalize\" })) then keep streaming (docs show both `finalize` and `Finalize`; the examples use `Finalize`)\n```\n\n4. **Options** (query params for streaming, form fields for batch)\n\n| Want | Set |\n| --- | --- |\n| Latest STT | Read docs #model-selection, pass that `model`. Snapshot: `grok-voice-transcribe-2.0`. Omit → `grok-voice-transcribe-1.0`. Batch: form field. Streaming: query param. |\n| Text while speaking | `interim_results=true` |\n| “one hundred dollars” → `$100` | streaming: `language=en`; batch: `format=true` + `language=en` |\n| Product names, jargon | `keyterm=` repeated |\n| Not cut off mid-sentence while dictating numbers | `smart_turn=0.7&smart_turn_timeout=3000` |\n| Faster or slower end of utterance | `endpointing=` ms, default 400 |\n| Who said what (meetings) | `diarize=true` → `words[].speaker` |\n| Agent and customer on separate channels | `multichannel=true&channels=2` (PCM only, not Opus) |\n| Keep “um”, “uh” | `filler_words=true` (removed by default) |\n| Low bandwidth or mobile | `encoding=opus`, exactly one raw Opus packet per frame, omit `sample_rate` |\n| Raw audio to batch | `audio_format=pcm|mulaw|alaw` + `sample_rate` |\n| Quiet or telephony audio | lower `vad_threshold` (streaming default 0.08, batch 0.5) |\n\n5. **Python twin (only if the server is Python)**\n\n```python\nimport os, requests\nr = requests.post(\n    \"https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt\",\n    headers={\"Authorization\": f\"Bearer {os.environ['XAI_API_KEY']}\"},\n    data=[(\"model\", \"grok-voice-transcribe-2.0\"), (\"format\", \"true\"), (\"language\", \"en\")],\n    files={\"file\": (\"dictation.webm\", blob, \"audio\u002Fwebm\")},  # requests sends data fields before files\n)\nr.raise_for_status(); text = r.json()[\"text\"]\n# streaming: websockets.connect(url, additional_headers={\"Authorization\": f\"Bearer {key}\"}); await ws.send(pcm_bytes)\n```\n\n6. **Smoke**\n   - Batch: latest `model` from docs (currently `grok-voice-transcribe-2.0`): `curl -X POST https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fstt -H \"Authorization: Bearer $XAI_API_KEY\" -F model=grok-voice-transcribe-2.0 -F language=en -F file=@short.wav` → 200 with `text`. Same call with `-F format=true` and no `language` → 400.\n   - Streaming: dictate two sentences with a pause between them. Expect interim text, then a final; no duplicated or vanished words at the utterance boundary (if words vanish, the stitched `speech_final` text did not include the chunk finals: append instead of replacing `locked`). `audio.done` → `transcript.done`, socket closes.\n   - Search the client bundle for `XAI_API_KEY`; it must not be there.\n   - Debug from logs with `\u002Fdebug-voice`; swap its hook points to `transcript.*` events.\n\n## Out of scope\n\n- Speech that talks back (`\u002Fadd-voice`), speaking text (`\u002Fadd-read-aloud`)\n- Inventing an STT token flow, endpoints, model ids, or event names not in the docs\n",{"name":5,"description":7},"main","f31e1d2df163b90a48e30d0a3df67285f6641418","sources\u002Fcursor-plugins\u002Fupstream-tree\u002Fgrok-voice\u002Fskills\u002Fadd-dictation",1,"https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills","https:\u002F\u002Fgithub.com\u002FTheAngryPit","www.vitorcepedalopes.com","Creative Director | Executive Producer | Storyteller | Narrative Worlds & Creative Production Systems\r\nFounder @TheHive-Mind ","2026-11-14 21:48:38",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TheAngryPit\u002FTheAngrySkills --skill add-dictation",{"tool":39,"command":40},"bunx","bunx skills add TheAngryPit\u002FTheAngrySkills --skill add-dictation",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TheAngryPit\u002FTheAngrySkills --skill add-dictation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fgrok-voice\u002Fskills\u002Fadd-dictation\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M782GJ4CTPNKZN0WXTASXXZ4","X MCP guide","ALWAYS read this before using any X tool (the X plugin, any X MCP, or Grok Bot's built-in public X reads) and again on any X error. X tools are included in Grok Bot at no cost: never estimate costs, check credits, or tell the user to buy credits. tools=0 \u002F user-X-* not found is a setup failure, not a paywall. Covers Spaces, communities, and Lists (reads and list writes), X Chat (XChat, inbox, DMs, unread, message requests, Chat PIN, juicebox, xchat_lite: clone xchat-grokbot-helper yourself and decrypt locally), scheduled X calls (schedule_call, list_scheduled_calls and the other call tools), and livestreams (stream sources, broadcasts, scheduled broadcasts, broadcast chat, moderators, mutes). Chat, call, livestream, Spaces, or Lists tools missing while other X tools work: reconnect the X plugin.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fx\u002Fskills\u002Fx-api-mcp-guide\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M782GBW77901ESC9PD3XAM6V","X Money guide","Read this before the first X Money action in a session and again on any X Money error, refusal, or missing capability. Covers the approval rule for every action that moves money (always ask, every time, no exceptions), how the connection works (connection code plus passkey in the X app), how to guide the user through connect, reconnect, and revoke at x.com\u002Fi\u002Fmoney\u002Fsettings\u002Fconnections, and what each failure message means.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fx-money\u002Fskills\u002Fx-money-guide\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M782G7CMYD2JSVT3RX81QRB8","google-slides","Build and edit Google Slides through the google-slides MCP tools - slides, grids of cards and columns, text boxes, shapes, images, tables, styling, layout inspection, and per-slide PNG rendering. Use when creating a deck, laying out slide elements, matching a template, or verifying how a slide looks.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-slides\u002Fskills\u002Fgoogle-slides\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M782G4DDAJ4SMGJEF13HTX69","google-sheets","Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-sheets\u002Fskills\u002Fgoogle-sheets\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M782G1F8QNMNKRSY6M3Y0QG6","google-drive","Work with Google Drive through its MCP tools - search, read, create, organize, share, comment, and export files. Use when creating files in specific folders, moving or renaming, converting Markdown\u002FCSV into Docs\u002FSheets, managing comments, or exporting a rendered PDF.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-drive\u002Fskills\u002Fgoogle-drive\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M782FYVJ5XTP2R0B446RRYTX","google-docs","Author and edit Google Docs with the google-docs tools - structured writing, character and paragraph styling, lists, tables, images, headers\u002Ffooters. Use when creating a formatted document, editing document content, or applying styles.","https:\u002F\u002Fgithub.com\u002FTheAngryPit\u002FTheAngrySkills\u002Fblob\u002Fmain\u002Fsources\u002Fcursor-plugins\u002Fupstream-tree\u002Fthird_party\u002Fgoogle-docs\u002Fskills\u002Fgoogle-docs\u002FSKILL.md",[],[]]