Voice Setup 标志

Voice Setup

组织热门
vellum-ai
voice-setup

Complete voice configuration in chat - desktop Talk and PTT shortcuts, microphone permissions, ElevenLabs/Deepgram TTS, and troubleshooting

概览

发布者vellum-ai
代码仓库vellum-assistant
技能名称voice-setup
星标数
1.4K
复刻数
208
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 vellum-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Voice Setup AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/vellum-ai/vellum-assistant/tree/main/skills/voice-setup
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/skills/voice-setup .claude/skills/voice-setup
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Voice Setup,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Voice Setup。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Voice Setup 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

You are helping the user set up and troubleshoot voice features entirely within this conversation. Use the client_os: line in <turn_context> to choose the macOS or Windows instructions below. Do not give macOS commands or key names to a Windows user, or Windows guidance to a macOS user.

Before using a desktop tool, check client_os:

  • If it is macos or windows, follow that platform's branch.
  • If it is web, ios, android, or absent, do not call open_system_settings or give desktop shortcut instructions. Explain that permissions and the Talk shortcut must be configured from the Mac or Windows desktop app. You can still complete provider, voice, language, and timeout configuration in the current conversation.

Available Tools

  • voice_config_update changes shared voice settings such as the legacy macOS PTT activation key, conversation timeout, speech providers, and TTS voice ID.
  • open_system_settings opens the correct macOS System Settings or Windows Settings privacy page. Call it only when client_os is macos or windows, and pass that value as platform.
  • navigate_settings_tab opens Vellum settings. Use it for review, or when the desktop-owned Talk shortcut must be recorded in the app.
  • assistant credentials prompt collects API keys securely for ElevenLabs or Deepgram.

The desktop Talk shortcut is client-owned. On current desktop clients, configure it in the Voice settings shortcut control instead of treating voice_config_update setting="activation_key" as a global shortcut editor. Use voice_config_update for the shared settings it owns. Use activation_key only for the legacy macOS PTT activation setting.

Setup Flow

Walk through each relevant section in order. Skip sections the user does not need, and ask before moving to the next section.

1. Microphone Permission

Microphone permission is not reported in <channel_capabilities>. Ask whether Vellum shows a microphone permission warning or whether the user already granted access.

If access is denied or the user is unsure:

  1. Explain that the desktop app needs microphone permission for dictation and voice conversations.
  2. Call open_system_settings with pane: "microphone" and the current platform.
  3. Give the matching instruction:
    • macOS: In System Settings > Privacy & Security > Microphone, turn on Vellum or Vellum Assistant.
    • Windows: In Settings > Privacy & security > Microphone, turn on Microphone access and Let desktop apps access your microphone. Windows groups non-packaged desktop apps under the desktop-app toggle rather than always showing an individual Vellum switch.
  4. Ask the user to return after changing it, then verify with the short recording test in section 4.

If the user confirms access is granted, continue without opening system settings.

2. Talk and Push-to-Talk Shortcut

On macOS, first determine whether the user means the current desktop Talk shortcut or the legacy PTT activation setting. Windows supports the desktop Talk shortcut only.

Desktop Talk shortcut

The Talk shortcut starts or ends a voice conversation.

  • macOS: Offer Fn or a custom global chord. Fn is the Mac-specific helper path and can require Input Monitoring. If macOS refuses Fn registration, direct the user to System Settings > Privacy & Security > Input Monitoring, then have them reopen Vellum. A custom chord should be one the user can spare system-wide.
  • Windows: Fn is unavailable because Windows does not receive the hardware Fn key. Recommend a custom chord for system-wide Talk. The app also offers Ctrl+Shift and Alt taps, but those bare-modifier choices work only while a Vellum window is focused. Warn that another global shortcut can prevent a custom chord from registering.

Ask which behavior they want, then use navigate_settings_tab with tab: "Voice" so they can record the desktop-owned shortcut. Do not claim that voice_config_update changed this shortcut.

Legacy PTT activation setting

This setting is macOS-only. If a Mac user explicitly wants the legacy hold-to-talk setting, offer only values accepted by voice_config_update:

  • fn
  • fn_shift
  • ctrl
  • none

After the user chooses, call voice_config_update with setting: "activation_key" and the matching canonical value.

On Windows, do not offer or call the legacy activation setting. It has no Windows client consumer. Use the desktop Talk shortcut flow instead.

3. Text-to-Speech Voice (Optional)

Ask whether the user wants high-quality text-to-speech voices through ElevenLabs or Deepgram. Standard TTS works without this optional setup.

The included ElevenLabs Voice and Deepgram Voice skills provide the provider-specific setup flow, including API key collection, voice selection, and tuning.

Check the active provider first with assistant config get services.tts.provider. voice_config_update writes the voice to the active provider, and each bring-your-own provider accepts its own voice IDs. If the preferred provider does not match the active provider, collect any required API key before switching:

text
voice_config_update setting="tts_provider" value="deepgram"

