Generate a single-sentence TTS notification with contextual message using ElevenLabs API or macOS say
Generate text-to-speech notifications and play them on macOS. Uses ElevenLabs API for premium voices, or falls back to macOS's built-in say command for zero-configuration usage.
This skill can be invoked with an optional message argument:
/ping-me message="Task completed successfully"
/ping-me message="Build finished with all tests passing"
/ping-me # Default notification
message: Custom message to speak via TTS (must be a single sentence, maximum one sentence only)Important: All messages must be single sentences only.
Set the API key for high-quality neural voices:
export ELEVENLABS_API_KEY=your_api_key_here
ElevenLabs settings:
TTS_VOICE_ID - ElevenLabs voice ID (default: Rachel)TTS_MODEL - Model to use (default: eleven_turbo_v2_5)TTS_STABILITY - Voice stability 0-1 (default: 0.5)TTS_SIMILARITY_BOOST - Similarity boost 0-1 (default: 0.75)say (Fallback - No Setup)When ELEVENLABS_API_KEY is not set, the plugin automatically uses macOS's built-in say command. No configuration required.
macOS say settings:
TTS_SAY_VOICE - Voice name (default: Samantha). Run say -v ? to list available voices.TTS_SAY_RATE - Words per minute (default: 175)Run the bundled notification script:
bash ./scripts/notify.sh $ARGUMENTS
The bundled scripts/notify.sh handles:
afplay