Skills for Real Engineers. Straight from my .agents directory.
douyin-transcribe
Agent skill fromchubbyguan/chubbyskills
抖音视频 → 下载 → 转录 → 存为 Markdown 的完整工作流。 支持短链接和完整链接;优先无 cookie 直采,被风控时回退 yt-dlp + 浏览器 cookie(无需登录)。
How to install douyin-transcribe
npx skills add chubbyguan/chubbyskills# or add only this skill to Claude Code: copy the folder
douyin-transcribe/
# into
~/.claude/skills/douyin-transcribe/ (all projects)
.claude/skills/douyin-transcribe/ (one project)
1# 抖音视频转录 Skill23将抖音视频下载音频,用 SenseVoice-Small 转录为文字,存为 Markdown 文件。45## 环境要求67```bash8# Python 3.9+9python -m venv .venv10source .venv/bin/activate1112# 依赖13pip install funasr modelscope torch torchaudio1415# 系统依赖16# macOS: brew install ffmpeg17# Ubuntu: sudo apt install ffmpeg18```1920## 使用方法2122```bash23python scripts/transcribe.py "https://v.douyin.com/xxxxx"24```2526## 流程(3 步)2728### Step 1: 从抖音下载音频2930使用 `iesdouyin.com/share/video/<id>` + 移动端 UA 获取 `window._ROUTER_DATA`,提取 CDN 下载链接。3132**关键点:**33- ✅ `iesdouyin.com/share/video/` 而非 `douyin.com/video/`34- ✅ 移动端 UA 必须用 iPhone35- ✅ `playwm` → `play` 去水印36- ⚠️ 首选无 cookie 直采;若分享页返回蜘蛛壳(风控),自动回退 yt-dlp + `YTDLP_COOKIES_FROM_BROWSER`(浏览器打开过 douyin.com 即可,无需登录)3738### Step 2: SenseVoice-Small 转录3940```python41from funasr import AutoModel42from funasr.utils.postprocess_utils import rich_transcription_postprocess4344model = AutoModel(45 model="iic/SenseVoiceSmall",46 trust_remote_code=True,47 vad_model="fsmn-vad",48 vad_kwargs={"max_single_segment_time": 30000},49 device="cpu",50)5152result = model.generate(input=audio_path, language="zh", use_itn=True, batch_size_s=60)53```5455### Step 3: 生成 Markdown5657自动创建带 frontmatter 的 Markdown 文件。5859## 性能数据6061| 视频时长 | 模型加载 | 转录耗时 | 总耗时 |62|------|------|------|------|63| 10 min | ~30s | ~25s | ~1 min |64| 30 min | ~30s | ~75s | ~2 min |65| 1h 22min | ~40s | ~180s | ~4 min |6667## 已知限制6869- SenseVoice-Small 模型首次下载约 893MB(从 ModelScope,国内快)70- CPU 推理质量略低于 GPU,但中文仍优于 Whisper-small71- VAD 自动切分可能把长停顿处切成两段72- 不支持说话人分离73…
Excerpt shown under the repository's MIT license.
More skills in chubbyskills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
