← 返回 Skills 市场
bingze00000

Audio Transcriber Pro

作者 bingze00000 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install audio-transcriber-pro
功能描述
Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration
使用说明 (SKILL.md)

\r \r

Purpose\r

\r This skill automates audio-to-text transcription with professional Markdown output, extracting rich technical metadata (speakers, timestamps, language, file size, duration) and generating structured meeting minutes and executive summaries. It uses Faster-Whisper or Whisper with zero configuration, working universally across projects without hardcoded paths or API keys.\r \r Inspired by tools like Plaud, this skill transforms raw audio recordings into actionable documentation, making it ideal for meetings, interviews, lectures, and content analysis.\r \r

When to Use\r

\r Invoke this skill when:\r \r

  • User needs to transcribe audio/video files to text\r
  • User wants meeting minutes automatically generated from recordings\r
  • User requires speaker identification (diarization) in conversations\r
  • User needs subtitles/captions (SRT, VTT formats)\r
  • User wants executive summaries of long audio content\r
  • User asks variations of "transcribe this audio", "convert audio to text", "generate meeting notes from recording"\r
  • User has audio files in common formats (MP3, WAV, M4A, OGG, FLAC, WEBM)\r \r

Workflow\r

\r

Step 0: Discovery (Auto-detect Transcription Tools)\r

\r Objective: Identify available transcription engines without user configuration.\r \r Actions:\r \r Run detection commands to find installed tools:\r \r

# Check for Faster-Whisper (preferred - 4-5x faster)\r
if python3 -c "import faster_whisper" 2>/dev/null; then\r
    TRANSCRIBER="faster-whisper"\r
    echo "✅ Faster-Whisper detected (optimized)"\r
# Fallback to original Whisper\r
elif python3 -c "import whisper" 2>/dev/null; then\r
    TRANSCRIBER="whisper"\r
    echo "✅ OpenAI Whisper detected"\r
else\r
    TRANSCRIBER="none"\r
    echo "⚠️  No transcription tool found"\r
fi\r
\r
# Check for ffmpeg (audio format conversion)\r
if command -v ffmpeg &>/dev/null; then\r
    echo "✅ ffmpeg available (format conversion enabled)"\r
else\r
    echo "ℹ️  ffmpeg not found (limited format support)"\r
fi\r
```\r
\r
**If no transcriber found:**\r
\r
Offer automatic installation using the provided script:\r
\r
```bash\r
echo "⚠️  No transcription tool found"\r
echo ""\r
echo "🔧 Auto-install dependencies? (Recommended)"\r
read -p "Run installation script? [Y/n]: " AUTO_INSTALL\r
\r
if [[ ! "$AUTO_INSTALL" =~ ^[Nn] ]]; then\r
    # Get skill directory (works for both repo and symlinked installations)\r
    SKILL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"\r
    \r
    # Run installation script\r
    if [[ -f "$SKILL_DIR/scripts/install-requirements.sh" ]]; then\r
        bash "$SKILL_DIR/scripts/install-requirements.sh"\r
    else\r
        echo "❌ Installation script not found"\r
        echo ""\r
        echo "📦 Manual installation:"\r
        echo "  pip install faster-whisper  # Recommended"\r
        echo "  pip install openai-whisper  # Alternative"\r
        echo "  brew install ffmpeg         # Optional (macOS)"\r
        exit 1\r
    fi\r
    \r
    # Verify installation succeeded\r
    if python3 -c "import faster_whisper" 2>/dev/null || python3 -c "import whisper" 2>/dev/null; then\r
        echo "✅ Installation successful! Proceeding with transcription..."\r
    else\r
        echo "❌ Installation failed. Please install manually."\r
        exit 1\r
    fi\r
else\r
    echo ""\r
    echo "📦 Manual installation required:"\r
    echo ""\r
    echo "Recommended (fastest):"\r
    echo "  pip install faster-whisper"\r
    echo ""\r
    echo "Alternative (original):"\r
    echo "  pip install openai-whisper"\r
    echo ""\r
    echo "Optional (format conversion):"\r
    echo "  brew install ffmpeg  # macOS"\r
    echo "  apt install ffmpeg   # Linux"\r
    echo ""\r
    exit 1\r
