AgentSkillsCN

openai-whisper

通过Whisper CLI实现本地语音转文字(无需API密钥)。

SKILL.md
--- frontmatter
name: openai-whisper
description: Local speech-to-text with the Whisper CLI (no API key).
homepage: https://openai.com/research/whisper
metadata:
    {
        'i-clavdivs':
            {
                'emoji': '🎙️',
                'requires': { 'bins': ['whisper'] },
                'install':
                    [
                        {
                            'id': 'brew',
                            'kind': 'brew',
                            'formula': 'openai-whisper',
                            'bins': ['whisper'],
                            'label': 'Install OpenAI Whisper (brew)',
                        },
                    ],
            },
    }

Whisper (CLI)

Use whisper to transcribe audio locally.

Quick start

  • whisper /path/audio.mp3 --model medium --output_format txt --output_dir .
  • whisper /path/audio.m4a --task translate --output_format srt

Notes

  • Models download to ~/.cache/whisper on first run.
  • --model defaults to turbo on this install.
  • Use smaller models for speed, larger for accuracy.