원클릭으로
voice-transcription
Transcribe audio files (voice memos, recordings) to text using OpenAI Whisper API or local transcription
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Transcribe audio files (voice memos, recordings) to text using OpenAI Whisper API or local transcription
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
brief, summary, daily, weekly, end of day, EOD, digest, morning, recap, meeting prep, what's due, status update, review
Interactive web tasks, browser login, click, scroll, form interaction, authenticated sessions, Playwright MCP (project)
Query and summarize Claude Code terminal session history
Email, inbox, Outlook, Microsoft 365, mail, messages, fetch emails, search emails, draft, reply, email processing (project)
fact, decision, architecture, knowledge, permanent, remember forever, always know, decisions, outcomes, lessons learned
GitHub CLI, docker commands, git operations, curl, native CLI tools, gh issue, gh pr, container, repository, API calls (project)
| name | voice-transcription |
| description | Transcribe audio files (voice memos, recordings) to text using OpenAI Whisper API or local transcription |
| triggers | ["voice","audio","transcribe","recording","memo","speech","voice memo","audio file"] |
| requires | {"bins":["ffmpeg"],"env":["OPENAI_API_KEY"],"scripts":["transcribe.py"]} |
| os | ["linux","darwin"] |
Transcribe audio files (voice memos, recordings, podcasts) to text using OpenAI's Whisper API or local transcription tools.
This skill enables PCP to:
OpenAI Whisper supports: mp3, mp4, mpeg, mpga, m4a, wav, webm, ogg, flac
For other formats (like opus), ffmpeg will convert automatically.
Check if the file exists and identify its format:
file /path/to/audio.file
If the format isn't directly supported, convert with ffmpeg:
# Convert to WAV (most compatible)
ffmpeg -i input.opus -ar 16000 -ac 1 -y output.wav
# Common conversions:
ffmpeg -i input.ogg -y output.mp3
ffmpeg -i input.webm -y output.mp3
Use the bundled transcribe.py script:
python /workspace/skills/voice-transcription/transcribe.py /path/to/audio.wav
Or in Python:
from pathlib import Path
import sys
sys.path.insert(0, "/workspace/skills/voice-transcription")
from transcribe import transcribe_audio
result = transcribe_audio("/path/to/audio.wav")
if result["success"]:
print(result["text"])
else:
print(f"Error: {result['error']}")
Present the transcription to the user in a readable format. Optionally capture it to the vault:
from vault_v2 import smart_capture
# Capture the transcription
result = smart_capture(
f"Voice memo transcription: {transcription_text}",
capture_type="note"
)
If OPENAI_API_KEY is not available but local whisper CLI is installed:
# Check if whisper is installed
which whisper
# Use local whisper
whisper /path/to/audio.wav --model base --output_format txt
Configure in /workspace/config/pcp.yaml:
skills:
entries:
voice-transcription:
enabled: true
model: whisper-1 # OpenAI model
language: en # Default language (optional, auto-detect if not set)
fallback_to_local: true # Use local whisper if API fails
max_file_size_mb: 25 # Maximum file size to process
| Error | Solution |
|---|---|
| "File too large" | Split audio into smaller chunks |
| "Unsupported format" | Convert with ffmpeg first |
| "API rate limit" | Wait and retry, or use local fallback |
| "No API key" | Set OPENAI_API_KEY or use local whisper |
User sends voice memo via Discord:
/tmp/discord_attachments/voice-memo.oggffmpeg -i voice-memo.ogg -y voice-memo.mp3transcribe_audio("voice-memo.mp3")/vault-operations - Capture transcriptions/email-processing - Transcribe voice messages from emails/task-delegation - Delegate long audio files to background processing