Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add davidtoby/agent-skills --skill whisper-video-transcribe-workaroundgit clone --depth 1 https://github.com/davidtoby/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/davidtoby/agent-skills/whisper-video-transcribe-workaround)<a href="https://agentmods.dev/skills/davidtoby/agent-skills/whisper-video-transcribe-workaround"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/whisper-video-transcribe-workaround/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/whisper-video-transcribe-workaround"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/whisper-video-transcribe-workaround.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00069 | $0.00752 |
| Opus 5.5 | $0.00028 | $0.00301 |
| Sonnet 5.5 | $0.00014 | $0.00150 |
| Haiku 4.5 | $0.00007 | $0.00075 |
Grade A, and why
whisper-video-transcribe-workaround scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Whisper Video Transcription Workaround
Problem
When running whisper video.mp4 directly, the process may:
- Appear to run (PID exists, CPU may be active)
- But output dir stays empty even after many minutes
- Eventually time out or get stuck at ~33-43% "downloading/decoding"
This happens because the Whisper CLI tries to decode the video container internally, and certain video streams (especially DASH/m3u8 segmented video from YouTube downloads) cause the decoder to stall.
Solution: Extract audio first, then transcribe
Step 1 — Extract audio with ffmpeg
ffmpeg -i "video.mp4" -vn -acodec pcm_s16le -ar 16000 -ac 1 /tmp/audio.wav -y
Flags explained:
-vn— no video stream-acodec pcm_s16le— 16-bit PCM audio (Whisper prefers)-ar 16000— 16kHz sample rate (Whisper's native rate)-ac 1— mono (better for speech recognition)-y— overwrite without asking
Step 2 — Transcribe the WAV with faster-whisper
from faster_whisper import WhisperModel
model = WhisperModel("tiny", device="cpu", compute_type="int8")
segments, info = model.transcribe(
"/tmp/audio.wav",
language="zh",
vad_filter=True,
vad_parameters=dict(min_silence_duration_ms=800)
)
results = [{"start": round(s.start, 2), "end": round(s.end, 2), "text": s.text.strip()} for s in segments]
Model size guide for Chinese:
tiny— fastest, ~3x realtime on CPU; acceptable accuracymedium— better accuracy but slowerlarge-v3-turbo— best accuracy; much heavier
Step 3 — Save transcript to file
Always write to a JSON file rather than holding in memory:
import json
with open("/tmp/transcript.json", "w", encoding="utf-8") as f:
json.dump({"segments": results, "language": info.language}, f, ensure_ascii=False, indent=2)
Verification checklist
- Audio WAV was created (
ls -lh /tmp/audio.wav) - faster-whisper started logging segment output
- JSON file written with non-empty segments array
- Transcript language matches expected language
- Total duration of last segment ≈ video duration
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 78 lines · 69 tokens per session scan A ba63b919f348
whisper-video-transcribe-workaround is a skill published in the GitHub repository davidtoby/agent-skills (11 stars, last pushed 14d ago), licensed MIT. It adds 69 tokens to every session and 752 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
whisper-video-transcribe-workaround compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| whisper-video-transcribe-workarounddavidtoby/agent-skills | Skill | 11 | 14d ago | MIT | A | 69 | Claude Code, Codex |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | 3d ago | Apache-2.0 | A | 169 | Claude Code, Codex |
| officecli-academic-paperiOfficeAI/OfficeCLI | Skill | 34k | 3d ago | Apache-2.0 | A | 141 | Claude Code, Codex |
| officecliiOfficeAI/OfficeCLI | Skill | 34k | 3d ago | Apache-2.0 | A | 56 | Claude Code, Codex |
| afrexai-performance-engineeringLeoYeAI/openclaw-master-skills | Skill | 2.2k | 12d ago | MIT | A | 71 | Claude Code, Codex |
| agent-anti-false-completionLeoYeAI/openclaw-master-skills | Skill | 2.2k | 12d ago | MIT | A | 96 | Claude Code, Codex |
| officecli-word-formiOfficeAI/OfficeCLI | Skill | 34k | 3d ago | Apache-2.0 | C | 224 | Claude Code, Codex |