voice-transcription
Skill này làm gì
Skill này giải thích cách đọc chính tả bằng giọng nói hoạt động trong ô nhập tin nhắn ở thanh bên agent, với micro để đọc chính tả và một tùy chọn trò chuyện bằng giọng nói thời gian thực riêng. Dành cho lập trình viên đang đổi cách micro hoạt động hoặc cài đặt giọng nói.
Khi nào nên dùng
- ✓Khi bạn đổi cách micro hoạt động trong ô tin nhắn ở thanh bên.
- ✓Khi bạn đổi cài đặt chuyển giọng nói thành văn bản hoặc đường chuyển giọng nói.
- ✓Khi bạn cần biết nguồn chuyển giọng nói nào được dùng cho tính năng đọc chính tả.
Liên kết skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/voice-transcription/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Đổi micro trong ô chat để nó bắt đầu đọc chính tả ngay khi tôi bấm vào.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Micro bắt đầu đọc chính tả có thể chỉnh sửa ngay, dùng nguồn chuyển giọng nói đã chọn như Mac Native, Google Realtime hoặc Batch. Phần làm sạch và khóa của nhà cung cấp được cài đặt riêng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Đọc chính tả và trò chuyện bằng giọng nói có giống nhau không?
Không. Micro dùng để đọc chính tả, còn nút gửi trên một bản nháp trống sẽ bắt đầu một phiên trò chuyện bằng giọng nói thời gian thực tùy chọn.
Cài đặt giọng nói được lưu ở đâu?
Tùy chọn của từng người dùng được lưu như trạng thái ứng dụng, còn bộ chọn nguồn nằm trong phần tùy chọn tài khoản.
Micro nên làm gì khi bị chặn?
Nó hiển thị một thông báo màu hổ phách kèm nút Thử lại và vẫn cho phép bấm.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13190
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
design-exploration
7.6kGiúp agent của bạn khám phá nhiều hướng thiết kế giao diện song song, để bạn chọn một hướng rồi tinh chỉnh thiết kế đã chọn.
visual-edit
7.6kGiúp agent của bạn mở một ứng dụng cục bộ đang chạy trong trình chỉnh sửa trực quan, để bạn xem và sửa các màn hình thật cùng nhau.
turn-into-app
7.6kBiến quy trình, bảng tính hoặc dự án thành ứng dụng trực quan có màn hình đầy đủ dữ liệu, với agent làm việc phía sau các điều khiển.
visual-plan
7.6kBiến một kế hoạch viết bằng văn bản thuần thành kế hoạch trực quan tương tác, có sơ đồ, bản đồ file, đoạn code và các câu hỏi còn mở.
Skill tương tự
angular-developer
280kGiúp agent của bạn viết code Angular và tư vấn cấu trúc dự án, hữu ích khi bắt đầu dự án mới hoặc cải thiện hiệu suất.
frontend-a11y
280kGiúp agent của bạn làm cho giao diện web dễ tiếp cận với mọi người. Đảm bảo website và ứng dụng hoạt động tốt với trình đọc màn hình và điều hướng bằng bàn phím.
frontend-patterns
280kGiúp agent của bạn áp dụng các mẫu hiện đại trong phát triển frontend. Tối ưu hiệu năng, quản lý trạng thái và tuân theo thực hành tốt nhất với React và Next.js.