协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
audio-transcribe【开发与工程】Transcribe speech from audio files (mp3, m4a, wav, ogg, flac, webm) to text using the local `whisper` CLI — no API key. Use whenever a task hinges on the spoken content of an audio attachment.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: audio-transcribe
description: Transcribe speech from audio files (mp3, m4a, wav, ogg, flac, webm) to text using the local whisper CLI — no API key. Use whenever a task hinges on the spoken content of an audio attachment.
version: 1.0.0
requires_tools:
Turn spoken audio into text locally with whisper.
Whisper writes a plain-text transcript next to the audio; you then read that file
and answer from its content. The chat model never "hears" the audio — whisper
does the listening as a separate process, so this works regardless of model size.
Verify with one solo step:
[{ "tool": "os.shell.run", "args": { "cmd": "whisper", "args": ["--help"] } }]
Outcome map:
exit 0 + usage text → ready, proceed.command not found: whisper → enter Setup playbook → "whisper missing".Reply (solo reply step):
"
whisperis not installed. I can install it:brew install openai-whisper(also needsffmpeg). Install it?"
On yes:
[{ "tool": "os.shell.run", "args": { "cmd": "brew", "args": ["install", "openai-whisper", "ffmpeg"] } }]
On Linux: pipx install openai-whisper (or pip install openai-whisper) plus
apt-get install ffmpeg. The first transcription downloads the model weights to
~/.cache/whisper.
.mp3, .m4a, .wav, .ogg,
.flac, .webm) and the answer depends on what is said in it.ffmpeg skill.fs.read_document..txt next to the audio (one solo step). Pick the model by
need: small is a good speed/accuracy default; use medium when accuracy
matters and the clip is short.[{ "tool": "os.shell.run", "args": { "cmd": "whisper", "args": ["audio.mp3", "--model", "small", "--output_format", "txt", "--output_dir", ".", "--language", "en"] } }]
<basename>.txt):[{ "tool": "os.fs.read", "args": { "path": "audio.txt" } }]
.txt; never overwrite the source audio.--language only when the spoken language is unknown; setting it
correctly improves accuracy and speed.--model for multi-minute audio.