Xiaoyuzhou Podcast Download & Transcription

VerifiedCaution

Download podcasts from xiaoyuzhoufm.com and generate full transcripts using FunASR ASR. Supports speaker diarization and smart segmentation.

Sby Skills Guide Bot
Data & AIIntermediate
7/25/2026
Claude Code
#xiaoyuzhou#podcast#transcription#asr#download

Recommended for

Automated summary

Downloads Xiaoyuzhou FM podcast episodes and generates full transcripts using FunASR automatic speech recognition.

Strengths

  • Accurate Chinese ASR with speaker diarization
  • Structured output with metadata, show notes, and formatted transcript
  • Supports both full URLs and episode IDs as input
  • Optimized for Apple Silicon with MPS acceleration

Limitations

  • Requires internet access for downloading episodes
  • Diarization may be less accurate with overlapping speech
  • Processing time scales with audio length (0.3-0.5x real-time)
When to use it

Use this skill when you need to obtain the full text content of a Xiaoyuzhou FM podcast episode for analysis or search.

When not to use it

Do not use this skill for non-Chinese podcasts or when the provided link is not from xiaoyuzhoufm.com.

Security analysis

Caution
Quality score92/100

The skill executes installation scripts and downloads external resources, which carries a moderate risk of supply chain attacks or malicious payloads. The toolset is powerful but used for legitimate transcription tasks.

Findings
  • •Installs dependencies via a shell script that may download and execute arbitrary code from the internet (install.sh).
  • •Downloads audio files from external URLs using webfetch and bash, which could be tampered with.
  • •Uses deep learning models that may have vulnerabilities though locally executed.
How this analysis is made

Examples

Download and transcribe an episode by URL
Download and transcribe the podcast episode at https://www.xiaoyuzhoufm.com/episode/6942f3e852d4707aaa1feba3
Transcribe with speaker diarization
Use the xiaoyuzhou podcast skill to download the episode with ID 6942f3e852d4707aaa1feba3 and generate a full transcript with speaker labels.
Transcribe with custom hotwords
Transcribe the Xiaoyuzhou podcast episode https://www.xiaoyuzhoufm.com/episode/6942f3e852d4707aaa1feba3 and include hotwords for '巴菲特 投资' to improve accuracy.

name: xiaoyuzhou-podcast description: Download Xiaoyuzhou FM podcasts with full transcripts via FunASR ASR. Use when user provides xiaoyuzhoufm.com links or requests podcast content analysis. allowed-tools:

  • bash
  • read
  • glob
  • webfetch

Xiaoyuzhou Podcast Skill

Download podcasts from xiaoyuzhoufm.com and generate full transcripts using FunASR Automatic Speech Recognition (ASR).

Overview

This skill processes Xiaoyuzhou FM podcast links to:

  1. Download audio files and show notes
  2. Generate full transcripts via ASR (FunASR paraformer-zh)
  3. Extract structured metadata
  4. Provide comprehensive content for analysis

When to Use

Activate this skill when:

  • User provides a xiaoyuzhoufm.com episode link
  • User asks to "download podcast" or "transcribe podcast"
  • User needs full text content of a podcast for analysis
  • User provides a 24-character hex episode ID

Workflow

Step 1: Install Dependencies

First-time setup:

~/.claude/skills/xiaoyuzhou-podcast/scripts/install.sh

This checks and installs:

  • Python 3.8+
  • PyTorch with Metal (MPS) acceleration
  • FunASR and ModelScope
  • xyz-dl downloader

Step 2: Download Audio and Show Notes

~/.claude/skills/xiaoyuzhou-podcast/scripts/download.sh <URL or Episode ID>

Examples:

# Using full URL
scripts/download.sh https://www.xiaoyuzhoufm.com/episode/6942f3e852d4707aaa1feba3

# Using episode ID only
scripts/download.sh 6942f3e852d4707aaa1feba3

# Custom output directory
scripts/download.sh 6942f3e852d4707aaa1feba3 ~/MyPodcasts

Output structure:

~/Research/Podcast/
├── {id}_{host} - {title}/       # 播客目录
│   ├── README.md                # 最终合并文档(Show Notes + 转录)
│   └── .cache/                  # 临时缓存(处理后自动删除)
│       ├── *.md                 # Show Notes
│       └── *.m4a                # 音频文件

Step 3: Generate Full Transcript (Enhanced)

python3 ~/.claude/skills/xiaoyuzhou-podcast/scripts/transcribe_enhanced.py --audio <audio_path>

New Features:

  • ✅ Speaker Diarization - Automatically identify different speakers
  • ✅ Smart Segmentation - Intelligent paragraph breaks based on context
  • ✅ Dialogue Formatting - Structured conversation format with speaker labels

Options:

  • --audio: Path to audio file (required)
  • --output-dir: Custom output directory
  • --hotword: Space-separated keywords to improve accuracy
  • --batch-size: Batch size in seconds (default: 300)
  • --no-diarization: Disable speaker diarization
  • --no-segmentation: Disable smart segmentation

Example:

# Basic transcription with all enhancements
python3 scripts/transcribe_enhanced.py --audio ~/Research/Podcast/6942f3e852d4707aaa1feba3/.cache/podcast.m4a

# With hotwords
python3 scripts/transcribe_enhanced.py --audio podcast.m4a --hotword "巴菲特 穆迪 投资理念"

# Disable speaker diarization (faster)
python3 scripts/transcribe_enhanced.py --audio podcast.m4a --no-diarization

Output:

~/Research/Podcast/{id}_{host} - {title}/.cache/
├── {id}_{host} - {title}.txt              # Raw transcript
├── {id}_{host} - {title}_formatted.md     # Enhanced version ⭐
└── {id}_{host} - {title}_timestamp.txt    # With timestamps

