voice-transcription
Что он делает
Этот скилл объясняет, как работает голосовая диктовка в поле сообщения боковой панели агента: есть микрофон для диктовки и отдельный режим голосового чата в реальном времени. Он нужен разработчикам, которые меняют поведение микрофона или голосовые настройки.
Когда использовать
- ✓Когда вы меняете работу микрофона в поле сообщения боковой панели.
- ✓Когда вы меняете настройки транскрибации голоса или маршрут транскрибации.
- ✓Когда нужно знать, какой источник транскрибации используется для диктовки.
Ссылка на скилл
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/voice-transcription/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Измени микрофон в поле чата так, чтобы он начинал диктовку сразу после нажатия.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Микрофон сразу начинает диктовку, которую можно редактировать, используя выбранный источник транскрибации, например Mac Native, Google Realtime или Batch. Очистка текста и ключи провайдеров настраиваются отдельно.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Voice Transcription
The sidebar composer offers two distinct paths: the mic always starts editable
dictation, and the empty-draft primary button starts an opt-in realtime
speech-to-speech agent session.
Users configure dictation separately from AI cleanup. The source picker (Mac
Native, Google Realtime, Batch) is the Voice transcription row on Settings ›
Account › Preferences (VoiceTranscriptionSection compact, anchor voice);
cleanup and batch provider keys stay in the agent sidebar's Voice
Transcription section. Both write the per-user voice-transcription-prefs
application state. Both paths are available in every template that renders
the shared agent sidebar.
UX rules
- Always show the mic alongside the send button. Replacing send with the mic when the composer is empty confuses users, so keep both visible.
- The mic is dictation, with no chooser. A click starts dictation at once;
the browser's permission prompt is the only step in between. A blocked,
missing, or busy microphone shows the amber composer notice with Try again,
and the mic stays clickable. Do not read
voice-input-preferenceapp state. - Voice chat lives in the primary slot. With an empty draft, no run, no dictation, and a ready realtime provider (Builder or OpenAI), Send shows a voice-chat glyph and starts realtime voice. Any draft (text, attachment, Plan chip) turns it back into Send; without a provider it is a dimmed Send.
- Dictation is click-to-toggle, not push-to-talk. More forgiving in a sidebar, avoids
host-app hotkey clashes. Keyboard shortcut is
Cmd/Ctrl+Shift+MandEscapecancels mid-recording. - Transcript lands in the composer, editable, never auto-sent. Insert at
the caret via
editor.chain().focus().insertContent(text).run(). - Recording grows from the mic. While dictating, the mic's slot becomes a pill with a waveform driven by the analyser level (written from an animation frame, never through React state) and a stop button. Stop inserts the transcript; Escape cancels. Under reduced motion the bars stay still.
- Icons: Tabler
IconMicrophone(idle),IconPlayerStopFilled(stop), and the toolkit's five-barIconVoiceChat(voice chat, fromcomposer/voice-chat-icon).IconWaveSinereads as a heartbeat; never use it, a sparkle, or a robot icon for voice. - Errors via inline alert or toast, never
window.alert.
Realtime speech mode
Realtime speech mode is a full-duplex OpenAI Realtime WebRTC session, separate
from the dictation providers below. It prefers the authenticated user's
complete Builder connection and the Builder-managed metered gateway. A scoped
OPENAI_API_KEY is the fallback when Builder is not connected. The server owns
the gpt-realtime-2.1 session configuration and keeps credentials out of
browser code. Voice chat is offered only once one of them is configured.
- Voice chat lives in the composer. While a session is on, the mic's slot holds a status pill (live bars from the microphone while you speak, muted bars from the assistant's audio while it speaks, and the session status) and speaker and microphone mute toggles, nothing else; the primary slot is an End voice chat X, never red, that spins while connecting or ending. Muting the microphone disables the WebRTC input track; muting the speaker mutes playback only. The editor locks behind a "Listening…" placeholder: the realtime session takes no typed input, so a typed draft would start a separate run the voice agent never hears. Errors use the composer's amber notice with Try again.
- At silence the bars rest at their baseline; under reduced motion they stay
still and fade with the level. When the session becomes live, the assistant
gives one brief spoken greeting so readiness is unambiguous. Do not apply a
text-sized
max_output_tokenscap to that audio greeting because audio tokens can truncate it mid-sentence. - Voice device, language, intelligence and voice style live only in Settings
› Account › Preferences › Voice chat (
VoiceChatSettings), never in the composer. Those rows write the same preferences a session reads:application_state["realtime-voice-prefs"]and the browser-local microphone choice. A session re-reads them every time it starts, so a change applies to the next voice chat. - Semantic VAD keeps listening, starts responses automatically, and supports barge-in while the agent is speaking.
- Function calls must cross
Частые вопросы
Это одно и то же: диктовка и голосовой чат?
Нет. Микрофон запускает диктовку, а кнопка отправки у пустого черновика запускает необязательную голосовую сессию в реальном времени.
Где хранятся голосовые настройки?
Персональные настройки сохраняются как состояние приложения, а выбор источника находится в настройках аккаунта.
Что должен делать микрофон, если доступ заблокирован?
Он показывает жёлтое уведомление с кнопкой «Попробовать снова» и остаётся доступным для нажатия.
Подробности
Оригинальное описание автора
Framework-wide voice dictation in the agent sidebar composer. Use when changing composer microphone UX, the transcribe-voice route, or the Voice Transcription settings section. Covers transcription-source routing, cleanup routing, Google realtime gating, and the voice transcription application-state keys.
repo: BuilderIO/agent-native
Популярность
- Звёзды на GitHub
- 7.6k
- Место в рейтинге
- #13190
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
design-exploration
7.6kПомогает агенту рассмотреть несколько направлений дизайна интерфейса рядом, дать вам выбрать одно, а затем доработать выбранное.
visual-edit
7.6kПомогает агенту открыть запущенное локальное приложение в визуальном редакторе, чтобы вы вместе просмотрели и правили его настоящие экраны.
turn-into-app
7.6kПревращает процесс, таблицу или проект в аккуратное визуальное приложение с заполненными экранами и агентом, работающим за элементами управления.
visual-plan
7.6kПревращает обычный текстовый план в интерактивный визуальный план с диаграммами, картами файлов, фрагментами кода и открытыми вопросами.
Похожие скиллы
angular-developer
280kПомогает агенту писать код на Angular и советовать по структуре проекта. Полезен для новых проектов, создания частей кода и улучшения производительности.
frontend-a11y
280kПомогает агенту делать веб-интерфейсы доступными для всех, чтобы сайты и приложения работали с программами чтения с экрана и клавиатурой.
frontend-patterns
280kАгент применяет современные паттерны фронтенд-разработки: оптимизирует производительность, управляет состоянием и следует практикам React и Next.js.