Telegram voice-to-voice for macOS Apple Silicon: transcribe inbound .ogg voice notes with yap (Speech.framework) and reply with Telegram voice notes via say+ffmpeg. Not compatible with Linux/Windows.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install telegram-voice-to-voice-macos或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install telegram-voice-to-voice-macos⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/telegram-voice-to-voice-macos/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: telegram-voice-to-voice-macos description: "Telegram voice-to-voice for macOS Apple Silicon: transcribe inbound .ogg voice notes with yap (Speech.framework) and reply with Telegram voice notes via say+ffmpeg. Not compatible with Linux/Windows." metadata: {"openclaw":{"os":["darwin"],"requires":{"bins":["yap","ffmpeg","say","defaults"]}}} ---
This is an OpenClaw skill.
yap CLI available in PATH (Speech.framework transcription).- Project: https://github.com/finnvoor/yap (by finnvoor)
ffmpeg available in PATH.This skill is macOS-only (uses say + Speech.framework). The skill registry cannot enforce OS restrictions, so installing/running it on Linux/Windows will result in runtime failures.
Store a small per-user preference file in the workspace:
voice_state/telegram.json - "voice" (default): reply with a Telegram voice note - "text": reply with a single text message
If the file does not exist or the sender id is missing: assume "voice".
If an inbound text message is exactly:
/audio off → set state to "text" and confirm with a short text reply./audio on → set state to "voice" and confirm with a short text reply.Telegram voice notes often show up as in message text. OpenClaw saves the attachment to disk (typically .ogg) under:
~/.openclaw/media/inbound/Recommended approach:
1) If the inbound message context includes an attachment path, use it. 2) Otherwise, take the most recent *.ogg from ~/.openclaw/media/inbound/.
Default locale: macOS system locale.
Optional env:
YAP_LOCALE — override the transcription locale (e.g. it-IT, en-US).Preferred:
yap transcribe --locale "${YAP_LOCALE:-}" - If YAP_LOCALE is not set, the helper script will use the macOS system locale (from defaults read -g AppleLocale).
If transcription fails or is empty: ask the user to repeat or send text.
Helper script:
scripts/transcribe_telegram_ogg.sh [path.ogg]Voice default: SYSTEM (uses the current macOS system voice). You can override by passing a specific voice name to the helper script.
1) Generate the reply text. 2) Convert reply text to an OGG/Opus voice note using:
scripts/tts_telegram_voice.sh "" [SYSTEM|VoiceName] The script prints the generated .ogg path to stdout.
3) Send the .ogg back to Telegram as a voice note (not a generic audio file):
message tool with asVoice: true and media: replyTo to thread the responseNotes:
SYSTEM to rely on the current macOS system voice (recommended).Reply with a single text message:
Transcription: <...>Reply: <...>安装 Telegram Voice To Voice Macos 后,可以对 AI 说这些话来触发它
Help me get started with Telegram Voice To Voice Macos
Explains what Telegram Voice To Voice Macos does, walks through the setup, and runs a quick demo based on your current project
Use Telegram Voice To Voice Macos to telegram voice-to-voice for macOS Apple Silicon: transcribe inbound
Invokes Telegram Voice To Voice Macos with the right parameters and returns the result directly in the conversation
What can I do with Telegram Voice To Voice Macos in my design & creative workflow?
Lists the top use cases for Telegram Voice To Voice Macos, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/telegram-voice-to-voice-macos/ 目录(个人级,所有项目可用),或 .claude/skills/telegram-voice-to-voice-macos/(项目级)。重启 AI 客户端后,用 /telegram-voice-to-voice-macos 主动调用,或让 AI 根据上下文自动发现并使用。
Telegram Voice To Voice Macos 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Telegram Voice To Voice Macos 可免费安装使用。请查阅仓库了解许可证信息。
Telegram voice-to-voice for macOS Apple Silicon: transcribe inbound .ogg voice notes with yap (Speech.framework) and reply with Telegram voice notes via say+ffmpeg. Not compatible with Linux/Windows.
Automate my design & creative tasks using Telegram Voice To Voice Macos
Identifies repetitive steps in your workflow and sets up Telegram Voice To Voice Macos to handle them automatically
Telegram Voice To Voice Macos 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。