yang0/skill_youtube_topn_subtitle/youtube-domain-topn-videos
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Collect top-N YouTube hot videos for any domain from the last 24 hours with Patchright, then output title, intro snippet, metrics, and link. Use when asked for a ranked trend digest in a specific field such as AI, finance, robotics, gaming, cybersecurity, or any other topic.
Install
npx vskill@latest install yang0/skill_youtube_topn_subtitle/youtube-domain-topn-videosSKILL.md
YouTube Domain TopN Videos
Overview
Use Patchright to crawl YouTube search results filtered to "Today", generate multi-query candidates from a chosen domain, rank by a recency-adjusted hot score, and export top-N items.
Run Workflow
- Install runtime dependencies.
- Update search queries when needed.
- Run the scraper.
- Read JSON/Markdown outputs and continue reporting.
Install
Configure Queries
Default query templates are in references/query_templates.txt.
- Use
{domain}placeholder in each line. - Example line:
{domain} tutorial - You can override with
--queries-fileto pass explicit queries.
Execute
Useful options:
--domain <text>: Required domain/topic, for examplecybersecurityor跨境电商.--queries-file <path>: Use explicit query lines directly.--query-templates-file <path>: Use{domain}templates.--cookies-file <path>: Load YouTube cookies (NetscapeorJSON).--max-results-per-query <n>: Increase candidate pool before ranking.--gl <country>and--hl <lang>: Control YouTube geo/language.--headed: Run non-headless for debugging.--output-json <path>and--output-md <path>: Change output files.
Default output layout:
- Project root directory:
outputs/YYYY/MM/DD/ - Filename pattern:
YYYYMMDD_top{N}_{domain}_{hours}h.jsonand.md
Output Contract
Each ranked record includes:
title: Video title.intro: Description snippet from search card.data: Channel, views, publish text, age-hours estimate, duration, hot score, domain, matched queries.link: Canonical YouTube watch link.
Troubleshooting
- If results are empty, increase
--scroll-roundsand--max-results-per-query. - If region bias is wrong, set
--glexplicitly (for exampleUS,JP,TW). - If YouTube UI changes, update DOM selectors in
scripts/fetch_topn_domain_videos.py.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingyoutube-domain-topn-videos/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yang0/skill_youtube_topn_subtitle/youtube-domain-topn-videos)