AGENT SKILL

reframe-transcribe

Use when transcribing speech from audio/video to text with WORD-LEVEL timing (for captions, karaoke subtitles, clip-boundary snapping, or diarization). The proven local pipeline is faster-whisper (large-v3-turbo on GPU / small on CPU) for the transcript, then a SEPARATE ctc-forced-aligner second.

使用场景图像与多媒体
License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
reframe-transcribe
description
Use when transcribing speech from audio/video to text with WORD-LEVEL timing (for captions, karaoke subtitles, clip-boundary snapping, or diarization). The proven local pipeline is faster-whisper (large-v3-turbo on GPU / small on CPU) for the transcript, then a SEPARATE ctc-forced-aligner second.

03 SKILL.md 正文

Transcribe (speech to timed text)

Goal: turn an audio/video file into a Transcript — language + segments + per-word {text, start, end} — that is accurate, correctly timed at the word level, and degrades loudly (never silently) when a GPU or model is missing.

This skill distills the real, shipped pipeline from Reframe (sidecar/media_studio/features/transcribe.py, parakeet_asr.py, ctc_align.py + their _backend.py siblings) plus current Hugging Face model options. The architecture is deliberately two passes, and the single most important design decision is why it is not WhisperX.


0. The headline decision: two passes, NOT WhisperX

WhisperX = faster-whisper + a bundled forced-alignment stage + optional pyannote. Its alignment stage loads a language-specific wav2vec2 model keyed by the detected language. That is the trap:

  • Romanian (and many non-EN languages) have no good/any bundled wav2vec2 alignment model in WhisperX's map → it either falls back to a wrong model, produces garbage word times, or crashes outright on the missing key.
  • It couples ASR and alignment, so you cannot swap ASR engines independently.

Reframe's fix (adopt this): keep ASR and alignment as two independent seams:

  1. ASR pass → faster-whisper (default) or Parakeet (opt-in) → segment + rough word times in the Transcript schema.
  2. Alignment pass → a separate ctc-forced-aligner (MahmoudAshraf) call that re-derives word boundaries. Its **default model is MMS-300M

1. The Transcript schema (the contract everything speaks)

2. The real recipe

2.1 Dependencies

ASR (default engine) — CTranslate2 backend, fast + low VRAM

Word-level alignment second pass (the karaoke timing)

Opt-in alternative engine (multilingual transducer)

ffmpeg must be on PATH (audio decode for the aligner + duration probe)

2.2 Pass 1 — ASR (faster-whisper)

Device/compute policy (Reframe DEFAULT_*):

GPU present -> "cuda" + "float16" + model "large-v3-turbo"

CPU only -> "cpu" + "int8" + model "small" (turbo is impractically slow on CPU)

transcribe() returns a LAZY generator + info. Work happens as you iterate —

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0