Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计提醒

openai-whisperOpenAI Whisper 语音转写

Agent Skill

openai-whisper 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

499

周安装

21

GitHub Stars

4

下载量

175
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openai-whisper(OpenAI Whisper 语音转写)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/openai-whisper
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill openai-whisper
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill openai-whisper

简介

openai-whisper 用于本地音频转录,支持多语言识别、时间戳标注和说话人分离。

  • 适用于访谈、会议或播客内容的离线转写,保障数据隐私。
  • 直接在设备端处理文件,避免网络依赖,提升速度与安全性。
  • 需确认音频文件格式兼容性,并评估存储空间与计算资源消耗。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Purpose

This skill enables local audio transcription using the OpenAI Whisper model, processing files directly on the device for privacy and speed. It's ideal for converting speech to text with features like multi-language support, word-level timestamps, and speaker diarization.

When to Use

Use this skill for tasks involving local audio files, such as transcribing interviews, podcasts, or meetings, when you need offline processing to avoid network dependencies or data privacy concerns. Apply it in workflows requiring accurate timestamps or speaker identification, like content creation or analysis.

Key Capabilities

  • Transcription: Converts audio to text in over 90 languages; specify language via --language flag (e.g., --language en for English).
  • Timestamps: Outputs word-level timings; enable with --word-level for detailed segments (e.g., each word's start/end in seconds).
  • Speaker Diarization: Identifies speakers in audio; requires additional setup like Pyannote library; use --diarize flag if configured.
  • Multi-Format Support: Handles input formats like MP3, WAV, or FLAC; outputs JSON or SRT for easy parsing.
  • Model Selection: Choose from models like tiny, base, small, medium, or large; larger models improve accuracy but increase compute needs (e.g., --model medium).

Usage Patterns

Always run Whisper in a Python environment with the library installed. For basic transcription, load an audio file and specify options via CLI. Use it in pipelines by piping output to other tools, like text analysis skills. For speaker diarization, ensure dependencies are installed first. Example 1: Transcribe a short audio clip for note-taking. Example 2: Process a multi-speaker recording for meeting summaries.

To accomplish transcription:

  1. Install dependencies: Run pip install git+https://github.com/openai/whisper.git pyannote.audio in your environment.
  2. Load and process audio: Use the Whisper CLI to handle files directly.
  3. Handle outputs: Parse JSON results for timestamps and integrate into larger scripts.

Common Commands/API

Use the Whisper CLI for quick tasks. For API integration, call the Python library directly.

  • CLI Command for Basic Transcription: whisper path/to/audio.mp3 --model base --language en --output_format json This transcribes the file, saves output as JSON, and includes timestamps.
  • CLI with Timestamps and Diarization: whisper path/to/audio.wav --model medium --word-level --diarize Generates word-level timings and speaker labels; ensure diarization is configured via Pyannote.
  • Python API Snippet: import whisper model = whisper.load_model("base") result = model.transcribe("path/to/audio.mp3", language="en") print(result["text"]) # Outputs transcribed text
  • Config Format: Whisper uses a simple JSON config for batch processing; example: {"model": "small", "language": "es", "task": "transcribe"} Pass via --config config.json in CLI. No auth keys needed for local use; if extending to cloud services, use env vars like $WHISPER_API_KEY for external APIs.

To use in code: Import the library, load the model, and call transcribe() with parameters like fp for file path and task for mode (e.g., task="transcribe").

Integration Notes

Integrate Whisper into AI workflows by wrapping it in Python scripts or CLI calls. For example, chain with text processing tools: Pipe JSON output to a sentiment analysis skill. Use in Jupyter notebooks for interactive transcription. Ensure your environment has GPU support for faster processing (e.g., via CUDA). To embed in larger applications, handle file I/O explicitly: Read audio files using soundfile library, then pass to Whisper. For multi-step tasks, use subprocess to call Whisper CLI from other scripts, capturing stdout for JSON parsing.

Error Handling

Common errors include missing dependencies, invalid audio formats, or out-of-memory issues with large models. To handle:

  • File Not Found: Check file paths before running; use try-except in Python: try: result = model.transcribe("path/to/audio.mp3") except FileNotFoundError: print("Audio file missing; verify path.")
  • Model Load Failures: Ensure sufficient RAM; fallback to smaller models if needed (e.g., switch --model large to --model base).
  • Diarization Errors: If Pyannote fails, verify installation with pip check pyannote.audio; log errors and retry with basic transcription.
  • General Pattern: Wrap CLI calls in scripts using subprocess and check return codes; for API, catch exceptions like whisper.utils.DecodeError and retry with different parameters.

Always log detailed errors (e.g., via Python's logging module) and provide user-friendly messages, such as "Error: Audio too long for selected model; try a smaller one."

Graph Relationships

  • Relates to: "audio-processing" cluster for upstream tasks like noise reduction.
  • Connected to: "text-analysis" skills for downstream processing of transcription outputs.
  • Links with: "openai-gpt" for enhancing transcripts with AI summaries.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.43%
按下载量换算62

Claude

31.3%
按下载量换算55

Cursor

16.82%
按下载量换算29

Gemini CLI

9.65%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/alphaonedev/openclaw-graph --skill openai-whisper 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills