{
  "schemaVersion": "1.0",
  "item": {
    "slug": "voice-message",
    "name": "Voice Message",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/xmanrui/voice-message",
    "canonicalUrl": "https://clawhub.ai/xmanrui/voice-message",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/voice-message",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=voice-message",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/voices.md",
      "scripts/gen_voice.sh",
      "scripts/gen_waveform.py",
      "scripts/send_feishu_voice.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/voice-message"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/voice-message",
    "agentPageUrl": "https://openagent3.xyz/skills/voice-message/agent",
    "manifestUrl": "https://openagent3.xyz/skills/voice-message/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/voice-message/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Voice Message",
        "body": "Send text as voice messages to any chat channel."
      },
      {
        "title": "Prerequisites",
        "body": "edge-tts — Microsoft Edge TTS (pip install edge-tts)\nffmpeg / ffprobe — audio conversion and duration detection"
      },
      {
        "title": "Default Voices",
        "body": "Chinese: zh-CN-XiaoxiaoNeural\nEnglish: en-US-JennyNeural\nOther languages: see references/voices.md"
      },
      {
        "title": "Step 1: Generate Voice File",
        "body": "Use scripts/gen_voice.sh to convert text to an ogg/opus file:\n\nscripts/gen_voice.sh \"你好\" /tmp/voice.ogg\nscripts/gen_voice.sh \"Hello\" /tmp/voice.ogg en-US-JennyNeural\n\nArguments: <text> <output.ogg> [voice]\n\nIf voice is omitted, defaults to zh-CN-XiaoxiaoNeural."
      },
      {
        "title": "Generic (Telegram, Signal, WhatsApp, etc.)",
        "body": "Use the message tool directly:\n\naction=send, asVoice=true, filePath=/tmp/voice.ogg\n\nThis works for most channels. Telegram confirmed working."
      },
      {
        "title": "Feishu/Lark",
        "body": "⚠️ Feishu does NOT support asVoice=true via the message tool. You must use the dedicated script.\n\nUse scripts/send_feishu_voice.sh:\n\nscripts/send_feishu_voice.sh /tmp/voice.ogg <receive_id> <tenant_access_token> [receive_id_type]\n\nreceive_id_type: open_id (default), chat_id, user_id, union_id, email\nThe script handles upload (as opus with duration) and sends as audio message type to produce a voice bubble.\nTo get tenant_access_token, use the Feishu tenant token API with your app credentials."
      },
      {
        "title": "Discord",
        "body": "Discord voice messages require a waveform and special flags.\n\nGenerate ogg with scripts/gen_voice.sh\nGenerate waveform: python3 scripts/gen_waveform.py /tmp/voice.ogg\n\nOutputs JSON: {\"duration_secs\": 4.2, \"waveform\": \"base64...\"}\n\n\nSend via Discord API with flags: 8192 (IS_VOICE_MESSAGE) and the waveform/duration in attachments metadata.\n\nMissing waveform/duration causes error 50161."
      },
      {
        "title": "Fallback",
        "body": "If asVoice=true does not produce a voice bubble on a channel:\n\nTry sending via the platform's native API\nIf native API unavailable, send as audio file attachment"
      }
    ],
    "body": "Voice Message\n\nSend text as voice messages to any chat channel.\n\nPrerequisites\nedge-tts — Microsoft Edge TTS (pip install edge-tts)\nffmpeg / ffprobe — audio conversion and duration detection\nDefault Voices\nChinese: zh-CN-XiaoxiaoNeural\nEnglish: en-US-JennyNeural\nOther languages: see references/voices.md\nStep 1: Generate Voice File\n\nUse scripts/gen_voice.sh to convert text to an ogg/opus file:\n\nscripts/gen_voice.sh \"你好\" /tmp/voice.ogg\nscripts/gen_voice.sh \"Hello\" /tmp/voice.ogg en-US-JennyNeural\n\n\nArguments: <text> <output.ogg> [voice]\n\nIf voice is omitted, defaults to zh-CN-XiaoxiaoNeural.\nStep 2: Send by Channel\nGeneric (Telegram, Signal, WhatsApp, etc.)\n\nUse the message tool directly:\n\naction=send, asVoice=true, filePath=/tmp/voice.ogg\n\n\nThis works for most channels. Telegram confirmed working.\n\nFeishu/Lark\n\n⚠️ Feishu does NOT support asVoice=true via the message tool. You must use the dedicated script.\n\nUse scripts/send_feishu_voice.sh:\n\nscripts/send_feishu_voice.sh /tmp/voice.ogg <receive_id> <tenant_access_token> [receive_id_type]\n\nreceive_id_type: open_id (default), chat_id, user_id, union_id, email\nThe script handles upload (as opus with duration) and sends as audio message type to produce a voice bubble.\nTo get tenant_access_token, use the Feishu tenant token API with your app credentials.\nDiscord\n\nDiscord voice messages require a waveform and special flags.\n\nGenerate ogg with scripts/gen_voice.sh\nGenerate waveform: python3 scripts/gen_waveform.py /tmp/voice.ogg\nOutputs JSON: {\"duration_secs\": 4.2, \"waveform\": \"base64...\"}\nSend via Discord API with flags: 8192 (IS_VOICE_MESSAGE) and the waveform/duration in attachments metadata.\nMissing waveform/duration causes error 50161.\nFallback\n\nIf asVoice=true does not produce a voice bubble on a channel:\n\nTry sending via the platform's native API\nIf native API unavailable, send as audio file attachment"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/xmanrui/voice-message",
    "publisherUrl": "https://clawhub.ai/xmanrui/voice-message",
    "owner": "xmanrui",
    "version": "1.0.4",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/voice-message",
    "downloadUrl": "https://openagent3.xyz/downloads/voice-message",
    "agentUrl": "https://openagent3.xyz/skills/voice-message/agent",
    "manifestUrl": "https://openagent3.xyz/skills/voice-message/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/voice-message/agent.md"
  }
}