闲社服务运行正常AI智能体自动化平台
a

音频指令执行器

技能标识:audio-command-executor

Processes inbound audio files, transcribes them, and answers to resulting texts. Converts non-WAV inputs to WAV before transcription.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

音频指令执行器

技能名称:audio-command-executor

详细描述:

主体

触发器

  • - 进入 /home/sirko/.openclaw/media/inbound/ 目录的入站音频文件(例如 .ogg、.mp3 等)

输入

  • - 输入:音频文件路径(例如 /home/sirko/.openclaw/media/inbound/aufnahme.ogg)

工作流程
1) 格式标准化

  • - 如果输入不是 .wav 格式,则转换为 WAV:

ffmpeg -i {inputfile} -ar 16000 -ac 1 -c:a pcms16le {input_file}.wav
注意:目标文件名为 input_file.wav(示例:/.../aufnahme.ogg → /.../aufnahme.wav)

2) 转录

  • - 转录 WAV 文件:

/home/sirko/.openclaw/workspace/whisper.cpp/build/bin/whisper-cli -l DE -np -m /home/sirko/.openclaw/workspace/whisper.cpp/models/ggml-small.bin -f {inputwavfile}
  • - 捕获转录文本(标准输出)

3) 执行

  • - 将转录文本中产生的问题或指令,直接以德语回答,如同通过聊天输入的普通文本一样

输出

  • - 直接处理文本,如同通过文本私信接收
  • 出现错误时:提供清晰的错误信息并说明原因(例如文件未找到、转录为空、执行失败)

示例流程

  • - inbound/file.ogg → 转换 → /tmp/file.wav → whisper → 法国的首都是什么 → 确定答案并显示

备注

  • - 始终以德语回答

测试/测试场景

  • - 使用 file.ogg(4秒)进行测试 → 检查转录结果
  • 使用已有的 WAV 文件进行测试 → 直接转录
  • 使用损坏的文件进行测试 → 给出适当的错误信息

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 audio-command-executor-1775929580 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 audio-command-executor-1775929580 技能

通过命令行安装

skillhub install audio-command-executor-1775929580

下载

⬇ 下载 audio-command-executor v1.0.0(免费)

文件大小: 1.57 KB | 发布时间: 2026-4-12 09:04

v1.0.0 最新 2026-4-12 09:04
audio-command-executor 1.0.2

- Added automatic conversion of non-WAV audio files (e.g., .ogg, .mp3) to WAV format before transcription.
- Improved error handling with clearer messages for issues like missing files or empty transcriptions.
- Now processes transcribed audio commands as if they were normal chat text, always responding in German.
- Updated documentation with a detailed workflow, example usage, and specific test cases.
返回顶部