Token导航 LogoToken导航TokenDH.com
开发只读clawhub未标认证来源可访问clear审计通过

wechat-voice-decode微信语音解码

Agent Skill

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

总安装

5,391

周安装

216

GitHub Stars

1

下载量

1,745
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wechat-voice-decode(微信语音解码)
来源仓库:https://github.com/jozhn/wechat-voice-decode
安装命令:
openclaw skills install wechat-voice-decode
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install wechat-voice-decode

简介

专为微信 clawbot 设计的微信语音解析技能 / WeChat voice parsing skill for clawbot. 识别微信 SILK 语音,解码为 WAV,并用本地 Whisper 转写后回复。适用于微信语音、语音转文字、语音附件解析、‘这段语音说了什么’等场景。

SKILL.md

name
wechat-voice
description
专为微信 clawbot 设计的微信语音解析技能 / WeChat voice parsing skill for clawbot. 识别微信 SILK 语音,解码为 WAV,并用本地 Whisper 转写后回复。适用于微信语音、语音转文字、语音附件解析、‘这段语音说了什么’等场景。

WeChat Voice

专为微信 clawbot 设计的微信语音解析技能。识别微信 SILK 语音、解码为 WAV、转写为文字,并基于语音内容回复。

What this skill does

  • Inspect an inbound audio attachment.
  • Detect whether it is WeChat SILK (#!SILK_V3).
  • Decode SILK audio to WAV with Python.
  • Transcribe WAV locally with CPU-based Whisper.
  • Return a transcript or explicitly report that the clip is blank / too short / unclear.
  • Use the transcript as the basis for the user-facing reply.

Use this workflow

  1. Get the local file path for the inbound audio attachment from the current conversation context.
  2. Inspect the first bytes of the file before assuming its format.
  3. If the file header contains #!SILK_V3, treat it as WeChat SILK.
  4. Run the bundled script scripts/transcribe_wechat_voice.py on the attachment.
  5. If the script returns text, answer based on the transcript.
  6. If the script returns NO_SEGMENTS, tell the user the clip appears blank, too short, too quiet, or unclear.
  7. If decoding fails, report the failure and mention whether the issue is format detection, decode failure, or transcription failure.

Primary command

python3 /root/.openclaw/workspace/skills/wechat-voice/scripts/transcribe_wechat_voice.py <audio_path>

Optional WAV output path:

python3 /root/.openclaw/workspace/skills/wechat-voice/scripts/transcribe_wechat_voice.py <audio_path> /tmp/wechat-voice.wav

Installation / environment notes

This skill is text-only and ClawHub-friendly, but it expects common local runtimes and Python packages to be available.

Required runtimes

  • python3
  • ffmpeg

Python packages needed

Install locally with:

python3 -m pip install --user silk-python faster-whisper

Use silk-python to decode WeChat SILK audio in Python. Use faster-whisper for local CPU transcription. Prefer faster-whisper over openai-whisper in this environment because it avoids a heavy PyTorch/CUDA installation chain and works well on CPU.

Output expectations

The script prints exactly one of these:

  • The recognized text
  • NO_SEGMENTS if no usable speech is detected

Treat NO_SEGMENTS as a valid outcome, not as a crash.

Good user-facing behavior

  • Be brief.
  • If transcript succeeds, respond to the content instead of over-explaining the pipeline.
  • If the clip is blank, say so plainly.
  • If the clip is unclear, ask for a clearer re-recording.
  • Only mention technical details when the user asks or when debugging is needed.

When debugging is needed

Check these in order:

  1. Does the file exist and have non-zero size?
  2. Do the first bytes include #!SILK_V3?
  3. Did WAV decode succeed?
  4. Did transcription return NO_SEGMENTS?
  5. Is the clip too short or silent?

For byte inspection, use a quick Python snippet such as:

python3 - <<'PY'
from pathlib import Path
p = Path('/path/to/audio')
b = p.read_bytes()[:64]
print('size=', p.stat().st_size)
print('hex=', b.hex())
print('ascii=', ''.join(chr(x) if 32 <= x < 127 else '.' for x in b))
PY

Bundled files

  • scripts/transcribe_wechat_voice.py: Decode/transcribe entry point.
  • references/notes.md: Environment-specific notes and maintenance hints.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.39%
按下载量换算1,612

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills