/install claw-voice-local
claw-voice-local
Local offline TTS → Telegram Voice Note
Convert any text to a Telegram voice message using piper TTS — fully offline, no cloud API required. Runs on Linux (including Raspberry Pi / ARM64).
When to use
- Send spoken responses instead of text messages
- Read out summaries, alerts, or reports
- Any task where audio feedback is more natural than text
Usage
python3 say.py "Your agent is ready."
python3 say.py "Good morning!" --chat-id 123456789
echo "Task complete." | python3 say.py
Configuration
Set these environment variables (or add to ~/.openclaw/.env):
| Variable | Required | Description |
|---|---|---|
TELEGRAM_BOT_TOKEN |
Yes | Your Telegram bot token |
TELEGRAM_CHAT_ID |
Optional | Default chat ID (can be passed as --chat-id) |
Environment Variables
TELEGRAM_BOT_TOKEN=required # Telegram bot token — get one from @BotFather
TELEGRAM_CHAT_ID=optional # Default target chat ID
Config File
This skill reads ~/.openclaw/.env as a fallback for credentials.
Ensure the file has restricted permissions: chmod 600 ~/.openclaw/.env
Installation
See README.md for step-by-step piper installation.
Files
| File | Description |
|---|---|
say.py |
Main entry point: text → Telegram voice note |
speak.py |
Core TTS: text → OGG Opus via piper + ffmpeg |
send_voice.py |
Telegram sender: OGG → voice message (no dependencies) |
Requirements
- Python 3.11+
- piper binary (see README)
- ffmpeg
- A piper voice model (
.onnx) - Telegram bot token
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install claw-voice-local - 安装完成后,直接呼叫该 Skill 的名称或使用
/claw-voice-local触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
claw-voice-local 是什么?
Convert text to offline Telegram voice messages using piper TTS. Use when the agent should speak a response, send audio, or deliver voice notes via Telegram... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 96 次。
如何安装 claw-voice-local?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw-voice-local」即可一键安装,无需额外配置。
claw-voice-local 是免费的吗?
是的,claw-voice-local 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
claw-voice-local 支持哪些平台?
claw-voice-local 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 claw-voice-local?
由 photon78(@photon78)开发并维护,当前版本 v1.0.3。