telegram-voice-to-voice-macos
Telegram voice-to-voice workflow (macOS Apple Silicon only): handle incoming Telegram voice notes (.ogg), transcribe locally with yap (Speech.framework), generate a reply, and send back a Telegram voice note using local TTS (macOS say + ffmpeg). Also support /audio on and /audio off toggles with persistent per-user state. Use when you want voice-to-voice chat on Telegram without cloud transcription/TTS.
Install
mkdir -p .claude/skills/telegram-voice-to-voice-macos && curl -L -o skill.zip "https://mcp.directory/api/skills/download/7478" && unzip -o skill.zip -d .claude/skills/telegram-voice-to-voice-macos && rm skill.zipInstalls to .claude/skills/telegram-voice-to-voice-macos
About this skill
Telegram voice-to-voice (macOS Apple Silicon only)
This is an OpenClaw skill.
Requirements
- macOS on Apple Silicon.
yapCLI available inPATH(Speech.framework transcription).- Project: https://github.com/finnvoor/yap (by finnvoor)
ffmpegavailable inPATH.
Compatibility note (important)
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.
Persistent reply mode (voice vs text)
Store a small per-user preference file in the workspace:
- State file:
voice_state/telegram.json - Key: Telegram sender user id (string)
- Values:
"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".
Toggle commands
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.
Getting the inbound audio (.ogg)
Telegram voice notes often show up as <media:audio> in message text.
OpenClaw saves the attachment to disk (typically .ogg) under:
~/.openclaw/media/inbound/
Recommended approach:
- If the inbound message context includes an attachment path, use it.
- Otherwise, take the most recent
*.oggfrom~/.openclaw/media/inbound/.
Transcription
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:-<system>}" <path.ogg>- If
YAP_LOCALEis not set, the helper script will use the macOS system locale (fromdefaults read -g AppleLocale).
- If
If transcription fails or is empty: ask the user to repeat or send text.
Helper script:
scripts/transcribe_telegram_ogg.sh [path.ogg]
Reply behavior
Mode: voice (default)
Voice default: SYSTEM (uses the current macOS system voice). You can override by passing a specific voice name to the helper script.
- Generate the reply text.
- Convert reply text to an OGG/Opus voice note using:
scripts/tts_telegram_voice.sh "<reply text>" [SYSTEM|VoiceName]
The script prints the generated .ogg path to stdout.
- Send the
.oggback to Telegram as a voice note (not a generic audio file):
- use the
messagetool withasVoice: trueandmedia: <path.ogg> - optionally set
replyToto thread the response
Notes:
- Use
SYSTEMto rely on the current macOS system voice (recommended).
Mode: text
Reply with a single text message:
Transcription: <...>Reply: <...>
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversBoost productivity on Mac with OmniFocus Enhanced—manage tasks, projects, and workflows in one powerful macOS productivi
Use natural language to control the App Store Connect API—automate app management, beta testing, localizations, analytic
XcodeBuild streamlines iOS app development for Apple developers with tools for building, debugging, and deploying iOS an
Boost productivity on macOS with Apple Native Tools—search contacts, manage notes, and message easily in your favorite p
Automate macOS tasks with AppleScript and JavaScript. Control apps, files, and system efficiently using macOS Automator'
AppleScript MCP server lets AI execute apple script on macOS, accessing Notes, Calendar, Contacts, Messages & Finder via
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.