fl-sean03/pcp/voice-transcription

Claude Code and agent skill by fl-sean03/pcp

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Transcribe audio files (voice memos, recordings) to text using OpenAI Whisper API or local transcription

Install

npx vskill@latest install fl-sean03/pcp/voice-transcription

SKILL.md

The same SKILL.md was published earlier as fl-sean03/pcp/voice-transcription.

Voice Transcription Skill

Transcribe audio files (voice memos, recordings, podcasts) to text using OpenAI's Whisper API or local transcription tools.

Purpose

This skill enables PCP to:

  • Transcribe voice memos sent via Discord
  • Convert audio recordings to searchable text
  • Process podcast clips or meeting recordings
  • Handle any audio-to-text conversion

When to Use

  • User sends a voice memo or audio file
  • User asks to "transcribe this"
  • Any audio file needs to be converted to text
  • Voice notes need to be captured in the vault

Supported Formats

OpenAI Whisper supports: mp3, mp4, mpeg, mpga, m4a, wav, webm, ogg, flac

For other formats (like opus), ffmpeg will convert automatically.

How to Execute

Step 1: Identify the Audio File

Check if the file exists and identify its format:

bash
file /path/to/audio.file
Step 2: Convert if Necessary

If the format isn't directly supported, convert with ffmpeg:

bash
# 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
Step 3: Transcribe Using Helper Script

Use the bundled transcribe.py script:

bash
python /workspace/skills/voice-transcription/transcribe.py /path/to/audio.wav

Or in Python:

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']}")
Step 4: Return Results

Present the transcription to the user in a readable format. Optionally capture it to the vault:

python
from vault_v2 import smart_capture
# Capture the transcription
result = smart_capture(
f"Voice memo transcription: {transcription_text}",
capture_type="note"
)

Fallback: Local Transcription

If OPENAI_API_KEY is not available but local whisper CLI is installed:

bash
# Check if whisper is installed
which whisper
# Use local whisper
whisper /path/to/audio.wav --model base --output_format txt

Configuration

Configure in /workspace/config/pcp.yaml:

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 Handling

ErrorSolution
"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

Example Workflow

User sends voice memo via Discord:

  1. Discord attachment saved to /tmp/discord_attachments/voice-memo.ogg
  2. PCP detects audio file, activates voice-transcription skill
  3. Convert to supported format: ffmpeg -i voice-memo.ogg -y voice-memo.mp3
  4. Transcribe: transcribe_audio("voice-memo.mp3")
  5. Return text to user: "Here's what you said: ..."
  6. Optionally capture to vault

Related Skills

  • /vault-operations - Capture transcriptions
  • /email-processing - Transcribe voice messages from emails
  • /task-delegation - Delegate long audio files to background processing

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fl-sean03/pcp/voice-transcription/badge)](https://verified-skill.com/skills/fl-sean03/pcp/voice-transcription)

Something wrong with this skill or its page? Tell us.