fi\r
```\r
\r
This ensures users can install dependencies with one confirmation, or opt for manual installation if preferred.\r
\r
**If transcriber found:**\r
\r
Proceed to Step 0b (CLI Detection).\r
\r
\r
### Step 1: Validate Audio File\r
\r
**Objective:** Verify file exists, check format, and extract metadata.\r
\r
**Actions:**\r
\r
1. **Accept file path or URL** from user:\r
   - Local file: `meeting.mp3`\r
   - URL: `https://example.com/audio.mp3` (download to temp directory)\r
\r
2. **Verify file exists:**\r
\r
```bash\r
if [[ ! -f "$AUDIO_FILE" ]]; then\r
    echo "❌ File not found: $AUDIO_FILE"\r
    exit 1\r
fi\r
```\r
\r
3. **Extract metadata** using ffprobe or file utilities:\r
\r
```bash\r
# Get file size\r
FILE_SIZE=$(du -h "$AUDIO_FILE" | cut -f1)\r
\r
# Get duration and format using ffprobe\r
DURATION=$(ffprobe -v error -show_entries format=duration \\r
    -of default=noprint_wrappers=1:nokey=1 "$AUDIO_FILE" 2>/dev/null)\r
FORMAT=$(ffprobe -v error -select_streams a:0 -show_entries \\r
    stream=codec_name -of default=noprint_wrappers=1:nokey=1 "$AUDIO_FILE" 2>/dev/null)\r
\r
# Convert duration to HH:MM:SS\r
DURATION_HMS=$(date -u -r "$DURATION" +%H:%M:%S 2>/dev/null || echo "Unknown")\r
```\r
\r
4. **Check file size** (warn if large for cloud APIs):\r
\r
```bash\r
SIZE_MB=$(du -m "$AUDIO_FILE" | cut -f1)\r
if [[ $SIZE_MB -gt 25 ]]; then\r
    echo "⚠️  Large file ($FILE_SIZE) - processing may take several minutes"\r
fi\r
```\r
\r
5. **Validate format** (supported: MP3, WAV, M4A, OGG, FLAC, WEBM):\r
\r
```bash\r
EXTENSION="${AUDIO_FILE##*.}"\r
SUPPORTED_FORMATS=("mp3" "wav" "m4a" "ogg" "flac" "webm" "mp4")\r
\r
if [[ ! " ${SUPPORTED_FORMATS[@]} " =~ " ${EXTENSION,,} " ]]; then\r
    echo "⚠️  Unsupported format: $EXTENSION"\r
    if command -v ffmpeg &>/dev/null; then\r
        echo "🔄 Converting to WAV..."\r
        ffmpeg -i "$AUDIO_FILE" -ar 16000 "${AUDIO_FILE%.*}.wav" -y\r
        AUDIO_FILE="${AUDIO_FILE%.*}.wav"\r
    else\r
        echo "❌ Install ffmpeg to convert formats: brew install ffmpeg"\r
        exit 1\r
    fi\r
fi\r
```\r
\r
\r
### Step 3: Generate Markdown Output\r
\r
**Objective:** Create structured Markdown with metadata, transcription, meeting minutes, and summary.\r
\r
**Output Template:**\r
\r
```markdown\r
# Audio Transcription Report\r
\r
## 📊 Metadata\r
\r
| Field | Value |\r
|-------|-------|\r
| **File Name** | {filename} |\r
| **File Size** | {file_size} |\r
| **Duration** | {duration_hms} |\r
| **Language** | {language} ({language_code}) |\r
| **Processed Date** | {process_date} |\r
| **Speakers Identified** | {num_speakers} |\r
| **Transcription Engine** | {engine} (model: {model}) |\r
\r
\r
## 📋 Meeting Minutes\r
\r
### Participants\r
- {speaker_1}\r
- {speaker_2}\r
- ...\r
\r
### Topics Discussed\r
1. **{topic_1}** ({timestamp})\r
   - {key_point_1}\r
   - {key_point_2}\r
\r
2. **{topic_2}** ({timestamp})\r
   - {key_point_1}\r
\r
### Decisions Made\r
- ✅ {decision_1}\r
- ✅ {decision_2}\r
\r
### Action Items\r
- [ ] **{action_1}** - Assigned to: {speaker} - Due: {date_if_mentioned}\r
- [ ] **{action_2}** - Assigned to: {speaker}\r
\r
\r
*Generated by audio-transcriber skill v1.0.0*  \r
*Transcription engine: {engine} | Processing time: {elapsed_time}s*\r
```\r
\r
**Implementation:**\r
\r
Use Python or bash with AI model (Claude/GPT) for intelligent summarization:\r
\r
```python\r
def generate_meeting_minutes(segments):\r
    """Extract topics, decisions, action items from transcription."""\r
    \r
    # Group segments by topic (simple clustering by timestamps)\r
    topics = cluster_by_topic(segments)\r
    \r
    # Identify action items (keywords: "should", "will", "need to", "action")\r
    action_items = extract_action_items(segments)\r
    \r
    # Identify decisions (keywords: "decided", "agreed", "approved")\r
    decisions = extract_decisions(segments)\r
    \r
    return {\r
        "topics": topics,\r
        "decisions": decisions,\r
        "action_items": action_items\r
    }\r
\r
def generate_summary(segments, max_paragraphs=5):\r
    """Create executive summary using AI (Claude/GPT via API or local model)."""\r
    \r
    full_text = " ".join([s["text"] for s in segments])\r
    \r
    # Use Chain of Density approach (from prompt-engineer frameworks)\r
    summary_prompt = f"""\r
    Summarize the following transcription in {max_paragraphs} concise paragraphs.\r
    Focus on key topics, decisions, and action items.\r
    \r
    Transcription:\r
    {full_text}\r
    """\r
    \r
    # Call AI model (placeholder - user can integrate Claude API or use local model)\r
    summary = call_ai_model(summary_prompt)\r
    \r
    return summary\r
```\r
\r
**Output file naming:**\r
\r
```bash\r
# v1.1.0: Use timestamp para evitar sobrescrever\r
TIMESTAMP=$(date +%Y%m%d-%H%M%S)\r
TRANSCRIPT_FILE="transcript-${TIMESTAMP}.md"\r
ATA_FILE="ata-${TIMESTAMP}.md"\r
\r
echo "$TRANSCRIPT_CONTENT" > "$TRANSCRIPT_FILE"\r
echo "✅ Transcript salvo: $TRANSCRIPT_FILE"\r
\r
if [[ -n "$ATA_CONTENT" ]]; then\r
    echo "$ATA_CONTENT" > "$ATA_FILE"\r
    echo "✅ Ata salva: $ATA_FILE"\r
fi\r
```\r
\r
\r
#### **SCENARIO A: User Provided Custom Prompt**\r
\r
**Workflow:**\r
\r
1. **Display user's prompt:**\r
   ```\r
   📝 Prompt fornecido pelo usuário:\r
   ┌──────────────────────────────────┐\r
   │ [User's prompt preview]          │\r
   └──────────────────────────────────┘\r
   ```\r
