Loading...
Loading...
Run a daily content digest pipeline that fetches Podcast RSS feeds and YouTube channels, transcribes audio, generates AI summaries in Traditional Chinese, and optionally sends notifications via Telegram. Use this skill whenever the user wants to: set up or run a daily digest, summarize podcasts or YouTube videos, create a content briefing, aggregate RSS/YouTube content, or build an automated summary system. Also triggers for: "daily digest", "每日摘要", "podcast 摘要", "YouTube 整理", "跑摘要", "內容彙整", "幫我整理今天的 podcast", "summarize my subscriptions", or any request to periodically collect and summarize media content. Even if the user just says "digest" or "摘要", check if this skill applies.
npx skill4agent add abe1272001/daily-digest-skill daily-digest$ARGUMENTS| Command | Example | Action |
|---|---|---|
| (empty) | | Show usage guide below |
| | Execute the full pipeline |
| | Run first-time setup |
| | Add a new source |
| | Show config, sources, and last run info |
| | Show usage guide below |
help/daily-digest╔══════════════════════════════════════════════════╗
║ 📰 Daily Digest v0.2.0 ║
║ 每日內容摘要 Pipeline ║
╚══════════════════════════════════════════════════╝
指令 說明
──────────────────────────────────────────────
/daily-digest setup 首次設定(來源 + 通知)
/daily-digest run 執行一次完整摘要
/daily-digest add <url> 新增 Podcast 或 YouTube 來源
/daily-digest status 查看來源與執行狀態
/daily-digest help 顯示此說明
快速開始
──────────────────────────────────────────────
Step 1 → /daily-digest setup 設定內容來源
Step 2 → /daily-digest run 跑第一次摘要
也可以直接說
──────────────────────────────────────────────
「幫我整理今天的 podcast 和 YouTube」
「跑一次每日摘要」
「新增這個 RSS 到 daily digest: https://...」claude -pdaily-digest-config/── Daily Digest Setup ─────────────────────────────
[1/4] 檢查依賴套件
[2/4] 設定內容來源
[3/4] 設定通知方式(可跳過)
[4/4] 驗證設定
────────────────────────────────────────────────────python "${CLAUDE_SKILL_DIR}/scripts/setup.py" --checkpython "${CLAUDE_SKILL_DIR}/scripts/setup.py" --installdaily-digest-config/sources.yamlsources:
- name: "來源名稱"
type: podcast # or "youtube"
url: "https://..." # RSS feed URL or YouTube channel handle
limit: 5 # max items per run
# YouTube-specific options:
# filter: livestream # skip livestreams
# transcript: both # try subs first, fallback whisper要設定通知嗎?(可以之後再設定)
[1] Telegram Bot — 推薦,手機/桌面都好讀
[2] 先跳過 — 摘要只存本地 Markdown
選擇 (1/2):── Telegram Bot 設定 ──────────────────────────────
Step 1: 在 Telegram 搜尋 @BotFather
Step 2: 發送 /newbot,設定 bot 名稱和 username
Step 3: 複製 BotFather 給你的 Bot Token
Step 4: 對你的 bot 發送 /start
Step 5: 取得 chat_id:
curl https://api.telegram.org/bot<TOKEN>/getUpdates
找到 "chat":{"id": 數字} 就是你的 chat_id
────────────────────────────────────────────────────daily-digest-config/telegram.yamlbot_token: "your-bot-token"
chat_id: 123456789telegram.yamlpython "${CLAUDE_SKILL_DIR}/scripts/fetch_podcast.py" --url "URL" --limit 1 --output-dir /tmp/digest-test/
python "${CLAUDE_SKILL_DIR}/scripts/fetch_youtube.py" --channel "HANDLE" --limit 1 --output-dir /tmp/digest-test/python "${CLAUDE_SKILL_DIR}/scripts/notify_telegram.py" \
--config daily-digest-config/telegram.yaml \
--test── Setup Complete ─────────────────────────────────
來源: 2 個(1 Podcast + 1 YouTube)
通知: Telegram ✓ / 未設定(本地 Markdown)
下一步: /daily-digest run
────────────────────────────────────────────────────/daily-digest status── Daily Digest Status ────────────────────────────
來源 (N 個):
• [podcast] 來源名稱 — https://...
• [youtube] 來源名稱 — @handle
通知:
• Telegram ✓ / 未設定
上次執行: YYYY-MM-DD HH:MM
已處理: N 個項目
────────────────────────────────────────────────────python "${CLAUDE_SKILL_DIR}/scripts/config_loader.py" \
--sources daily-digest-config/sources.yaml \
--state daily-digest-config/state.json── Daily Digest Pipeline ──────────────────────────
[v] Step 1: 載入設定與狀態
[v] Step 2: 抓取內容 (3 sources → 5 items)
[v] Step 3: 去重 (2 new, 3 skipped)
[~] Step 4: 轉錄音訊...
[ ] Step 5: 摘要各項目
[ ] Step 6: 跨來源分析
[ ] Step 7: 儲存摘要
[ ] Step 8: 推送通知
[ ] Step 9: 更新狀態
────────────────────────────────────────────────────python "${CLAUDE_SKILL_DIR}/scripts/config_loader.py" \
--sources daily-digest-config/sources.yaml \
--state daily-digest-config/state.jsonpython "${CLAUDE_SKILL_DIR}/scripts/fetch_podcast.py" \
--url "RSS_FEED_URL" \
--limit 5 \
--source-name "來源名稱" \
--download-audio \
--output-dir daily-digest-workspace/fetched/python "${CLAUDE_SKILL_DIR}/scripts/fetch_youtube.py" \
--channel "CHANNEL_HANDLE_OR_URL" \
--limit 5 \
--source-name "來源名稱" \
--filter-livestream \
--transcript both \
--output-dir daily-digest-workspace/fetched/{id, title, description, published, source_name, transcript?, audio_path?}processed_idsaudio_pathtranscriptpython "${CLAUDE_SKILL_DIR}/scripts/transcribe.py" \
--audio "path/to/audio.wav" \
--model tiny \
--language zh### [來源名稱] — [標題]
📅 YYYY-MM-DD
**重點摘要:**
• point 1
• point 2
• point 3
**關鍵觀點:**
paragraph with notable insights, quotes, or data## 跨來源分析
### 共同主題
themes across 2+ sources
### 不同觀點
where sources disagree or differ
### 今日洞察
your synthesis and actionable takeawaysdaily-digest-workspace/summaries/YYYY-MM-DD.mddaily-digest-workspace/transcripts/daily-digest-config/telegram.yamlpython "${CLAUDE_SKILL_DIR}/scripts/notify_telegram.py" \
--config daily-digest-config/telegram.yaml \
--file daily-digest-workspace/summaries/YYYY-MM-DD.md📄 摘要已儲存至 daily-digest-workspace/summaries/YYYY-MM-DD.md
💡 如需推送通知,執行 /daily-digest setup 設定 Telegrampython "${CLAUDE_SKILL_DIR}/scripts/update_state.py" \
--state daily-digest-config/state.json \
--processed-ids "id1,id2,id3"── Pipeline Complete ──────────────────────────────
日期: YYYY-MM-DD
新項目: N 篇(X Podcast + Y YouTube)
摘要: daily-digest-workspace/summaries/YYYY-MM-DD.md
通知: ✓ Telegram 已推送 / ⏭ 跳過(未設定)
耗時: ~Xm Xs
────────────────────────────────────────────────────daily-digest-config/sources.yamlpython "${CLAUDE_SKILL_DIR}/scripts/fetch_podcast.py" --url "NEW_URL" --limit 1 --output-dir /tmp/digest-test/python "${CLAUDE_SKILL_DIR}/scripts/fetch_youtube.py" --channel "HANDLE" --limit 1 --output-dir /tmp/digest-test/── Source Added ────────────────────────────────────
名稱: 新來源名稱
類型: podcast / youtube
URL: https://...
驗證: ✓ 成功抓取 1 筆測試資料
────────────────────────────────────────────────────${CLAUDE_SKILL_DIR}/references/scheduling.md