Skip to main content
skill CX Codex

add-read-aloud — Claude Code skill for text-to-speech

Builds Grok text-to-speech into an existing app, for read-aloud controls, automatic playback, or spoken page content.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cursor/plugins --skill add-read-aloud -a claude-code
Open on GitHub

What add-read-aloud does

The skill guides an agent through adding speech playback for completed assistant replies, narration, or generated audio files. Its default route sends text to Grok TTS from the server and returns an MP3. Keep XAI_API_KEY server-side; it must not end up in the browser bundle.

The instructions cover turning formatted text into speech-ready input, handling long messages, and reflecting loading and playback in the app’s controls. Requests are limited to 15,000 characters, so longer text needs splitting or the streaming route. Browser streaming requires a backend relay. Auto-speak should be opt-in and start only after a user gesture.

What it helps with

  • add a speaker control to completed assistant replies
  • narrate page text or create an audio file
  • split long input into TTS-sized parts
  • keep the Grok API key out of client code

Example prompts for the agent

  • Add a control that reads completed assistant replies aloud with Grok TTS.
  • Set up page narration and split long text before sending it for speech.
  • Make automatic reply playback optional and start it after a user gesture.

How to install add-read-aloud

1Skills CLI (Vercel)

npx skills add cursor/plugins --skill add-read-aloud -a claude-code

2Manually: put the files in place

~/.claude/skills/add-read-aloud/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/add-read-aloud/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about add-read-aloud

How do I install add-read-aloud in Claude Code?

Run npx skills add cursor/plugins --skill add-read-aloud -a claude-code. The skill file is at ~/.claude/skills/add-read-aloud/SKILL.md.

What does add-read-aloud do?

It guides an agent in adding Grok TTS playback to an existing app, such as speech controls for assistant replies or narration for other text. The default approach returns audio as an MP3.

What does add-read-aloud need to run?

The server needs XAI_API_KEY; keep it out of browser code. Browser-based streaming also needs a backend relay.

Similar skills

Everything for AI and ML →

From the same set47

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor