# Wlzh Youtube Tracker

Track YouTube channels for new uploads.

- Repository: https://github.com/wlzh/skills (694 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-27
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add wlzh/skills --skill wlzh-youtube-tracker -g -a claude-code -y`
Codex: `npx skills add wlzh/skills --skill wlzh-youtube-tracker -g -a codex -y`
Cursor: `npx skills add wlzh/skills --skill wlzh-youtube-tracker -g -a cursor -y`
Gemini CLI: `npx skills add wlzh/skills --skill wlzh-youtube-tracker -g -a gemini-cli -y`

## Description

Track YouTube channels for new uploads. Supports both RSS mode (no API key needed, unlimited quota) and API mode. Use when: add/remove/list tracked YouTube channels, check for new videos, or run scheduled YouTube channel monitoring.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# wlzh-youtube-tracker

A script-backed Skill to maintain a list of tracked YouTube channels and periodically check for **new uploads**.

## v3.1.0 - Self-contained Telegram Sending (2026-06-06)

**Critical reliability fix**, script now sends Telegram directly, no LLM relay needed.

### Changes
- **`notify` sends Telegram directly**: Script calls Telegram Bot API itself, no LLM relay
- **Atomic seen marking**: Only marks video as seen AFTER successful Telegram send
- **Auto-retry on failure**: Failed sends stay "unseen", next cron cycle retries automatically
- **Reads bot token from `~/.openclaw/openclaw.json`**: No extra config needed
- **Fallback mode**: If bot token unavailable, falls back to stdout output for LLM relay

### Bug fix
- v3.0.0 had a critical bug: `notify` marked videos as seen immediately upon detection,
  but Telegram sending was done by LLM. If LLM failed (rate limit/timeout), videos were
  lost forever, marked as seen but never sent. v3.1.0 fixes this completely.

---

## v3.0.0 - Parallel Fetching + Notify Mode (2026-06-06)

**Major performance optimization**, parallel fetching, ~10x faster.

### Changes
- **Parallel HTTP fetching**: All channels now fetch concurrently (15 parallel curl processes)
- **~10x faster**: 55 channels check in ~4-5 seconds (was ~45 seconds with serial curl)
- **New `notify` command**: Outputs Telegram-ready formatted messages (📺🎬🔗 format)

---
  - Eliminates timeout failures (the #2 failure cause)
  - No more ~24k tokens consumed per check
  - Success rate expected: ~99% (was ~64%)

### Why this matters
- Previous cron used `isolated agentTurn`: LLM → exec script → LLM interpret → send
- Each run consumed 24-95k tokens and took 45-180s, frequently hitting API rate limits
- New approach: systemEvent → exec script (4s) → send if needed → done

## v2.1.0 - Proxy Support (2026-06-05)

The rest: https://github.com/wlzh/skills/blob/HEAD/wlzh-youtube-tracker/SKILL.md
