Install
openclaw skills install @mcbaivn/youtube-content-analyzerPhân tích nội dung video YouTube từ file SRT/VTT/TXT hoặc URL trực tiếp. Tóm tắt nội dung, extract key points, phân tích chủ đề chính, tạo báo cáo. Dùng khi user yêu cầu "Tóm tắt video X", "Analyze content từ SRT", "Key points từ [URL]", "Đọc nội dung video mà không cần xem", hoặc cần hiểu nhanh nội dung hàng loạt video.
openclaw skills install @mcbaivn/youtube-content-analyzerĐọc phụ đề → tóm tắt nội dung, key points, phân tích chủ đề. Không cần xem video.
# Windows
$skillDir = "$env:USERPROFILE\.agents\skills\youtube-content-analyzer"
New-Item -ItemType Directory -Force $skillDir | Out-Null
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/mcbaivn/openclaw-skills-mcbai/main/skills/youtube/youtube-content-analyzer/SKILL.md" -OutFile "$skillDir\SKILL.md"
New-Item -ItemType Directory -Force "$skillDir\scripts" | Out-Null
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/mcbaivn/openclaw-skills-mcbai/main/skills/youtube/youtube-content-analyzer/scripts/analyze_content.py" -OutFile "$skillDir\scripts\analyze_content.py"
# macOS / Linux
mkdir -p ~/.agents/skills/youtube-content-analyzer/scripts
curl -o ~/.agents/skills/youtube-content-analyzer/SKILL.md \
https://raw.githubusercontent.com/mcbaivn/openclaw-skills-mcbai/main/skills/youtube/youtube-content-analyzer/SKILL.md
curl -o ~/.agents/skills/youtube-content-analyzer/scripts/analyze_content.py \
https://raw.githubusercontent.com/mcbaivn/openclaw-skills-mcbai/main/skills/youtube/youtube-content-analyzer/scripts/analyze_content.py
# Windows
git clone https://github.com/mcbaivn/openclaw-skills-mcbai.git
Copy-Item -Recurse openclaw-skills-mcbai\skills\youtube\youtube-content-analyzer $env:USERPROFILE\.agents\skills\
# macOS / Linux
git clone https://github.com/mcbaivn/openclaw-skills-mcbai.git
cp -r openclaw-skills-mcbai/skills/youtube/youtube-content-analyzer ~/.agents/skills/
Cách 1 - Từ file SRT/TXT có sẵn:
python scripts/analyze_content.py --file path/to/subtitle.srt
Cách 2 - Từ URL (tự tải subtitle rồi phân tích):
python scripts/analyze_content.py --url https://youtu.be/xxxx [--lang vi]
Cách 3 - Phân tích hàng loạt:
python scripts/analyze_content.py --folder Youtube_Subtitles/ChannelName/
Youtube_Analysis/
└── [Video_Title]_analysis_DD_MM_YYYY.txt
Mỗi file analysis gồm:
youtube-subtitle-extractor để có pipeline đầy đủ.