界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
部署与运维 · SKILL.md

transcribe

transcribe

【部署与运维】Transcribe audio files to text using local Whisper (Docker). Use when receiving voice messages, audio files (.mp3, .m4a, .ogg, .wav, .webm), or when asked to transcribe audio content.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: transcribe description: Transcribe audio files to text using local Whisper (Docker). Use when receiving voice messages, audio files (.mp3, .m4a, .ogg, .wav, .webm), or when asked to transcribe audio content.

Transcribe

Local audio transcription using faster-whisper in Docker.

Installation

cd /path/to/skills/transcribe/scripts
chmod +x install.sh
./install.sh

This builds the Docker image whisper:local and installs the transcribe CLI.

Usage

transcribe /path/to/audio.mp3 [language]
  • Default language: es (Spanish)
  • Use auto for auto-detection
  • Outputs plain text to stdout

Examples

transcribe /tmp/voice.ogg          # Spanish (default)
transcribe /tmp/meeting.mp3 en     # English
transcribe /tmp/audio.m4a auto     # Auto-detect

Supported Formats

mp3, m4a, ogg, wav, webm, flac, aac

When Receiving Voice Messages

  1. Save the audio attachment to a temp file
  2. Run transcribe <path>
  3. Include the transcription in your response
  4. Clean up the temp file

Files

  • scripts/transcribe - CLI wrapper (bash)
  • scripts/install.sh - Installation script (includes Dockerfile inline)

Notes

  • Model: small (fast) - edit install.sh for large-v3 (accurate)
  • Fully local, no API key needed
我的收藏