Skills for Real Engineers. Straight from my .agents directory.
tiktok-transcribe
Agent skill fromchubbyguan/chubbyskills
TikTok 视频 → 下载 → 转录 → 存为 Markdown。 支持 vm.tiktok.com / vt.tiktok.com 短链和完整链接,无需登录。
How to install tiktok-transcribe
npx skills add chubbyguan/chubbyskills# or add only this skill to Claude Code: copy the folder
tiktok-transcribe/
# into
~/.claude/skills/tiktok-transcribe/ (all projects)
.claude/skills/tiktok-transcribe/ (one project)
1# TikTok 视频转录 Skill23将 TikTok 视频下载音频,用 SenseVoice-Small 转录为文字,存为带 frontmatter 的 Markdown 文件。内容中英混杂时自动检测语言。45## 环境要求67```bash8# Python 3.9+9python -m venv .venv10source .venv/bin/activate1112# 依赖13pip install funasr modelscope torch torchaudio1415# 系统依赖16# macOS: brew install ffmpeg yt-dlp17# Ubuntu: sudo apt install ffmpeg && pip install yt-dlp18```1920## 使用方法2122```bash23# 完整链接24python scripts/transcribe.py "https://www.tiktok.com/@user/video/1234567890"2526# 短链(自动跟随跳转)27python scripts/transcribe.py "https://vm.tiktok.com/xxxxx"28python scripts/transcribe.py "https://vt.tiktok.com/xxxxx"2930# 指定输出目录31python scripts/transcribe.py "https://vm.tiktok.com/xxxxx" -o ./output32```3334## 流程3536### Step 1: yt-dlp 下载音频3738TikTok 有地区限制,脚本默认加 `--geo-bypass`。短链由 yt-dlp 自动跟随跳转,无需手动处理。3940```bash41yt-dlp --extract-audio --audio-format mp3 --audio-quality 128K \42 --geo-bypass \43 "https://vm.tiktok.com/xxxxx"44```4546### Step 2: SenseVoice-Small 转录4748```python49from funasr import AutoModel5051model = AutoModel(52 model="iic/SenseVoiceSmall",53 trust_remote_code=True,54 vad_model="fsmn-vad",55 vad_kwargs={"max_single_segment_time": 30000},56 device="cpu",57)5859result = model.generate(60 input=audio_path,61 language="auto", # TikTok 中英混杂,自动检测62 use_itn=True,63 batch_size_s=60,64)65```6667### Step 3: 生成 Markdown6869脚本自动创建带 frontmatter 的 Markdown 文件,包含来源链接、作者、语言和转录文本。7071## 已知限制7273- **地区限制**:部分地区或网络环境下 TikTok 内容可能无法访问,`--geo-bypass` 可缓解但不保证解决74- **反爬**:频繁请求可能触发限流;脚本内置重试,仍建议控制频率75…
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.
