{
  "schemaVersion": "1.0",
  "item": {
    "slug": "feishu-audio",
    "name": "feishu-audio",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tianyn1990/feishu-audio",
    "canonicalUrl": "https://clawhub.ai/tianyn1990/feishu-audio",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/feishu-audio",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=feishu-audio",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/send_audio.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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/feishu-audio"
    },
    "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/feishu-audio",
    "agentPageUrl": "https://openagent3.xyz/skills/feishu-audio/agent",
    "manifestUrl": "https://openagent3.xyz/skills/feishu-audio/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/feishu-audio/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": "feishu-audio",
        "body": "将本地音频文件转换为飞书可播放的语音消息。"
      },
      {
        "title": "适用场景",
        "body": "用户说\"朗读 xxx\"、\"语音播报\"\n需要发送可播放的语音消息到飞书"
      },
      {
        "title": "前置条件",
        "body": "ffmpeg - 音频格式转换\nbrew install ffmpeg\n\n\n\n飞书应用配置 - 需要以下环境变量：\n\nFEISHU_APP_ID\nFEISHU_APP_SECRET\n\n\n\n接收者 - 飞书用户 Open ID（从上下文获取或手动指定）"
      },
      {
        "title": "方式 1：使用已有音频文件",
        "body": "bash scripts/send_audio.sh <音频文件路径> [接收者OpenID]"
      },
      {
        "title": "方式 2：结合 TTS 使用",
        "body": "先生成音频，再用本技能发送：\n\n# 1. 用 edge-tts 生成音频\nedge-tts -t \"你好，我是小曦\" -v zh-CN-XiaoxiaoNeural --write-media /tmp/voice.mp3\n\n# 2. 转为 opus 并发送到飞书\nbash scripts/send_audio.sh /tmp/voice.mp3"
      },
      {
        "title": "send_audio.sh",
        "body": "主脚本，完整的音频消息发送流程。\n\n参数：\n\n$1 - 音频文件路径（必需）\n$2 - 接收者 Open ID（可选，默认从环境变量 FEISHU_RECEIVER 获取）\n\n环境变量：\n\nFEISHU_APP_ID - 飞书应用 ID\nFEISHU_APP_SECRET - 飞书应用密钥\nFEISHU_RECEIVER - 接收者 Open ID（可选）\n\n流程：\n\n检查 ffmpeg 是否可用\n检查音频文件是否存在\n用 ffmpeg 转换为 opus 格式（飞书要求）\n获取飞书 tenant_access_token\n上传到飞书（file_type=opus）\n发送 audio 消息"
      },
      {
        "title": "音频格式要求",
        "body": "飞书语音消息要求：\n\n格式: opus (OGG 容器)\n编码: libopus\n采样率: 24000 Hz\n声道: 单声道"
      },
      {
        "title": "ffmpeg 未安装",
        "body": "brew install ffmpeg"
      },
      {
        "title": "上传失败",
        "body": "检查飞书应用权限：\n\nim:message\nim:message:send_as_bot"
      },
      {
        "title": "消息发送成功但无法播放",
        "body": "确认：\n\n上传时使用了 file_type=opus\n上传时传递了 duration 参数"
      }
    ],
    "body": "feishu-audio\n\n将本地音频文件转换为飞书可播放的语音消息。\n\n适用场景\n用户说\"朗读 xxx\"、\"语音播报\"\n需要发送可播放的语音消息到飞书\n前置条件\n\nffmpeg - 音频格式转换\n\nbrew install ffmpeg\n\n\n飞书应用配置 - 需要以下环境变量：\n\nFEISHU_APP_ID\nFEISHU_APP_SECRET\n\n接收者 - 飞书用户 Open ID（从上下文获取或手动指定）\n\n使用方法\n方式 1：使用已有音频文件\nbash scripts/send_audio.sh <音频文件路径> [接收者OpenID]\n\n方式 2：结合 TTS 使用\n\n先生成音频，再用本技能发送：\n\n# 1. 用 edge-tts 生成音频\nedge-tts -t \"你好，我是小曦\" -v zh-CN-XiaoxiaoNeural --write-media /tmp/voice.mp3\n\n# 2. 转为 opus 并发送到飞书\nbash scripts/send_audio.sh /tmp/voice.mp3\n\n脚本说明\nsend_audio.sh\n\n主脚本，完整的音频消息发送流程。\n\n参数：\n\n$1 - 音频文件路径（必需）\n$2 - 接收者 Open ID（可选，默认从环境变量 FEISHU_RECEIVER 获取）\n\n环境变量：\n\nFEISHU_APP_ID - 飞书应用 ID\nFEISHU_APP_SECRET - 飞书应用密钥\nFEISHU_RECEIVER - 接收者 Open ID（可选）\n\n流程：\n\n检查 ffmpeg 是否可用\n检查音频文件是否存在\n用 ffmpeg 转换为 opus 格式（飞书要求）\n获取飞书 tenant_access_token\n上传到飞书（file_type=opus）\n发送 audio 消息\n音频格式要求\n\n飞书语音消息要求：\n\n格式: opus (OGG 容器)\n编码: libopus\n采样率: 24000 Hz\n声道: 单声道\n故障排查\nffmpeg 未安装\nbrew install ffmpeg\n\n上传失败\n\n检查飞书应用权限：\n\nim:message\nim:message:send_as_bot\n消息发送成功但无法播放\n\n确认：\n\n上传时使用了 file_type=opus\n上传时传递了 duration 参数"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tianyn1990/feishu-audio",
    "publisherUrl": "https://clawhub.ai/tianyn1990/feishu-audio",
    "owner": "tianyn1990",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/feishu-audio",
    "downloadUrl": "https://openagent3.xyz/downloads/feishu-audio",
    "agentUrl": "https://openagent3.xyz/skills/feishu-audio/agent",
    "manifestUrl": "https://openagent3.xyz/skills/feishu-audio/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/feishu-audio/agent.md"
  }
}