Provides a patch for Clawdbot fixing TTS auto-replies on inbound voice memos by disabling block streaming to ensure final payload reaches TTS pipeline.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install discord-voice-memo-upgrade或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install discord-voice-memo-upgrade⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/discord-voice-memo-upgrade/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
This skill provides a core patch for Moltbot that fixes voice memo TTS auto-replies. The issue occurs when block streaming prevents the final payload from reaching the TTS synthesis pipeline.
Core Patch / Documentation
This is not a traditional plugin that extends functionality - it's a documentation package with patch files for core Clawdbot modifications.
Use this if you're experiencing:
# 1. Locate your clawdbot installation
CLAWDBOT_PATH=$(which clawdbot)
CLAWDBOT_DIR=$(dirname $(dirname $CLAWDBOT_PATH))
# 2. Backup original files
cp $CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/auto-reply/reply/dispatch-from-config.js \
$CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/auto-reply/reply/dispatch-from-config.js.backup
cp $CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/tts/tts.js \
$CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/tts/tts.js.backup
# 3. Apply patch
cp patch/dispatch-from-config.js $CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/auto-reply/reply/
cp patch/tts.js $CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/tts/
# 4. Restart clawdbot
clawdbot restart
If this patch gets accepted into core Clawdbot, you can simply update:
npm install -g clawdbot@latest
No additional configuration needed beyond existing TTS settings. Ensure you have:
{
"messages": {
"tts": {
"auto": "inbound", // or "always"
"provider": "openai", // or "elevenlabs" or "edge"
"elevenlabs": {
"apiKey": "your-key-here"
}
}
}
}
auto: "inbound"``` [TTS-DEBUG] inboundAudio=true ttsAutoResolved=inbound ttsWillFire=true [TTS-APPLY] PASSED all checks, proceeding to textToSpeech [TTS-SPEECH] ... ```
The patch includes extensive debug logging. To view:
# Logs will show in your clawdbot console
clawdbot gateway start
Look for:
[TTS-DEBUG] - Shows TTS detection logic[TTS-APPLY] - Shows TTS payload processing decisions[TTS-SPEECH] - Shows TTS synthesis attemptImportant: Before deploying to production, consider:
console.log statements should be removed or made configurableTo remove debug logging, edit the patched files and remove lines containing:
console.log('[TTS-DEBUG]'console.log('[TTS-APPLY]'console.log('[TTS-SPEECH]'If you need to revert the patch:
# Restore backups
CLAWDBOT_PATH=$(which clawdbot)
CLAWDBOT_DIR=$(dirname $(dirname $CLAWDBOT_PATH))
cp $CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/auto-reply/reply/dispatch-from-config.js.backup \
$CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/auto-reply/reply/dispatch-from-config.js
cp $CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/tts/tts.js.backup \
$CLAWDBOT_DIR/lib/node_modules/clawdbot/dist/tts/tts.js
clawdbot restart
Block streaming is used to send incremental text chunks to the user as they're generated. However, TTS synthesis hooks into the "final" payload type by default. When block streaming is enabled:
The patch adds detection logic to identify when TTS should fire:
isInboundAudioContext())When these conditions are met, block streaming is temporarily disabled for that specific reply, ensuring the final payload reaches the TTS pipeline.
dispatchReplyFromConfig()
├─ isInboundAudioContext(ctx) → detects audio
├─ resolveSessionTtsAuto(ctx, cfg) → gets TTS settings
├─ ttsWillFire = conditions met?
└─ getReplyFromConfig({ disableBlockStreaming: ttsWillFire })
└─ maybeApplyTtsToPayload() receives final payload
└─ textToSpeech() synthesizes audio
To improve this patch:
If you encounter issues:
[TTS-DEBUG] outputdisableBlockStreaming: true in logs)Same as Moltbot.
安装 discord voice memo upgrade 后,可以对 AI 说这些话来触发它
Help me get started with discord voice memo upgrade
Explains what discord voice memo upgrade does, walks through the setup, and runs a quick demo based on your current project
Use discord voice memo upgrade to a patch for Clawdbot fixing TTS auto-replies on inbound voice memos...
Invokes discord voice memo upgrade with the right parameters and returns the result directly in the conversation
What can I do with discord voice memo upgrade in my marketing & growth workflow?
Lists the top use cases for discord voice memo upgrade, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/discord-voice-memo-upgrade/ 目录(个人级,所有项目可用),或 .claude/skills/discord-voice-memo-upgrade/(项目级)。重启 AI 客户端后,用 /discord-voice-memo-upgrade 主动调用,或让 AI 根据上下文自动发现并使用。
discord voice memo upgrade 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
discord voice memo upgrade 可免费安装使用。请查阅仓库了解许可证信息。
Provides a patch for Clawdbot fixing TTS auto-replies on inbound voice memos by disabling block streaming to ensure final payload reaches TTS pipeline.
discord voice memo upgrade 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using discord voice memo upgrade
Identifies repetitive steps in your workflow and sets up discord voice memo upgrade to handle them automatically