yizhiyanhua-ai

YouTube AI Digest — AI skill for Claude Code

AI community

Claude Code Skill: Browse, summarize and capture AI-related YouTube videos.

How to install YouTube AI Digest

This entry records only its repository, not the path inside it, so there is no exact command to give. Open yizhiyanhua-ai/youtube-ai-digest and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What YouTube AI Digest does

Claude Code Skill: Browse, summarize and capture AI-related YouTube videos.

Alternatives in AI

  • Agentfiles — Browse, create, and edit AI agent files across Claude Code, Cursor, Codex, and 13+ tools — from Obsidian 529 ★
  • Browser Search — A skill for AI agents: search the web with SearXNG, browse with Camofox, bypass protections with CloakBrowser 499 ★
  • Claude AI MCP — Report issues related to MCP integration with Claude here 453 ★

README

📺 YouTube AI Digest

**让 Claude 帮你追踪 AI 领域最新动态**

[![Claude Code Skill](https://img.shields.io/badge/Claude%20Code-Skill-blueviolet?style=for-the-badge&logo=anthropic)](https://claude.ai/code) [![Python 3.9+](https://img.shields.io/badge/Python-3.9+-blue?style=for-the-badge&logo=python&logoColor=white)](https://python.org) [![License: MIT](https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE)

[English](./README.en.md) | **简体中文**


*自动浏览订阅频道、获取字幕、生成摘要报告 — 再也不错过任何 AI 热点*

✨ 功能特性

  • 🔍 智能抓取 — 从订阅频道获取最新 AI 相关视频
  • 📝 字幕提取 — 自动下载视频字幕(支持自动生成字幕)
  • 📊 报告生成 — 生成结构化的 Markdown 报告
  • 🖼️ 缩略图下载 — 自动保存视频封面

🚀 快速开始

安装

**方式一:通过 Claude Code Plugin 安装(推荐)**

# 添加 marketplace
claude plugin marketplace add https://github.com/yizhiyanhua-ai/youtube-ai-digest

# 安装插件
claude plugin install youtube-ai-digest@youtube-ai-digest

**方式二:手动克隆**

# 克隆到 Claude Code 技能目录
git clone https://github.com/yizhiyanhua-ai/youtube-ai-digest.git \
  ~/.claude/skills/youtube-ai-digest

**安装依赖**

pip install yt-dlp

配置频道

编辑 `data/channels.json` 添加你关注的 YouTube 频道:

{
  "channels": [
    {"name": "Two Minute Papers", "id": "UCbfYPyITQ-7l4upoX8nvctg"},
    {"name": "AI Explained", "id": "UCNJ1Ymd5yFuUPtn21xtRbbw"},
    {"name": "Yannic Kilcher", "id": "UCZHmQk67mN31gbHey6BVyNw"}
  ]
}

💡 **如何获取频道 ID?** 打开 YouTube 频道页面,URL 格式为 `youtube.com/channel/{CHANNEL_ID}`

使用方式

在 Claude Code 中直接对话:

用户: 今天有什么 AI 新视频?
用户: 总结一下第一个视频
用户: 把这个视频的要点整理成报告

📖 手动使用

# 1. 获取最近 7 天的视频列表
python scripts/fetch_videos.py --days 7 --keyword AI

# 2. 获取指定视频的字幕
python scripts/get_transcript.py --video-id dQw4w9WgXcQ

# 3. 生成 Markdown 报告
python scripts/generate_report.py --video-id dQw4w9WgXcQ --summary "视频摘要内容"

📁 目录结构

youtube-ai-digest/
├── .claude-plugin/
│   └── marketplace.json  # Plugin marketplace 配置
├── SKILL.md              # Claude Code 技能定义
├── README.