\r
2. **Automatically improve with prompt-engineer (if available):**\r
   ```bash\r
   🔧 Melhorando prompt com prompt-engineer...\r
   [Invokes: gh copilot -p "melhore este prompt: {user_prompt}"]\r
   ```\r
\r
3. **Show both versions:**\r
   ```\r
   ✨ Versão melhorada:\r
   ┌──────────────────────────────────┐\r
   │ Role: Você é um documentador...  │\r
   │ Instructions: Transforme...      │\r
   │ Steps: 1) ... 2) ...             │\r
   │ End Goal: ...                    │\r
   └──────────────────────────────────┘\r
\r
   📝 Versão original:\r
   ┌──────────────────────────────────┐\r
   │ [User's original prompt]         │\r
   └──────────────────────────────────┘\r
   ```\r
\r
4. **Ask which to use:**\r
   ```bash\r
   💡 Usar versão melhorada? [s/n] (default: s):\r
   ```\r
\r
5. **Process with selected prompt:**\r
   - If "s": use improved\r
   - If "n": use original\r
\r
\r
#### **LLM Processing (Both Scenarios)**\r
\r
Once prompt is finalized:\r
\r
```python\r
from rich.progress import Progress, SpinnerColumn, TextColumn\r
\r
def process_with_llm(transcript, prompt, cli_tool='claude'):\r
    full_prompt = f"{prompt}\
\
---\
\
Transcrição:\
\
{transcript}"\r
    \r
    with Progress(\r
        SpinnerColumn(),\r
        TextColumn("[progress.description]{task.description}"),\r
        transient=True\r
    ) as progress:\r
        progress.add_task(\r
            description=f"🤖 Processando com {cli_tool}...",\r
            total=None\r
        )\r
        \r
        if cli_tool == 'claude':\r
            result = subprocess.run(\r
                ['claude', '-'],\r
                input=full_prompt,\r
                capture_output=True,\r
                text=True,\r
                timeout=300  # 5 minutes\r
            )\r
        elif cli_tool == 'gh-copilot':\r
            result = subprocess.run(\r
                ['gh', 'copilot', 'suggest', '-t', 'shell', full_prompt],\r
                capture_output=True,\r
                text=True,\r
                timeout=300\r
            )\r
    \r
    if result.returncode == 0:\r
        return result.stdout.strip()\r
    else:\r
        return None\r
```\r
\r
**Progress output:**\r
```\r
🤖 Processando com claude... ⠋\r
[After completion:]\r
✅ Ata gerada com sucesso!\r
```\r
\r
\r
#### **Final Output**\r
\r
**Success (both files):**\r
```bash\r
💾 Salvando arquivos...\r
\r
✅ Arquivos criados:\r
  - transcript-20260203-023045.md  (transcript puro)\r
  - ata-20260203-023045.md         (processado com LLM)\r
\r
🧹 Removidos arquivos temporários: metadata.json, transcription.json\r
\r
✅ Concluído! Tempo total: 3m 45s\r
```\r
\r
**Transcript only (user declined LLM):**\r
```bash\r
💾 Salvando arquivos...\r
\r
✅ Arquivo criado:\r
  - transcript-20260203-023045.md\r
\r
ℹ️  Ata não gerada (processamento LLM recusado pelo usuário)\r
\r
🧹 Removidos arquivos temporários: metadata.json, transcription.json\r
\r
✅ Concluído!\r
```\r
\r
\r
### Step 5: Display Results Summary\r
\r
**Objective:** Show completion status and next steps.\r
\r
**Output:**\r
\r
```bash\r
echo ""\r
echo "✅ Transcription Complete!"\r
echo ""\r
echo "📊 Results:"\r
echo "  File: $OUTPUT_FILE"\r
echo "  Language: $LANGUAGE"\r
echo "  Duration: $DURATION_HMS"\r
echo "  Speakers: $NUM_SPEAKERS"\r
echo "  Words: $WORD_COUNT"\r
echo "  Processing time: ${ELAPSED_TIME}s"\r
echo ""\r
echo "📝 Generated:"\r
echo "  - $OUTPUT_FILE (Markdown report)"\r
[if alternative formats:]\r
echo "  - ${OUTPUT_FILE%.*}.srt (Subtitles)"\r
echo "  - ${OUTPUT_FILE%.*}.json (Structured data)"\r
echo ""\r
echo "🎯 Next steps:"\r
echo "  1. Review meeting minutes and action items"\r
echo "  2. Share report with participants"\r
echo "  3. Track action items to completion"\r
```\r
\r
\r
## Example Usage\r
\r
### **Example 1: Basic Transcription**\r
\r
**User Input:**\r
```bash\r
copilot> transcribe audio to markdown: meeting-2026-02-02.mp3\r
```\r
\r
**Skill Output:**\r
\r
```bash\r
✅ Faster-Whisper detected (optimized)\r
✅ ffmpeg available (format conversion enabled)\r
\r
📂 File: meeting-2026-02-02.mp3\r
📊 Size: 12.3 MB\r
⏱️  Duration: 00:45:32\r
\r
🎙️  Processing...\r
[████████████████████] 100%\r
\r
✅ Language detected: Portuguese (pt-BR)\r
👥 Speakers identified: 4\r
📝 Generating Markdown output...\r
\r
✅ Transcription Complete!\r
\r
📊 Results:\r
  File: meeting-2026-02-02.md\r
  Language: pt-BR\r
  Duration: 00:45:32\r
  Speakers: 4\r
  Words: 6,842\r
  Processing time: 127s\r
\r
📝 Generated:\r
  - meeting-2026-02-02.md (Markdown report)\r
\r
🎯 Next steps:\r
  1. Review meeting minutes and action items\r
  2. Share report with participants\r
  3. Track action items to completion\r
```\r
\r
\r
### **Example 3: Batch Processing**\r
\r
**User Input:**\r
```bash\r
copilot> transcreva estes áudios: recordings/*.mp3\r
```\r
\r
**Skill Output:**\r
\r
```bash\r
📦 Batch mode: 5 files found\r
  1. team-standup.mp3\r
  2. client-call.mp3\r
  3. brainstorm-session.mp3\r
  4. product-demo.mp3\r
  5. retrospective.mp3\r
\r
🎙️  Processing batch...\r
\r
[1/5] team-standup.mp3 ✅ (2m 34s)\r
[2/5] client-call.mp3 ✅ (15m 12s)\r
[3/5] brainstorm-session.mp3 ✅ (8m 47s)\r
[4/5] product-demo.mp3 ✅ (22m 03s)\r
[5/5] retrospective.mp3 ✅ (11m 28s)\r
\r
✅ Batch Complete!\r
📝 Generated 5 Markdown reports\r
⏱️  Total processing time: 6m 15s\r
```\r
\r
\r
### **Example 5: Large File Warning**\r
\r
**User Input:**\r
```bash\r
copilot> transcribe audio to markdown: conference-keynote.mp3\r
```\r
\r
**Skill Output:**\r
\r
```bash\r
✅ Faster-Whisper detected (optimized)\r
\r
📂 File: conference-keynote.mp3\r
📊 Size: 87.2 MB\r
⏱️  Duration: 02:15:47\r
⚠️  Large file (87.2 MB) - processing may take several minutes\r
\r
Continue? [Y/n]:\r
```\r
\r
**User:** `Y`\r
\r
```bash\r
🎙️  Processing... (this may take 10-15 minutes)\r
[████░░░░░░░░░░░░░░░░] 20% - Estimated time remaining: 12m\r
```\r
\r
\r
This skill is **platform-agnostic** and works in any terminal context where GitHub Copilot CLI is available. It does not depend on specific project configurations or external APIs, following the zero-configuration philosophy.\r
安全使用建议
This skill is not outright malicious, but proceed carefully: - Privacy: If you expect strictly local processing, disable/decline any LLM/CLI steps. The skill can send transcript text to external CLIs (Claude/Copilot), which may upload your audio/transcript to cloud services. - Review installs: Inspect scripts/install-requirements.sh and scripts/transcribe.py before running. They will run pip installs and may download Whisper/Faster-Whisper models and other packages automatically. - Metadata mismatches: _meta.json claims an OpenAI requirement and paid pricing that do not match the code. Treat those fields as unreliable and verify what services the skill actually uses. - Filesystem probing & integrations: The skill checks for and may read other skill files (prompt-engineer) and invokes gh/claude CLIs. If you do not want the skill to inspect or interact with other local skills or CLIs, avoid running it or run in an isolated environment (container or VM). - Least privilege: Run the installation and first transcriptions in a sandbox or virtualenv so pip --user or model downloads do not affect your system Python environment. What would change the assessment to benign: the author clarifies and removes misleading meta.json fields, documents and asks explicit, consent-based steps for any networked LLM calls, and provides a clear switch to enforce 100% local-only mode (disabling any external CLI/LLM invocation and not auto-installing packages).
功能分析
Type: OpenClaw Skill Name: audio-transcriber-pro Version: 1.0.0 The audio-transcriber-pro skill is a legitimate and well-structured tool designed to automate audio transcription and summarization. It utilizes the Faster-Whisper and OpenAI Whisper engines for local processing and integrates with external LLM CLIs (Claude and GitHub Copilot) to generate structured meeting minutes and executive summaries. The skill includes comprehensive installation scripts (install-requirements.sh), a robust Python implementation (transcribe.py), and detailed documentation (SKILL.md, README.md) that align perfectly with its stated purpose. No evidence of data exfiltration, malicious persistence, or intentional prompt injection was found; the use of subprocess calls to external CLIs is implemented safely without shell execution, and the auto-installation of UI libraries (rich, tqdm) is transparently handled for better user experience.
能力评估
Purpose & Capability
The skill's stated goal (local Whisper/Faster-Whisper transcription to Markdown) is reasonable and matches most of the code, but metadata is inconsistent: meta.json lists a requirement of "openai" (not used in code), README/SKILL.md claim "100% local Whisper processing, no cloud uploads" while the code and docs explicitly include optional LLM integration (Claude CLI, GitHub Copilot CLI) which will transmit transcripts to external services. These contradictions make it unclear whether sensitive audio will remain local.
Instruction Scope
Runtime instructions and scripts do more than pure transcription: they detect and invoke external CLIs (claude, gh copilot), call a prompt-engineer skill (via gh copilot or by reading ~/.copilot/skills/prompt-engineer/SKILL.md), accept remote URLs (download audio), and can send transcript text to third‑party CLIs/LLMs. The skill also probes other skill files in the user's home directory. Any LLM/CLI invocation will likely transmit transcript contents off-host—this behavior is not consistent with a strict "local only" privacy promise.
Install Mechanism
No registry install spec is declared (instruction-only), but the bundle includes an install script (scripts/install-requirements.sh) and the Python implementation will attempt to pip-install missing packages at runtime (rich, tqdm) using subprocess.run. The install script downloads/installs faster-whisper or openai-whisper and can optionally download models (over the network). This is moderately risky but typical for CLI tools; users should review the install script and consent before running.
Credentials
The registry metadata (_meta.json) claims an external requirement of "openai" and pricing info, but the code does not use the OpenAI HTTP API; instead it relies on local Whisper/Faster-Whisper and optional CLIs (claude, gh). The skill declares no required env vars in registry metadata, but the README and SKILL.md mention optional cloud providers and CLI tools. The mismatch between declared requirements and actual behavior is a red flag (unnecessary/misleading requirements).
Persistence & Privilege
The skill does not request always:true and doesn't modify other skills' configurations in the repo. However it will perform local installs (pip --user / break-system-packages) and may download large model files into the environment, and it reads other skill files (e.g., ~/.copilot/skills/prompt-engineer/SKILL.md) to detect integration—this is limited privilege but should be accepted consciously by the user.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install audio-transcriber-pro
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /audio-transcriber-pro 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
audio-transcriber-pro v1.0.0 - Initial release of audio-transcriber-pro skill. - Automates transcription of audio recordings to structured Markdown documents. - Extracts rich metadata: speakers, timestamps, language, file size, and duration. - Generates meeting minutes, action items, and executive summaries using LLM integration. - Supports multiple audio formats, auto-detects best available transcription engine (Faster-Whisper/Whisper). - Offers one-click dependency installation or manual setup guidance.
元数据
Slug audio-transcriber-pro
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Audio Transcriber Pro 是什么?

Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。

如何安装 Audio Transcriber Pro?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install audio-transcriber-pro」即可一键安装,无需额外配置。

Audio Transcriber Pro 是免费的吗?

是的,Audio Transcriber Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Audio Transcriber Pro 支持哪些平台?

Audio Transcriber Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Audio Transcriber Pro?

由 bingze00000(@bingze00000)开发并维护,当前版本 v1.0.0。

💬 留言讨论