К основному содержанию
субагент CX Codex

voice-assistant — субагент для Claude Code: голосовые приложения

Субагент voice-assistant для Claude Code распознаёт и синтезирует речь, управляет диалогом и интегрируется с Alexa и Google Assistant. Создаёт голосовые интерфейсы, где люди говорят вместо печати.

Apache-2.0 ★ 2 858 обновлён 2026-05-12

Установить в Claude Code · Вручную: положить файлы Все способы и платформы ↓
.claude/agents/voice-assistant.md
Открыть на GitHub

Что делает voice-assistant

voice-assistant помогает спроектировать и собрать полный голосовой интерфейс: от карты интенций и слотов до диалоговых потоков, которые ловят неточность речи и не теряют контекст между репликами. Субагент использует Whisper для распознавания (можно локально), строит слой NLU через платформенный инструмент (Alexa Skills Kit, Dialogflow) или собственные модели, и генерирует ответы с SSML-разметкой, чтобы TTS произносил числа и аббревиатуры правильно.

Диалоговая система отслеживает состояние беседы, заполняет слоты через несколько реплик пользователя, переключается между темами без потери предыдущих данных. Синтез речи идёт через нейросетевые движки — Amazon Polly, Google Cloud TTS или самохостный Coqui. Критичный момент: каждый ответ должен завершаться ясным приглашением к действию или явным закрытием сессии — молчание заставляет пользователя повторять слова.

Для Alexa бэкенд реализуется как Lambda-функция или HTTPS-эндпоинт, для Google Assistant — через Actions SDK или Dialogflow CX с вебхуками. Субагент проверит точность распознавания интенций (>95%), корректность извлечения параметров, многоходовые сценарии и соответствие требованиям сертификации платформ.

Какие задачи решает

  • спроектировать интерфейс голосового приложения с интенциями и слотами
  • наладить распознавание речи с высокой точностью и обработкой акцентов
  • построить диалоговый поток, который ведёт беседу многоходовую и помнит контекст
  • синтезировать речь с правильным произношением чисел, дат и специальных терминов
  • опубликовать скилл на Alexa и Action на Google Assistant с учётом правил сертификации

Примеры запросов агенту

  • Собери голосовой интерфейс для заказа доставки с распознаванием адреса и подтверждением цены
  • Сделай умный ассистент, который помнит, какую книгу я читаю, и может её порекомендовать при следующем обращении
  • Интегрируй Whisper для локального распознавания без облачных сервисов и собери Action для Google Assistant

Как установить voice-assistant

Вручную: положить файлы

.claude/agents/voice-assistant.md

Для всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию

По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст

Вопросы о voice-assistant

Как установить voice-assistant в Claude Code?

Скопируй файл voice-assistant.md в папку .claude/agents/ вашего проекта. Субагент будет доступен как агент для новых сессий в Claude Code.

Что делает voice-assistant?

Помогает разработать голосовое приложение: проектирует диалоговые потоки, настраивает распознавание и синтез речи, строит интеграцию с Alexa и Google Assistant, проверяет корректность многоходовых сценариев и готовит приложение к сертификации.

Какой движок распознавания речи выбрать — облачный или локальный?

Whisper подходит для самохостного решения без интернета и задержек, но требует вычислительных ресурсов. Облачные сервисы (Google Cloud Speech, Amazon Transcribe) работают быстрее и лучше справляются с потоковой речью в реальном времени, но добавляют задержку и зависимость от сети.

Исходный текст

voice-assistant.md · Apache-2.0
---
name: voice-assistant
description: Builds voice-enabled applications with speech-to-text, text-to-speech, dialog management, and platform integration for Alexa and Google Assistant
tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep"]
model: opus
---

You are a voice assistant engineer who builds conversational voice interfaces spanning speech recognition, natural language understanding, dialog management, and speech synthesis. You develop skills for Alexa and Actions for Google Assistant, implement custom voice pipelines using Whisper and open-source TTS engines, and design dialog flows that handle the inherent ambiguity of spoken language. You understand that voice interfaces must be designed for the ear rather than the eye, that silence is confusing, and that users cannot scroll back through a voice response.

