speak
Speak text aloud using the Magpie TTS container in the realtime-api Docker stack. Zero external dependencies — just curl + aplay.
- License 许可
- MIT
- 最近更新
- 2026-04-09
- Stars
- ★ 245
- Forks
- 15
01 前言 Front Matter
- name
- speak
- triggers
- [ "speak", "say", "tell me", "read aloud", "announce" ]
- description
- Speak text aloud using the Magpie TTS container in the realtime-api Docker stack. Zero external dependencies — just curl + aplay.
03 SKILL.md 正文
Speak via Magpie TTS
Synthesize speech using the local Magpie TTS container (port 9000) and play through speakers.
When to use
- When the user says "speak", "say", "tell me", "read aloud"
- After completing a significant task — speak a brief 1-2 sentence summary
- When the user asks you to announce or vocalize something
- To give audio feedback on deploy/test results
Usage
/home/spark/git/autonomous-intelligence/realtime-api/scripts/speak.sh "Text to speak"
Options
| Flag | Short | Default | Description |
|---|---|---|---|
| (positional) | (required) | Text to speak | |
--voice |
-v |
Mia.Calm |
Voice name |
--speed |
-s |
125 |
Speed percentage |
--url |
-u |
http://localhost:9000 |
Magpie TTS URL |
Voices
Mia, Mia.Calm, Mia.Happy, Mia.Sad, Mia.Angry, Aria, Aria.Calm, Aria.Happy, Jason, Jason.Calm, Leo, Leo.Calm
Examples
# Default calm voice
/home/spark/git/autonomous-intelligence/realtime-api/scripts/speak.sh "Deploy complete. All seven checks passed."
# Happy announcement
/home/spark/git/autonomous-intelligence/realtime-api/scripts/speak.sh -v Mia.Happy "All tests passed!"
# Different speed
/home/spark/git/autonomous-intelligence/realtime-api/scripts/speak.sh -s 140 "Speaking faster now."
Notes
- Uses the Magpie TTS container from the realtime-api docker-compose stack (localhost:9000)
- No Python dependencies — just curl and aplay
- Audio plays through PipeWire/ALSA
- Keep messages concise (1-2 sentences) for task summaries
04 同仓库更多 Skills
test
Run TTS round-trip tests — pure-logic unit tests and optional integration tests against live TTS/STT services.
deploy
Build and deploy the realtime-api Docker container with full verification that deployed code matches local source.
memory
Unified memory management for notes, knowledge graph, RAG search, and file analysis. Use when working with: (1) Core memory — protected identity, projects, relationships, and system facts that should never be forgotten, (2) Working notes — per-session ephemeral notes organized by section, (3) MongoDB RAG — vector-search-enabled notes with importance scoring, decay, deduplication, and archival, (4) Neo4j knowledge graph — entities, relationships, merge duplicates, reinforce mentions, Cypher queries, (5) File analysis — deep file reading that extracts knowledge into all memory layers, (6) Service initialization — health-check, start/stop MongoDB, Neo4j, TEI embeddings via docker-compose with partial setup support.
coding
Enhanced coding assistance
memory
Unified memory management for notes, knowledge graph, RAG search, and file analysis. Use when working with: (1) Core memory — protected identity, projects, relationships, and system facts that should never be forgotten, (2) Working notes — per-session ephemeral notes organized by section, (3) MongoDB RAG — vector-search-enabled notes with importance scoring, decay, deduplication, and archival, (4) Neo4j knowledge graph — entities, relationships, merge duplicates, reinforce mentions, Cypher queries, (5) File analysis — deep file reading that extracts knowledge into all memory layers, (6) Service initialization — health-check, start/stop MongoDB, Neo4j, TEI embeddings via docker-compose with partial setup support.
test-on-finish
暂无简介