announcer
Announce text throughout the house via AirPlay speakers using Airfoil + ElevenLabs TTS.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- announcer
- summary
- House-wide TTS announcements via AirPlay speakers, Airfoil, and ElevenLabs.
- version
- 1.1.0
- homepage
- https://github.com/odrobnik/announcer-skill
- metadata
- { "openclaw": { "emoji": "?", "requires": { "env": [ "ELEVENLABS_API_KEY" ], "apps": [ "Airfoil" ], "bins": [ "python3", "ffmpeg" ], "skills": [ "elevenlabs" ] } } }
- description
- Announce text throughout the house via AirPlay speakers using Airfoil + ElevenLabs TTS.
02 资源文件 3
- 参考文档_meta.json272 B
- 参考文档README.md1.0 KB
- 脚本scripts/announce.py10.9 KB
03 SKILL.md 正文
Announcer
Play TTS announcements through AirPlay speakers via Airfoil and ElevenLabs.
How It Works
- Generate speech via ElevenLabs (high-quality opus → stereo MP3)
- Connect to AirPlay speakers via Airfoil
- Play an optional chime (gong) followed by the announcement
- Disconnect speakers after playback
Requirements
- Airfoil (Rogue Amoeba) — running on the host Mac
- ElevenLabs API key — set
ELEVENLABS_API_KEYenv var - ffmpeg — for audio format conversion
- elevenlabs skill — sibling skill for TTS generation
Configuration
User config lives at ~/clawd/announcer/config.json:
{
"speakers": ["Living (2)", "Kitchen", "Office"],
"excluded": ["Computer"],
"elevenlabs": {
"voice_id": "your-voice-id",
"format": "opus_48000_192"
},
"audio": {
"output_format": "mp3",
"stereo": true,
"sample_rate": 48000,
"bitrate": "256k",
"chime_file": "gong_stereo.mp3"
},
"airfoil": {
"source": "System-Wide Audio",
"connection_timeout_seconds": 30,
"volume": 0.7
}
}
Config Fields
| Field | Description |
|---|---|
speakers |
AirPlay speaker names to connect |
excluded |
Speaker names to never connect |
elevenlabs.voice_id |
ElevenLabs voice to use |
audio.chime_file |
Chime sound file in assets/ (set null to disable) |
airfoil.connection_timeout_seconds |
Time to wait for speakers to connect |
airfoil.volume |
Speaker volume (0.0–1.0) |
Usage
# Announce to all configured speakers
python3 skills/announcer/scripts/announce.py "Dinner is ready!"
# Announce to specific speakers only
python3 skills/announcer/scripts/announce.py "Wake up!" --speakers "Kids Room"
# Skip the chime
python3 skills/announcer/scripts/announce.py "Quick note" --no-gong
File Structure
announcer/
├── SKILL.md
├── assets/
│ └── gong_stereo.mp3 # Announcement chime
└── scripts/
└── announce.py # Main announcement script
User config (not part of skill):
~/clawd/announcer/
└── config.json # Speaker list, voice, audio settings
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.