kesslerio/local-whisper-openclaw-skill

local-whisper

LOCAL voice transcription using OpenAI Whisper.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/kesslerio/local-whisper-openclaw-skill --skill local-whisper

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

🎙️ Local Whisper Transcription

100% private voice transcription using OpenAI Whisper. Audio never leaves your machine.

⚠️ Important: OpenClaw Configuration Required

This skill must be configured in OpenClaw's tools.media.audio to handle incoming voice messages. Without this config, voice messages may cause token overflow errors or be sent to cloud APIs.

Add to ~/.openclaw/openclaw.json:

json5
{
  tools: {
    media: {
      audio: {
        enabled: true,
        models: [
          {
            type: "cli",
            command: "node",
            args: ["<skill-path>/transcribe.js", "{{MediaPath}}"]
          }
        ]
      }
    }
  }
}

Replace <skill-path> with the path to the checked-out skill repository. For a mirrored OpenClaw install, use ~/.openclaw/skills/local-whisper.

Quick Start

bash
# Install dependencies
pip install openai-whisper

# Transcribe audio
node transcribe.js voice.ogg

CLI Options

--model <tiny|base|small|medium|large>  Model size (default: small)
--language <lang>                        Language code (default: auto)
--output-dir <dir>                       Output directory
--smart-model                           Auto-select model by file size
--check                                 Verify dependencies

Model Sizes

ModelSizeSpeedRAM
tiny39 MB⚡⚡⚡⚡~1GB
base74 MB⚡⚡⚡~1GB
small244 MB⚡⚡~2GB
medium769 MB⚡~5GB
large1550 MB🐢~10GB

Documentation

按任务相关推荐