Voice Reply Mode
Use this skill when a user wants an agent to behave like this:
- - 用户发语音 → agent 回语音
- 用户发文字 → agent 回文字
What this skill includes
- - Workspace-level behavior rules for
SOUL.md / IDENTITY.md / INLINECODE2 - A reusable Edge TTS helper script
- Gateway config snippets for INLINECODE3
- Channel notes for Telegram / Feishu style deployments
Important boundary
This skill can package rules, scripts, and config snippets.
It does not automatically change a user's global gateway config unless the user explicitly asks and authorizes it.
Recommended workflow
- 1. Read INLINECODE4
- Read INLINECODE5
- Copy the relevant snippets into the target agent workspace
- If the user explicitly asks, patch gateway config with the snippet from INLINECODE6
- Validate with one text message and one voice message
Minimal success criteria
- - Text message receives text reply
- Voice message receives voice reply
- Agent workspace documents the preferred voice
Files in this skill
- -
references/workspace-snippets.md — snippets for IDENTITY.md, SOUL.md, INLINECODE10 - INLINECODE11 —
messages.tts examples and caveats - INLINECODE13 — Telegram / Feishu notes
- INLINECODE14 — helper script for local TTS generation
Notes
- - In many deployments, the decisive switch is gateway-level
messages.tts.auto = "inbound". - Workspace files define behavior expectations, but gateway config determines whether automatic voice replies actually happen.
- If schema rejects
identity.voice, keep voice preference in workspace docs instead.
语音回复模式
当用户希望智能体按以下方式运行时使用此技能:
- - 用户发送语音 → 智能体回复语音
- 用户发送文字 → 智能体回复文字
此技能包含的内容
- - 针对 SOUL.md / IDENTITY.md / TOOLS.md 的工作空间级行为规则
- 可复用的 Edge TTS 辅助脚本
- 针对 messages.tts 的网关配置片段
- 适用于 Telegram / 飞书部署模式的频道说明
重要边界
此技能可以打包 规则、脚本和配置片段。
除非用户明确要求并授权,否则它不会自动更改用户的全局网关配置。
推荐工作流程
- 1. 阅读 references/workspace-snippets.md
- 阅读 references/gateway-config.md
- 将相关片段复制到目标智能体工作空间
- 如果用户明确要求,使用 references/gateway-config.md 中的片段修补网关配置
- 通过一条文字消息和一条语音消息进行验证
最低成功标准
- - 文字消息收到文字回复
- 语音消息收到语音回复
- 智能体工作空间记录首选语音
此技能中的文件
- - references/workspace-snippets.md — 适用于 IDENTITY.md、SOUL.md、TOOLS.md 的片段
- references/gateway-config.md — messages.tts 示例和注意事项
- references/channel-notes.md — Telegram / 飞书说明
- scripts/edge-tts.sh — 用于本地 TTS 生成的辅助脚本
备注
- - 在许多部署中,决定性开关是网关级别的 messages.tts.auto = inbound。
- 工作空间文件定义行为预期,但网关配置决定是否实际执行自动语音回复。
- 如果模式拒绝 identity.voice,请将语音偏好保留在工作空间文档中。