Herald Configuration
Scannednpx machina-cli add skill al3xjohnson/herald/configuration --openclawHerald Configuration
Herald provides configurable notifications for Claude Code with two styles: text-to-speech (TTS) summaries or alert sounds. This skill covers configuration, TTS provider setup, and troubleshooting.
Quick Start
Enable Herald and set notification style:
/herald:enable
/herald:style tts # or "alerts" for sound-only
Check current configuration:
/herald:status
Configuration File
Herald stores settings in ~/.config/herald/config.json:
{
"enabled": true,
"style": "alerts",
"tts": {
"provider": "macos",
"elevenlabs": {
"api_key": "your-key",
"voice_id": "voice-id"
}
},
"preferences": {
"max_words": 50,
"summary_prompt": null,
"activate_editor": true
}
}
Notification Styles
TTS Mode (/herald:style tts)
Reads a summary of Claude's response aloud, then activates the editor/terminal window.
- Summarizes response to ~50 words (configurable)
- Uses platform TTS or ElevenLabs
- Activates window after speaking
Alerts Mode (/herald:style alerts)
Plays a notification sound and activates the window.
- Quick audio notification
- No speech synthesis
- Lower latency than TTS
TTS Providers
Built-in Providers
| Provider | Platform | Command |
|---|---|---|
macos | macOS | /herald:tts provider macos |
windows | Windows | /herald:tts provider windows |
Built-in providers require no setup. Herald auto-detects the platform.
ElevenLabs (Premium Voices)
For high-quality voices on any platform, use ElevenLabs:
/herald:tts provider elevenlabs
/herald:tts elevenlabs api_key YOUR_API_KEY
/herald:tts elevenlabs voice_id YOUR_VOICE_ID
Required API key permissions: text_to_speech and user_read scopes.
For detailed ElevenLabs setup including obtaining API keys, voice IDs, and configuring permissions, see references/elevenlabs-setup.md.
Preferences
Configure TTS behavior with /herald:preferences:
Max Words
Limit summary length (default: 50):
/herald:preferences max_words 30
Custom Summary Prompt
Override the default summarization prompt:
/herald:preferences summary "Summarize in one sentence, focusing on what was accomplished"
Reset to default:
/herald:preferences summary clear
Editor Activation
Control whether Herald activates the editor/terminal after notifications:
/herald:preferences activate_editor off
/herald:preferences activate_editor on
Herald auto-detects the running environment:
- VS Code (integrated terminal)
- Terminal apps: Ghostty, iTerm, Terminal.app, Alacritty, Kitty, WezTerm, Hyper
- Windows Terminal
Commands Reference
| Command | Description |
|---|---|
/herald:enable | Enable notifications |
/herald:disable | Disable notifications |
/herald:status | Show current configuration |
/herald:style <tts|alerts> | Set notification style |
/herald:preferences | Configure TTS settings |
/herald:tts | Configure TTS provider |
Hook Events
Herald listens to two Claude Code events:
Stop Event
Triggers when Claude finishes a response. Herald:
- Reads the transcript
- Summarizes the response (for TTS mode)
- Speaks or plays alert sound
- Activates the editor window
Notification Event
Triggers on permission prompts and idle prompts. Herald plays a brief notification to alert the user that input is needed.
Common Configuration Tasks
Switch from Alerts to TTS
/herald:style tts
Use ElevenLabs Instead of System TTS
/herald:tts provider elevenlabs
/herald:tts elevenlabs api_key sk-...
/herald:tts elevenlabs voice_id EXAVITQu4...
Disable Window Activation
/herald:preferences activate_editor off
Shorter Summaries
/herald:preferences max_words 25
Temporarily Disable
/herald:disable
Troubleshooting
For common issues and solutions, see references/troubleshooting.md.
Quick Fixes
No sound playing:
- Check
/herald:statusto verify enabled - Ensure system volume is not muted
- Try
/herald:style alertsto test basic audio
ElevenLabs not working:
- Verify API key with
/herald:status - Check voice ID is valid
- Ensure API key has
text_to_speechanduser_readpermissions - Ensure API key has available credits
Wrong window activating:
- Herald detects VS Code vs terminal automatically
- Check
TERM_PROGRAMenvironment variable - Try
/herald:preferences activate_editor offif problematic
Additional Resources
Reference Files
references/elevenlabs-setup.md- Complete ElevenLabs setup guide with API key and voice ID instructionsreferences/troubleshooting.md- Detailed troubleshooting for common issues
Source
git clone https://github.com/al3xjohnson/herald/blob/main/skills/configuration/SKILL.mdView on GitHub Overview
Herald provides configurable notifications for Claude Code with two styles: text-to-speech (TTS) summaries or alert sounds. This skill covers how to configure Herald, set up TTS providers (including ElevenLabs), manage preferences, and troubleshoot common issues like Herald not working.
How This Skill Works
Herald stores settings in ~/.config/herald/config.json and is controlled via commands such as /herald:enable, /herald:style, and /herald:preferences. You can choose TTS or alerts, select a provider (macos, windows, or elevenlabs), and configure ElevenLabs API keys and voice IDs. Use /herald:status to verify current configuration and rely on events to trigger reading, speaking, or focusing the editor.
When to Use It
- You want to enable Herald or switch notification style between TTS and alerts.
- You need to configure ElevenLabs as the TTS provider and supply api_key and voice_id.
- Herald isn’t working and you need troubleshooting steps (checking status, keys, or provider).
- You want to customize TTS behavior (max_words, summary prompt, editor activation).
- You want to verify current configuration and provider setup with /herald:status.
Quick Start
- Step 1: Enable Herald: /herald:enable
- Step 2: Set style to TTS (or alerts): /herald:style tts
- Step 3: Check current config: /herald:status
Best Practices
- Use the appropriate provider for your platform (macos or windows) or opt into ElevenLabs for premium voices.
- Keep ElevenLabs API keys and voice IDs securely configured and grant required permissions (text_to_speech, user_read).
- After changes, run /herald:status to confirm settings are applied.
- Tune max_words and activate_editor in /herald:preferences to fit your workflow.
- Test both styles (tts and alerts) to ensure the desired user experience and low latency.
Example Use Cases
- Enable TTS style with ElevenLabs: /herald:enable followed by /herald:style tts and /herald:tts provider elevenlabs
- Use built-in macOS TTS: /herald:tts provider macos
- Set maximum summary length to 30 words: /herald:preferences max_words 30
- Disable editor activation for notifications: /herald:preferences activate_editor off
- Switch to alert sound mode: /herald:style alerts