Skip to content
FunCoding

transcribe

Transcribe video and audio files via Gemini API. Use when the user asks to transcribe a recording, generate a meeting summary, extract speech from video or audio, or convert speech to text. Supports mp4, mkv, webm, avi, mov, mp3, wav, ogg, m4a, flac.

Star
565
Last commit
Dec 1, 2026

content/skills/transcribe/SKILL.md

View on GitHub

transcribe — video and audio transcription

Transcribes audio and video files via the Gemini API (gemini-3.6-flash by default).

Modes

Generic (default)

Verbatim speech transcription with timecodes [MM:SS] and speaker identification.

Output files:

  • <name> - transcript.md — verbatim speech with timecodes
  • <name> - summary.md — short summary (with the --with-summary flag)

UI analysis (--analyze-ui, video only)

Detailed video analysis with breakdown of on-screen interface, navigation, and actions, plus screenshots.

Output files:

  • <name> - summary.md — short overview (topic, participants, decisions)
  • <name> - detailed.md — step-by-step chronological analysis with screen content and screenshots
  • <name> - transcript.md — verbatim speech with timecodes
  • screenshots/ — PNG frames of key moments

Usage

/transcribe <FilePath> [--output-dir DIR] [--analyze-ui] [--with-summary] [--format md|txt]
ParameterRequiredDefaultDescription
FilePathyes—Path to audio / video file
--output-dirno<file_folder>/Transcript/<name>/Result directory
--analyze-uinooffUI-analysis mode (video only)
--with-summarynooffAdd a summary (for generic mode)
--formatnomdOutput format: md or txt

Supported formats

  • Video: mp4, mkv, webm, avi, mov
  • Audio: mp3, wav, ogg, m4a, flac, aac, wma

Dependencies

  • Python packages: google-genai, python-dotenv
  • System: ffmpeg, ffprobe in PATH
  • API key: environment variable GEMINI_API_KEY, or <skill-dir>/.env with GEMINI_API_KEY=... (the script also checks supported user-skill locations and then cwd/.env). Use a named assignment GEMINI_API_KEY=<value>; a bare key without the variable name is ignored.
  • Model (optional): GEMINI_MODEL in the environment or the same .env files overrides gemini-3.6-flash. Existing environment variables take precedence. Empty or whitespace-only values use the default. Choose a model supporting audio/video input and text output through generate_content; see the Gemini model catalog.

Procedure

  1. Determine FilePath and optional flags from the user's arguments.

  2. Run the script:

$env:PYTHONUNBUFFERED = "1"
python <skill-dir>/scripts/transcribe.py "<FilePath>" [--output-dir "<OutputDir>"] [--analyze-ui] [--with-summary] [--format md|txt]

IMPORTANT: PYTHONUNBUFFERED=1 is mandatory; otherwise stdout is buffered and progress is not displayed.

On macOS / Linux use PYTHONUNBUFFERED=1 python ... instead.

  1. The script runs long (5–15 minutes depending on length). Files > 1 hour are split automatically.

  2. After completion, report the result paths to the user.

  3. Read the summary (if any) or the start of the transcript and show it to the user.

Cost

Cost depends on the selected model, media token count and generated output. Check the current Gemini API pricing for GEMINI_MODEL or the default model before processing long recordings.

Limitations

  • Maximum ~1 hour per Gemini request (the script splits automatically)
  • Cyrillic file names: the script automatically copies the file to a temp location with an ASCII name
  • Screenshot quality depends on source video quality
  • Timecode accuracy +/- a few seconds
  • --analyze-ui with an audio file automatically falls back to generic + summary

Similar Skills

blender-motion-state-inspection

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

Official

slack-gif-creator

ANanthropics/skills203k2,822 new stars in the last 7 days

Featured

algorithmic-art

Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.

ANanthropics/skills203k2,822 new stars in the last 7 days

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k1,401 new stars in the last 7 days

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k818 new stars in the last 7 days

design-motion

GAgarrytan/gstack143k524 new stars in the last 7 days