The managed vellum provider accepts both supported ElevenLabs and Deepgram voice IDs, so it does not require a provider switch. Then follow the matching included voice skill.

The active provider's voice setting controls both in-app TTS and phone calls.

4. Verification

After setup:

  1. Summarize the configured permissions, shortcut, and provider settings.
  2. Ask the user to test the selected shortcut and speak a short sentence.
  3. Offer to open the Voice settings tab for review with navigate_settings_tab and tab: "Voice".

Desktop Talk starts a live voice session. Its audio is transcribed through the assistant's configured speech-to-text provider over the live voice connection. The Windows native helper provides partials only for one-shot dictation from the microphone button. Ask which surface the user tested before troubleshooting missing text.

Troubleshooting Decision Trees

"PTT isn't working" or "Can't record"

  1. Ask whether Vellum shows a microphone permission warning and whether the recording indicator appears. If access is denied or capture does not start, follow the microphone permission flow.
  2. Confirm which shortcut the user configured. Legacy PTT applies only on macOS. Verify desktop Talk in the Voice tab.
  3. Apply the platform-specific checks:
    • macOS: Fn requires the native helper and may require Input Monitoring. The Globe key can also be assigned to macOS Dictation or the emoji picker, so suggest a custom chord if both actions fire.
    • Windows: Fn cannot work. A Ctrl+Shift or Alt tap requires Vellum to be focused. For use from another app, record a custom global chord and make sure no other app owns it.
  4. If the user reports Speech Recognition permission as denied or not determined, call open_system_settings with pane: "speech_recognition" and the current platform.
  5. If the Windows shortcut fires but capture does not start, choose Restart from the Vellum tray menu and retry.

"Talk starts but no transcript"

  1. Confirm that the user started Desktop Talk and that its listening or recording indicator appears. If it does not, return to shortcut and microphone capture troubleshooting.
  2. Check the active provider with assistant config get services.stt.provider.
  3. If no usable provider is configured, help the user choose one with voice_config_update setting="stt_provider" and collect any required credential securely before retrying.
  4. If a provider is configured, check for an invalid credential, provider outage, or a live voice connection error. A session that never connects or disconnects before transcript events is a connection path problem, not a Windows recognizer problem.
  5. Confirm the configured speech-to-text language matches the speaker when the selected provider uses that setting. Do not send a Desktop Talk failure to Windows installed-language or native-helper troubleshooting.

"One-shot dictation records but produces no text"

This path applies to the microphone button's one-shot dictation, not Desktop Talk.

  1. If the user reports Speech Recognition permission as denied or unknown, open the platform's privacy page with open_system_settings.
  2. Ask whether dictation partials appear. If capture starts without partials, troubleshoot the native helper and local recognizer.
  3. On Windows, the helper uses an installed Windows speech recognizer and prefers the current Windows display language. If no matching recognizer is installed, add that language's speech feature or select an installed language.
  4. Reduce background noise or move closer to the microphone.
  5. On Windows, choose Restart from the Vellum tray menu and retry. This relaunches Vellum and its one-shot dictation helper.

"Changed a setting but it didn't work"

  1. Shared voice_config_update changes should apply immediately. Verify the persisted value with the relevant config command.
  2. Desktop shortcut changes are stored by the desktop client. Reopen the Voice tab and confirm the Talk shortcut shown there.
  3. If the displayed value is correct but behavior is stale, restart Vellum and retry.

Deep Debugging

For persistent issues, use the matching log path.

macOS:

bash
log stream --predicate 'subsystem == "com.vellum.assistant"' --level debug

Look for voice and speech categories.

Windows PowerShell:

powershell
$log = Get-ChildItem "$env:APPDATA\Vellum*\logs\vellum.log" |
  Sort-Object LastWriteTime -Descending |
  Select-Object -First 1
Get-Content $log.FullName -Wait

For Desktop Talk, look for live voice, WebSocket, and speech-to-text provider errors. For one-shot dictation, look for [win-helper], dictation, permission, and recognizer messages. Do not ask the user to share transcript contents from logs.

Rules

  • Handle every tool-backed setting conversationally in chat.
  • Use navigate_settings_tab for review and for the desktop-owned Talk shortcut, which must be recorded in the client.
  • Use platform-specific Settings names and shortcuts.
  • Be concise. Present the common choices and let the user ask for more.
  • If permission is denied, acknowledge it and explain which voice features will remain unavailable.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Voice Setup AI 技能有什么作用?

Complete voice configuration in chat - desktop Talk and PTT shortcuts, microphone permissions, ElevenLabs/Deepgram TTS, and troubleshooting

为什么在 TypingMind 中使用 Voice Setup?

因为您只需安装一次,就能搭配任何模型使用。Voice Setup 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Voice Setup?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/vellum-ai/vellum-assistant/tree/main/skills/voice-setup。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Voice Setup?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Voice Setup 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Voice Setup 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Voice Setup AI 技能免费吗?

是的。vellum-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