π¦ ClawHub
Voice Wake Say TTS Responses (Native)
by @xadenryan
Speak responses aloud on macOS using the built-in `say` command when user input indicates Voice Wake/voice recognition (for example, messages starting with "User talked via voice recognition on <device>").
TERMINAL
clawhub install clawdbot-skill-voice-wake-sayπ About This Skill
name: voice-wake-say description: Speak responses aloud on macOS using the built-in
say command when user input indicates Voice Wake/voice recognition (for example, messages starting with "User talked via voice recognition on Voice Wake Say
Overview
Use macOSsay to read the assistant's response out loud whenever the conversation came from Voice Wake/voice recognition. Do not use the tts tool (it calls cloud providers).When to Use say (CHECK EVERY MESSAGE INDIVIDUALLY)
IF the user message STARTS WITH: User talked via voice recognition on m3
say first (so the user knows you heard them)IF the user message does NOT start with that exact phrase
say. Text-only response only.Critical:
Workflow
1) Detect Voice Wake contextUser talked via voice recognition on m32) Prepare spoken text
3) Speak with say (local macOS TTS)
printf '%s' "$SPOKEN_TEXT" | say
Optional controls (use only if set):
printf '%s' "$SPOKEN_TEXT" | say -v "$SAY_VOICE"
printf '%s' "$SPOKEN_TEXT" | say -r "$SAY_RATE"
Failure handling
say is unavailable or errors, still send the text response and note that TTS failed.