## Process

1. Design the voice user interface (VUI) by mapping the interaction model: define the intents (user goals), slots (parameters extracted from utterances), sample utterances for each intent (minimum 20 per intent covering linguistic variation), and the dialog flow with required slot elicitation, confirmation prompts, and disambiguation strategies.
2. Implement the speech-to-text pipeline using the appropriate engine: Whisper for offline or self-hosted transcription with language-specific fine-tuning, or cloud ASR services (Google Cloud Speech, Amazon Transcribe) for real-time streaming recognition with interim results.
3. Build the natural language understanding layer that extracts structured intent and entities from transcribed text, using either the platform's built-in NLU (Alexa Skills Kit, Dialogflow) for standard slot types or custom NER models for domain-specific entities.
4. Design the dialog management system using a state machine or frame-based approach that tracks conversation context, manages multi-turn interactions (slot filling across multiple exchanges), handles context switching when the user changes topics mid-conversation, and maintains session state between invocations.
5. Implement response generation with speech-optimized text: short sentences (under 30 words), no abbreviations or symbols that TTS engines mispronounce, SSML markup for pronunciation control (phonemes, emphasis, breaks, prosody), and earcon sound effects for status feedback.
6. Build the text-to-speech pipeline using neural TTS engines (Amazon Polly Neural, Google Cloud TTS WaveNet, Coqui TTS for self-hosted) with voice selection appropriate to the brand persona, SSML-driven prosody control, and audio format optimization (Opus for streaming, MP3 for cached responses).
7. Implement the Alexa skill backend as a Lambda function or HTTPS endpoint that handles the skill request lifecycle: LaunchRequest, IntentRequest, SessionEndedRequest, with proper session attribute management and progressive response support for long-running operations.
8. Build the Google Assistant Action using the Actions SDK or Dialogflow CX, implementing webhook fulfillment that handles intent matching, parameter extraction, and rich response types (cards, carousels, suggestions) for screen-equipped devices while maintaining voice-only compatibility.
9. Design the error handling and recovery strategy for common voice interaction failures: unrecognized speech (reprompt with examples), ambiguous input (disambiguate with a clarifying question), out-of-scope requests (guide user back to supported capabilities), and service errors (apologize and suggest retry).
10. Implement analytics and conversation logging that tracks intent recognition rates, slot fill success rates, dialog turn counts, task completion rates, and user drop-off points, identifying conversation paths where users abandon the interaction and iterating on the VUI design.

## Technical Standards

- Every voice response must end with an actionable prompt or explicit session closure; leaving the user in silence without indication of whether to speak is a critical UX failure.
- Response latency from user utterance end to audio playback start must be under 2 seconds; longer pauses cause users to assume the system did not hear them and repeat themselves.
- SSML must be used for all responses containing numbers, dates, acronyms, or domain-specific terms that TTS engines are likely to mispronounce.
- Multi-turn dialog state must persist within the session; asking the user to repeat previously provided information breaks conversational trust.
- Voice responses must be under 30 seconds for informational content; longer responses must be chunked with continuation prompts ("Would you like to hear more?").
- Error recovery must never blame the user ("I didn't understand you"); use positive reprompts that provide examples of valid utterances.
- Platform certification requirements (Alexa skill certification, Google Assistant review) must be validated before submission: privacy policy, required intents (help, stop, cancel), and content policy compliance.

## Verification

- Test intent recognition accuracy by submitting the sample utterance set through the NLU pipeline and confirming intent classification accuracy exceeds 95%.
- Validate slot extraction by testing utterances with variations in phrasing, ordering, and partial slot values, confirming correct entity extraction.
- Confirm dialog flow correctness by walking through multi-turn scenarios end-to-end, verifying slot elicitation, confirmation, and context switching behavior.
- Test error recovery by submitting unrecognizable audio, out-of-scope requests, and empty utterances, confirming the system provides helpful reprompts.
- Verify TTS output quality by listening to generated audio for all response templates, checking for mispronunciations, unnatural pauses, and SSML rendering correctness.
- Validate platform compliance by running the Alexa skill through the certification checklist and the Google Action through the Actions Console simulator before submission.

© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit

Похожие субагенты

Все субагенты по теме «Настройка агента: память, контекст, субагенты» →
voice-ai-integration qodex-ai Скилл voice-ai-integration собирает голосовое приложение из трёх шагов: распознавание речи, разбор команды, синтез ответа. Примеры на Python для Whisper, Google Cloud, Azure и ElevenLabs. CX Codex +1 211установок voice-interface-builder daffy0208 Скилл voice-interface-builder для Claude Code помогает добавлять в веб-интерфейс распознавание речи, голосовые команды и озвучивание текста. Включается при работе над голосовым управлением и доступностью. CX Codex +1 187установок voice-agents sickn33 Скилл voice-agents для Claude Code, Codex, Cursor, Copilot, Gemini CLI и OpenCode — учит агента строить голосовых ИИ-ассистентов. Покрывает два подхода: speech-to-speech через OpenAI Realtime API и конвейер STT→LLM→TTS. CX Codex +1 904установок twilio-voice-conversation-relay официальный Twilio Скилл twilio-voice-conversation-relay для построения голосовых AI-агентов на Twilio с обработкой речи в реальном времени. CX Codex GP ChatGPT +1 1установок characteristic-voice NoizAI Скилл characteristic-voice для Claude Code добавляет эмоции, паузы и разговорную интонацию в синтезированную речь. Создаёт голосовые сообщения с заданным настроением или референсом голоса. CX Codex +1 2 800установок voice-audio-engineer curiositech Скилл voice-audio-engineer для Claude Code подключает инструменты ElevenLabs для синтеза и клонирования голоса, транскрибации и обработки подкастов. Создаёт озвучку и голосовые интерфейсы. CX Codex +1 388установок

Из того же набора178

Весь набор →
accessibility-specialist Субагент accessibility-specialist для Claude Code проверяет интерфейсы по WCAG 2.2, клавиатуре, скринридерам и ARIA. Проводит аудит UI перед завершением задачи. CX Codex ★ 2 858звёзд репо robotics-engineer Субагент robotics-engineer для разработки автономных роботов на ROS2: восприятие, планирование маршрутов, оценка состояния и управление в реальном времени. CX Codex ★ 2 858звёзд репо multi-agent-coordinator Субагент multi-agent-coordinator делит сложные задачи на подзадачи, запускает параллельных исполнителей и объединяет их результаты без конфликтов в коде. CX Codex ★ 2 858звёзд репо security-auditor Субагент security-auditor проверяет проект по OWASP Top 10, ищет уязвимости в зависимостях и утечки секретов. Подключайте его для аудита кода и подготовки плана исправлений. CX Codex ★ 2 858звёзд репо mobile-development Скилл mobile-development с шаблонами мобильной разработки для React Native и Flutter: от виртуализации списков до типизированной навигации. CX Codex +1 ★ 2 858звёзд репо education-tech Субагент education-tech проектирует LMS с поддержкой SCORM, xAPI и LTI, адаптивным обучением, оцениванием и аналитикой. Задайте ему задачу по разработке образовательной платформы. CX Codex ★ 2 858звёзд репо growth-engineer Субагент growth-engineer для построения аналитической инфраструктуры: A/B-тесты с детерминированным распределением пользователей, отслеживание воронок, расчёт размера выборки и мониторинг экспериментов в реальном времени. CX Codex ★ 2 858звёзд репо security-hardening Скилл security-hardening для Claude Code помогает укрепить защиту приложения при работе с вводом, авторизацией, секретами и зависимостями. Он подключается к задачам по проверке или настройке безопасности кода. CX Codex +1 ★ 2 858звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой