Skip to content

parasxos/speak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speak

On-demand text-to-speech for Claude Code on macOS — fast, free, offline-capable.

A Claude Code plugin that adds the speak skill. When you ask Claude to read something aloud, it pipes the target text through a markdown-aware normalizer and macOS's built-in say command, defaulting to the Ava (Premium) neural voice at 250 wpm with a 1000-character cap.

The skill is pull-not-push — speech happens only when you explicitly ask. There is no Stop-hook narration and no fatigue.

Install

/plugin marketplace add parasxos/claude-plugins
/plugin install speak@parasxos/claude-plugins

After install, restart Claude Code (or run /reload-skills).

Use

Type any of these in chat — Claude routes them automatically:

  • /speak or /read — slash forms
  • "read your last answer aloud"
  • "read that back"
  • "say it back"
  • "read this aloud: " — speak arbitrary quoted text

Configure

Per-call overrides via env vars in front of the trigger:

Variable Default Meaning
SPEAK_VOICE Ava (Premium) macOS voice name (any from say -v '?')
SPEAK_RATE 250 Words per minute (140 slow → 280 fast)
SPEAK_MAX_CHARS 1000 Hard cap on speech length (chars)

Example: SPEAK_VOICE=Daniel SPEAK_RATE=180 /speak.

Mute / unmute

touch ~/.claude/.speak-mute     # mute globally
rm ~/.claude/.speak-mute        # unmute

Quality

macOS premium neural voices are downloadable for free:

  • VoiceOver Utility → View menu → SpeechVoices tab → Add voice button → pick language → check the (Premium) or (Enhanced) variant.
  • Premium variants sound genuinely human and iterate with macOS updates.

To verify a downloaded voice is actually wired to say (not silently substituted):

say -v "Ava (Premium)" -o /tmp/a.aiff "test"
say -v "Samantha"      -o /tmp/s.aiff "test"
md5 -q /tmp/a.aiff /tmp/s.aiff   # different hash = real voice; same = silent fallback

Platform

  • macOS only. Uses say (BSD/macOS) and afplay (macOS).
  • On Linux or remote SSH sessions, the script exits cleanly with a one-line notice — it does not crash the skill.

License

MIT. See LICENSE.

Author

Paris Moschovakos — github.com/parasxos. Part of parasxos/claude-plugins marketplace.

About

On-demand text-to-speech for Claude Code on macOS — Ava (Premium) by default, markdown-aware, mute-file gated

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors