본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)7.6k · #13190

voice-transcription

하는 일

이 스킬은 사이드바 메시지 입력창의 음성 받아쓰기 작동 방식을 설명합니다. 받아쓰기용 마이크와 별도의 실시간 음성 채팅 옵션이 있습니다. 마이크 동작이나 음성 설정을 바꾸는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓사이드바 메시지 입력창에서 마이크가 작동하는 방식을 바꿀 때.
  • ✓음성 받아쓰기 설정이나 받아쓰기 경로를 바꿀 때.
  • ✓받아쓰기에 어떤 음성 인식 소스가 쓰이는지 알아야 할 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/voice-transcription/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/voice-transcription/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“채팅 입력창의 마이크를 클릭하면 바로 받아쓰기가 시작되도록 바꿔 주실 수 있나요?”

매주 새 스킬 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-preference app 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+M and Escape cancels 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-bar IconVoiceChat (voice chat, from composer/voice-chat-icon). IconWaveSine reads 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_tokens cap 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