Skills for Real Engineers. Straight from my .agents directory.
weibo-transcribe
Agent skill fromchubbyguan/chubbyskills
微博视频 → 下载 → 转录 → 存为 Markdown。 支持 weibo.com 和 m.weibo.cn 链接,无需登录。
How to install weibo-transcribe
npx skills add chubbyguan/chubbyskills# or add only this skill to Claude Code: copy the folder
weibo-transcribe/
# into
~/.claude/skills/weibo-transcribe/ (all projects)
.claude/skills/weibo-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://weibo.com/xxxxx"2526# 移动端链接(更稳定)27python scripts/transcribe.py "https://m.weibo.cn/xxxxx"2829# 指定输出目录30python scripts/transcribe.py "https://m.weibo.cn/xxxxx" -o ./output31```3233## 流程3435### Step 1: yt-dlp 下载音频3637微博对桌面端 UA 拦截较严,脚本自动使用移动端 UA + Referer 伪装。优先用 `m.weibo.cn` 链接,成功率更高。3839```bash40yt-dlp --extract-audio --audio-format mp3 --audio-quality 128K \41 --user-agent "Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) ..." \42 --referer "https://m.weibo.cn/" \43 "https://m.weibo.cn/status/example"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="zh",62 use_itn=True,63 batch_size_s=60,64)65```6667### Step 3: 生成 Markdown6869脚本自动创建带 frontmatter 的 Markdown 文件,包含来源链接、作者、语言和转录文本。下载失败会自动重试。7071## 已知限制7273- **链接形态**:桌面端 `weibo.com` 链接常被反爬拦截,优先使用 `m.weibo.cn` 移动端链接74- **反爬**:微博对非移动端 UA 和缺失 Referer 的请求拦截较严;脚本已内置移动端 UA,但频繁请求仍可能触发限流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.
