Skills for Real Engineers. Straight from my .agents directory.
zhihu-transcribe
Agent skill fromchubbyguan/chubbyskills
知乎视频 → 下载 → 转录 → 存为 Markdown。 支持知乎视频链接、问答内嵌视频和专栏文章,无需登录。
How to install zhihu-transcribe
npx skills add chubbyguan/chubbyskills# or add only this skill to Claude Code: copy the folder
zhihu-transcribe/
# into
~/.claude/skills/zhihu-transcribe/ (all projects)
.claude/skills/zhihu-transcribe/ (one project)
1# 知乎视频转录 Skill23将知乎视频下载音频,用 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.zhihu.com/video/1234567890"2526# 问答内嵌视频(脚本自动提取视频 ID)27python scripts/transcribe.py "https://www.zhihu.com/question/12345/answer/67890"2829# 专栏文章(内嵌视频会被提取)30python scripts/transcribe.py "https://zhuanlan.zhihu.com/p/123456"3132# 指定输出目录33python scripts/transcribe.py "https://www.zhihu.com/video/1234567890" -o ./output34```3536## 流程3738### Step 1: yt-dlp 下载音频3940知乎视频页、问答页和专栏文章的链接形态不同,脚本统一交给 yt-dlp 解析。Referer + UA 伪装可规避基础反爬。4142```bash43yt-dlp --extract-audio --audio-format mp3 --audio-quality 128K \44 --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ..." \45 --referer "https://www.zhihu.com/" \46 "https://www.zhihu.com/video/1234567890"47```4849### Step 2: SenseVoice-Small 转录5051```python52from funasr import AutoModel5354model = AutoModel(55 model="iic/SenseVoiceSmall",56 trust_remote_code=True,57 vad_model="fsmn-vad",58 vad_kwargs={"max_single_segment_time": 30000},59 device="cpu",60)6162result = model.generate(63 input=audio_path,64 language="zh",65 use_itn=True,66 batch_size_s=60,67)68```6970### Step 3: 生成 Markdown7172脚本自动创建带 frontmatter 的 Markdown 文件,包含来源链接、标题、语言和转录文本。下载失败会自动重试。7374## 已知限制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.
