voice-service

voice-service is a skill for Claude Code, Codex from ellmos-ai/bach. It costs 53 tokens per session (1,178 once invoked), scanned A, original, MIT.

A voice service that converts speech to text, turns text into speech, and detects a wake word. It supports online and offline speech engines, German neural voices, and saving audio to files.

In plain words
What is it for?
Transcribing audio, speaking responses, detecting a wake word, reporting voice-system status, and exporting speech as MP3, OGG, or WAV files.
Why use it?
It lets an application accept spoken commands and respond aloud, with fallbacks when optional libraries or microphone hardware are unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Transcribing audio, speaking responses, detecting a wake word, reporting voice-system status, and exporting speech as MP3, OGG, or WAV files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ellmos-ai/bach/voice
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ellmos-ai/bach --skill voice
Clone the repo
git clone --depth 1 https://github.com/ellmos-ai/bach

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for voice-service

README.md
[![agentmods](https://agentmods.dev/badge/skills/ellmos-ai/bach/voice/github.svg)](https://agentmods.dev/skills/ellmos-ai/bach/voice)
Your own site
<a href="https://agentmods.dev/skills/ellmos-ai/bach/voice"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/voice/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for voice-service

Your own site · 80×15
<a href="https://agentmods.dev/skills/ellmos-ai/bach/voice"><img src="https://agentmods.dev/badge/skills/ellmos-ai/bach/voice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01178
Opus 5.5 $0.00021 $0.00471
Sonnet 5.5 $0.00011 $0.00236
Haiku 4.5 $0.00005 $0.00118

Measured 2mo ago against content hash 9d5c02363444, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

voice-service scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (voice_stt.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

wget https://github.com/rhasspy/piper/releases/download/v1.2.0/voice-de-de-thorsten-medium.tar.gz
system/hub/_services/voice/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Voice Service

Status: PRODUCTION

Vollstaendige Implementation mit STT, TTS (inkl. File-Export), Wake-Word. Alle Komponenten haben graceful Fallbacks bei fehlenden Dependencies.

Features

  1. STT (Speech-to-Text): Whisper (online) oder Vosk (offline)
  2. TTS (Text-to-Speech):
    • pyttsx3 mit Voice-Selection (Zira bevorzugt) und Non-Blocking-Modus
    • NEU: Piper-TTS für hochwertige deutsche neuronale Stimmen
    • NEU: speak_to_file() - Text als MP3/OGG/WAV exportieren
  3. Wake-Word: openwakeword + pyaudio, Keyboard-Fallback bei fehlender Hardware
  4. VoiceService: Kombinierte Klasse mit Status-Reporting

Abhaengigkeiten (alle optional)

# STT Engines
pip install openai-whisper   # STT Option 1 (online, hohe Qualitaet)
pip install vosk             # STT Option 2 (offline)

# TTS Engines
pip install pyttsx3          # TTS Option 1 (Basic, Windows SAPI5)
pip install piper-tts        # TTS Option 2 (Neural, EMPFOHLEN fuer DE)

# Wake-Word
pip install openwakeword     # Wake-Word Detection
pip install pyaudio numpy    # Mikrofon fuer Wake-Word

# Optional: Audio-Konvertierung
# ffmpeg (fuer MP3/OGG Export)

Verwendung

Basis-Nutzung

from hub._services.voice.voice_stt import VoiceService

svc = VoiceService()

# Status aller Komponenten
status = svc.status()

# Text-to-Speech (Live)
svc.tts.speak("Hallo von BACH")
svc.tts.speak("Nicht blockierend", block=False)

# Speech-to-Text
text = svc.stt.transcribe_file("aufnahme.wav", language="de")

# Wake-Word (threaded)
thread, stop = svc.wakeword.listen_threaded(on_wake=lambda: print("Wach!"))
# ... spaeter: stop.set()

NEU: Text-to-File (für Telegram/Discord Voice-Nachrichten)

from hub._services.voice.voice_stt import VoiceTTS

# Mit pyttsx3 (Standard Windows-Stimmen)
tts = VoiceTTS(engine="pyttsx3")
tts.speak_to_file("Hallo von BACH!", "output.mp3", format="mp3")

# Mit Piper-TTS (hochwertige deutsche neuronale Stimmen)
# Voraussetzung: PIPER_MODEL Environment-Variable gesetzt
# z.B. export PIPER_MODEL=/path/to/de_DE-thorsten-medium.onnx
tts = VoiceTTS(engine="piper")
tts.speak_to_file("Hallo von BACH!", "output.ogg", format="ogg")

# Auto-Select (beste verfügbare Engine)
tts = VoiceTTS(engine="auto")
tts.speak_to_file("Test", "voice.mp3")

Read the full file on GitHub · 150 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed 9d5c02363444
  2. 3mo ago First seen · 150 lines · 53 tokens per session scan A 40706d66c029

Subscribe to this mod's changes

voice-service is a skill published in the GitHub repository ellmos-ai/bach (9 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,178 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

voice-service compared with skills from other repositories

voice-service next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
voice-serviceellmos-ai/bachSkill9todayMITA53Claude Code, Codex
csv-workbenchopenai/openai-agents-pythonSkill31ktodayMITA17Claude Code, Codex
docetlucbepic/docetlSkill4.3k13d agoMITA59Claude Code, Codex
data-analysiswinstonkoh87/Athena-PublicSkill6563d agoMITA30Claude Code
data-science-analysisagentscope-ai/QwenPaw-DataSkill210todayApache-2.0A237Claude Code, Codex
epub-ebooklibagentforce314/clawcodexSkill9283d agoMITA26Claude Code, Codex
bank-statement-parsingjohnsonhk88/AI-Bank-Statement-Document-Automation-By-LLM-And-Personal-Finanical-Analysis-PredictionSkill6383d agoApache-2.0A23Claude Code, Codex