@ychenjk-sudo/xiaoyuzhou-transcription
BTranscribe 小宇宙 (Xiaoyuzhou) podcast episodes to text with structured summaries. Extracts audio from a 小宇宙 link, runs Qwen ASR transcription, formats a speaker-segmented verbatim transcript, and generates key-point summaries and Q&A. Use when a user shares a 小宇宙 podcast link, requests 播客转录 (podcast transcription), 音频转文字 (audio-to-text), 逐字稿 (verbatim transcript), or 播客内容总结 (podcast content summary).
Install
agr install @ychenjk-sudo/xiaoyuzhou-transcription --target claudeWrites 2 files into .claude/skills/, pinned to git-f32a6399.
- .claude/skills/xiaoyuzhou-transcription/README.md
- .claude/skills/xiaoyuzhou-transcription/SKILL.md
Document
name: xiaoyuzhou-transcription description: "Transcribe 小宇宙 (Xiaoyuzhou) podcast episodes to text with structured summaries. Extracts audio from a 小宇宙 link, runs Qwen ASR transcription, formats a speaker-segmented verbatim transcript, and generates key-point summaries and Q&A. Use when a user shares a 小宇宙 podcast link, requests 播客转录 (podcast transcription), 音频转文字 (audio-to-text), 逐字稿 (verbatim transcript), or 播客内容总结 (podcast content summary)." user-invocable: true triggers:
- "小宇宙"
- "播客转录"
- "音频转文字"
- "逐字稿"
- "播客内容总结"
- "xiaoyuzhou"
- "podcast transcription"
小宇宙播客转录与总结
Transcribe 小宇宙 podcast episodes into structured Markdown: speaker-segmented verbatim transcript with timestamps, 5–8 key-point summaries grouped by theme, and 8–10 Q&A pairs covering core content.
Prerequisites
- Environment variable:
QWEN_API_KEY— 阿里云 DashScope API Key (required) - Dependencies:
curl,jq,python3
Workflow
Step 1: Transcribe audio
./scripts/transcribe.sh "https://www.xiaoyuzhoufm.com/episode/xxxxx" /tmp/transcript_raw.json
The script extracts the audio URL from the 小宇宙 page, submits an async transcription task to Qwen ASR (qwen3-asr-flash-filetrans, supports up to 8-hour episodes), polls until complete (typically 2–5 min), and downloads the JSON result.
Validation: Confirm /tmp/transcript_raw.json exists and contains a transcripts array before proceeding.
Step 2: Format verbatim transcript
python3 ./scripts/format_transcript.py /tmp/transcript_raw.json /tmp/transcript_formatted.md
Outputs Markdown with **Speaker** [HH:MM:SS] headers, auto-splitting paragraphs longer than 300 characters. Speaker detection uses content markers (e.g. "我是XXX"), not model diarization.
Validation: Confirm the output file is non-empty and contains at least one **...** speaker header.
Step 3: AI-generated summary (Agent)
Read the formatted transcript, then generate:
- 核心要点 (Key points): 5–8 most important insights, grouped by theme
- 关键 Q&A (Key Q&A): 8–10 question-answer pairs covering core content
- Write in Chinese, keep tone concise and professional
Step 4: Assemble final output
Merge the summary and verbatim transcript into one Markdown file saved to /workspace/podcasts/[播客名称].md. See README.md for the full output template.
Validation: Ensure the final file contains all three sections (核心要点, 关键问答, 逐字稿) before reporting success.
Notes
- Long episodes (1 h+) may take 2–10 min to transcribe; the script polls with a 1-hour timeout
- Speaker identification relies on content markers, not model-based diarization
- Summary quality depends on the OpenClaw session model in use
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicenseno SPDX license detected
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-f32a639905b12026-07-31