voice-ai-development 是什么?
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps. Covers OpenAI Realtime API, Vapi for voice agents, Deepgram for transcription, ElevenLabs for synthesis, LiveKit for real-time infrastructure, and WebRTC fundamentals. Knows how to build low-latency, production-ready voice experiences. Use when: voice ai, voice agent, speech to text, text to speech, realtime voice.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
voice-ai-development,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 voice-ai-development
请在 Codex 的当前工作环境中安装并检查 voice-ai-development 这个 Skill。
项目身份:davila7/claude-code-templates / voice-ai-development
来源:https://github.com/davila7/claude-code-templates/blob/c1bc5c1df4ff0bffb9a04d8f7790543681232423/cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
已定位的源文件:cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 voice-ai-development
请在 Claude Code 的当前工作环境中安装并检查 voice-ai-development 这个 Skill。
项目身份:davila7/claude-code-templates / voice-ai-development
来源:https://github.com/davila7/claude-code-templates/blob/c1bc5c1df4ff0bffb9a04d8f7790543681232423/cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
已定位的源文件:cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 voice-ai-development
请在 Cursor Agent 的当前工作环境中安装并检查 voice-ai-development 这个 Skill。
项目身份:davila7/claude-code-templates / voice-ai-development
来源:https://github.com/davila7/claude-code-templates/blob/c1bc5c1df4ff0bffb9a04d8f7790543681232423/cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
已定位的源文件:cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 voice-ai-development
请在 当前 Agent 的当前工作环境中安装并检查 voice-ai-development 这个 Skill。
项目身份:davila7/claude-code-templates / voice-ai-development
来源:https://github.com/davila7/claude-code-templates/blob/c1bc5c1df4ff0bffb9a04d8f7790543681232423/cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
已定位的源文件:cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-23T04:29:48.865Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md · 抓取时间 2026-11-23T04:29:48.865Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps. Covers OpenAI Realtime API, Vapi for voice agents, Deepgram for transcription, ElevenLabs for synthesis, LiveKit for real-time infrastructure, and WebRTC fundamentals. Knows how to build low-latency, production-ready voice experiences. Use when: voice ai, voice agent, speech to text, text to speech, realtime voice.
查看源文件章节 / Source sections
- 原文:Voice AI Development
- 原文:Capabilities
- 原文:Requirements
- 原文:Patterns
- 原文:OpenAI Realtime API
- 原文:Vapi Voice Agent
- 原文:Deepgram STT + ElevenLabs TTS
- 原文:Anti-Patterns
- 原文:❌ Non-streaming Pipeline
- 原文:❌ Ignoring Interruptions
- 原文:❌ Single Provider Lock-in
- 原文:Limitations
- 原文:Related Skills
原文:Voice AI Development
**Role**: Voice AI Architect You are an expert in building real-time voice applications. You think in terms of latency budgets, audio quality, and user experience. You know that voice apps feel magical when fast and broken when slow. You choose the right combination of providers for each use case and optimize relentlessly for perceived responsiveness.
原文:Capabilities
- OpenAI Realtime API - Vapi voice agents - Deepgram STT/TTS - ElevenLabs voice synthesis - LiveKit real-time infrastructure - WebRTC audio handling - Voice agent design - Latency optimization
原文:Requirements
- Python or Node.js - API keys for providers - Audio handling knowledge
原文:OpenAI Realtime API
Native voice-to-voice with GPT-4o **When to use**: When you want integrated voice AI without separate STT/TTS ```python import asyncio import websockets import json import base64 OPENAI_API_KEY = "sk-..." async def voice_session(): url = "wss://api.openai.com/v1/realtime?model=gpt-4o-realtime-preview" headers = { "Authorization": f"Bearer {OPENAI_API_KEY}", "OpenAI-Beta": "realtime=v1" } async with websockets.connect(url, extra_headers=headers) as ws: # Configure session await ws.send(json.dumps({ "type": "session.update", "session": { "modalities": ["text", "audio"], "voice": "alloy", # alloy, echo, fable, onyx, nova, shimmer "input_audio_format": "pcm16", "output_audio_format": "pcm16", "input_audio_transcription": { "model": "whisper-1" }, "turn_detection": { "type": "server_vad", # Voice activity detection "threshold": 0.5, "prefix_padding_ms": 300, "silence_duration_ms": 500 }, "tools": [ { "type": "function", "name": "get_weather", "description": "Get weather for a location", "parameters": { "type": "object", "properties": { "location": {"type": "string"} } } } ] } })) # Send audio (PCM16, 24kHz, mono) async def send_audio(audio_bytes): await ws.send(json.dumps({ "type": "input_audio_buffer.append", "audio": base64.b64encode(audio_bytes).decode() })) # Receive events async for message in ws: event = json.loads(message) if event["type"] == "resp ```
原文:Vapi Voice Agent
Build voice agents with Vapi platform **When to use**: Phone-based agents, quick deployment ```python # Vapi provides hosted voice agents with webhooks from flask import Flask, request, jsonify import vapi app = Flask(__name__) client = vapi.Vapi(api_key="...") # Create an assistant assistant = client.assistants.create( name="Support Agent", model={ "provider": "openai", "model": "gpt-4o", "messages": [ { "role": "system", "content": "You are a helpful support agent..." } ] }, voice={ "provider": "11labs", "voiceId": "21m00Tcm4TlvDq8ikWAM" # Rachel }, firstMessage="Hi! How can I help you today?", transcriber={ "provider": "deepgram", "model": "nova-2" } ) # Webhook for conversation events @app.route("/vapi/webhook", methods=["POST"]) def vapi_webhook(): event = request.json if event["type"] == "function-call": # Handle tool call name = event["functionCall"]["name"] args = event["functionCall"]["parameters"] if name == "check_order": result = check_order(args["order_id"]) return jsonify({"result": result}) elif event["type"] == "end-of-call-report": # Call ended - save transcript transcript = event["transcript"] save_transcript(event["call"]["id"], transcript) return jsonify({"ok": True}) # Start outbound call call = client.calls.create( assistant_id=assistant.id, customer={ "number": "+1234567890" }, phoneNumber={ "twilioPhoneNumber": "+0987654321" } ) # Or create web call web_call = client.calls.create( assistant_id=assistant.id, type="web" ) # Returns URL for WebRTC connection ```
原文:Deepgram STT + ElevenLabs TTS
Best-in-class transcription and synthesis **When to use**: High quality voice, custom pipeline ```python import asyncio from deepgram import DeepgramClient, LiveTranscriptionEvents from elevenlabs import ElevenLabs # Deepgram real-time transcription deepgram = DeepgramClient(api_key="...") async def transcribe_stream(audio_stream): connection = deepgram.listen.live.v("1") async def on_transcript(result): transcript = result.channel.alternatives[0].transcript if transcript: print(f"Heard: {transcript}") if result.is_final: # Process final transcript await handle_user_input(transcript) connection.on(LiveTranscriptionEvents.Transcript, on_transcript) await connection.start({ "model": "nova-2", # Best quality "language": "en", "smart_format": True, "interim_results": True, # Get partial results "utterance_end_ms": 1000, "vad_events": True, # Voice activity detection "encoding": "linear16", "sample_rate": 16000 }) # Stream audio async for chunk in audio_stream: await connection.send(chunk) await connection.finish() # ElevenLabs streaming synthesis eleven = ElevenLabs(api_key="...") def text_to_speech_stream(text: str): """Stream TTS audio chunks.""" audio_stream = eleven.text_to_speech.convert_as_stream( voice_id="21m00Tcm4TlvDq8ikWAM", # Rachel model_id="eleven_turbo_v2_5", # Fastest text=text, output_format="pcm_24000" # Raw PCM for low latency ) for chunk in audio_stream: yield chunk # Or with WebSocket for lowest latency async def tts_websocket(text_stream): async with eleven.text_to_speech.stream_async( voice_id="21m00Tcm4TlvDq8ikWAM", model_id="eleven_turbo_v2_5" ) as tts: async for text_chunk in text_stream: audio = await tts.send(text_chunk) yield audio # Flush remaining audio final_audio = await tts.flush() yield final_audio ```
文件 SHA256:c9750ae01eff7e6adf2f6a5464a42b04f91b2d8f1b50a16d2d66f226e40273eb
仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。
Expert in building voice AI applications - from real-time voice agents to voice-enabled apps. Covers OpenAI Realtime API, Vapi for voice agents, Deepgram for transcription, ElevenLabs for synthesis, LiveKit for real-time infrastructure, and WebRTC fundamentals. Knows how to build low-latency, production-ready voice experiences. Use when: voice ai, voice agent, speech to text, text to speech, realtime voice.
历史收录数据
| 来源仓库 | davila7/claude-code-templates |
|---|---|
| Skill源路径 | cli-tool/components/skills/ai-research/voice-ai-development/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