Formatted Version Includes:

  1. Dialogue Record - Speaker-labeled conversations (when diarization enabled)
  2. Full Text - Smart paragraph segmentation

Step 4: Extract Structured Information

~/.claude/skills/xiaoyuzhou-podcast/scripts/extract-info.sh <Episode ID or Show Notes path>

This outputs:

  • Basic metadata (title, host, duration, date)
  • Links (episode URL, audio URL)
  • File locations
  • Transcript statistics and preview

Input Format

Accepts either:

  • Full URL: https://www.xiaoyuzhoufm.com/episode/{24-char-hex-id}
  • Episode ID: 24-character hexadecimal string (e.g., 6942f3e852d4707aaa1feba3)

Performance

Expected performance on Mac M1/M2/M3:

  • Chinese ASR accuracy: > 90%
  • Processing speed: 0.3-0.5x real-time (1 hour audio → 18-30 min transcription)
  • Memory usage: ~1.5-2GB (model + audio)
  • Metal (MPS) acceleration: 2-3x faster than CPU

Technical Details

ASR Engine

FunASR paraformer-zh:

  • Model: 220M parameters, ~900MB
  • Training data: 60,000 hours of Chinese Mandarin
  • Native timestamp support (character-level)
  • Automatic punctuation restoration
  • Voice Activity Detection (VAD) for silence removal

Model Storage

Models are automatically downloaded to:

~/.cache/modelscope/hub/iic/
├── speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pybuild/
├── speech_fsmn_vad_zh-cn-16k-common-pybuild/
└── punc_ct-transformer_cn-en-common-vocab471067-large/

Total disk usage: ~2GB (first-time download)

Acceleration

  • Mac M1/M2/M3: Metal Performance Shaders (MPS)
  • NVIDIA GPU: CUDA support (optional)
  • CPU: Fallback mode (slower)

Success Response Format

[SUCCESS] Podcast processed successfully

**Metadata:**
- Title: {title}
- Host: {host}
- Duration: {duration}
- Published: {date}
- Episode ID: {id}

**Files:**
- Final Document: ~/Research/Podcast/{id}_{host} - {title}/README.md
- (Cache files deleted after processing)

**Transcript Statistics:**
- Word count: {count}
- Processing time: {time}

**Transcript Preview:**
{first 500 characters}...

Error Handling

| Error Type | Message | Solution | |------------|---------|----------| | invalid_url | Invalid URL format | Use full URL or 24-char hex ID | | not_installed | Dependencies missing | Run install.sh | | download_failed | Audio download failed | Check network, verify URL | | transcribe_failed | ASR transcription failed | Check audio file integrity | | not_found | Episode not found | Verify URL is correct | | mps_unavailable | Metal acceleration unavailable | Will use CPU fallback |

Important Notes

Usage Restrictions

  • Personal Use Only: Downloaded content and transcripts are for personal use only
  • Support Creators: Consider supporting podcast creators through official channels
  • Platform Terms: Respect Xiaoyuzhou's terms of service
  • Rate Limiting: Avoid frequent bulk downloads to prevent server overload

Accuracy Considerations

  • ASR accuracy is ~90%+, but may vary with:

    • Accents and dialects
    • Background music or noise
    • Multiple speakers (no speaker diarization)
    • Technical terminology
  • Hotwords: Use --hotword parameter to improve specific term recognition

  • Review Recommended: Proofread critical content manually

Troubleshooting

Common Issues

1. MPS (Metal) not available

  • Ensure Mac M1/M2/M3 device
  • Update macOS to latest version
  • PyTorch 2.0+ required

2. Model download fails

  • Check internet connection
  • Verify sufficient disk space (~2GB)
  • Use ModelScope mirror if in China

3. Slow transcription

  • Check MPS is enabled: python3 -c "import torch; print(torch.backends.mps.is_available())"
  • Increase batch size if RAM allows
  • Close other resource-intensive applications

4. Poor accuracy on specific terms

  • Add hotwords: --hotword "term1 term2 term3"
  • Check audio quality

For detailed troubleshooting, see references/troubleshooting.md

Example Usage

User: 帮我下载并转录这个播客 https://www.xiaoyuzhoufm.com/episode/6942f3e852d4707aaa1feba3

Assistant: I'll help you download and transcribe this podcast. Let me start by running the installation check, then download and transcribe it.

[Runs install.sh]
[Runs download.sh with URL]
[Runs transcribe.py with audio file]
[Runs extract-info.sh to show summary]

[SUCCESS] Podcast downloaded and transcribed!

**Metadata:**
- Title: EP9 深度专访MIT博士"黑色面包"-我为什么重仓Fiserv (FISV)
- Host: 鹅先知 投资、出海和长寿科技
- Duration: 196:20
- Published: 2025-01-15
- Episode ID: 6942f3e852d4707aaa1feba3

**Files:**
- Final Document: ~/Research/Podcast/6942f3e852d4707aaa1feba3_鹅先知.../README.md

**Transcript Preview:**
大家好,欢迎收听本期节目。今天我们邀请了MIT博士...

The transcript is ready for analysis. Would you like me to summarize key points or search for specific topics?

References

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/xiaoyuzhou-podcast-download-transcription-mrzxup37/download' --output '.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37/SKILL.md.part' && mv '.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37/SKILL.md.part' '.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37/SKILL.md' && test -s '.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/xiaoyuzhou-podcast' && cp -R '.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37' '.claude/skills/xiaoyuzhou-podcast'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37'

openskills read 'xiaoyuzhou-podcast-download-transcription-mrzxup37'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/xiaoyuzhou-podcast-download-transcription-mrzxup37/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills