mcpbeat Sign in

Youtube Video API Skill

This skill helps users automatically extract channel-level and video detail data from a specific YouTube channel via BrowserAct API. Agent should proactively apply this skill when users express needs like extracting channel video data, getting latest or popular videos from a YouTube channel, tracking competitor channel content, extracting video metrics such as views likes comments, retrieving subscriber count and channel info, monitoring posting cadence of a YouTube channel, gathering video data for content strategy analysis, getting earliest videos of a YouTube creator, analyzing engagement signals across a full channel, and downloading structured YouTube video details without manual scraping.

3k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
5133
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/browser-act/skills --skill youtube-video-api-skill

What comes with it

3 967 bytes besides the instruction
scripts/youtube_video_api.py

The instruction itself

12 sections, as written by the author

YouTube Video API Skill

📖 Introduction

This skill provides users with a one-stop YouTube video data extraction service using BrowserAct's YouTube Video API template. It can directly extract structured channel-level data plus video detail data from a specific YouTube channel through a single API request. Just input the YouTube channel URL and video type (Latest, Popular, or Earliest), and you can get clean, ready-to-use video metrics.

✨ Features

  • No hallucinations, ensuring stable and accurate data extraction: Pre-set workflows avoid generative AI hallucinations.
  • No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
  • No IP access restrictions and geo-blocking: No need to deal with regional IP restrictions.
  • More agile execution speed: Compared to pure AI-driven browser automation solutions, task execution is faster.
  • Extremely high cost-effectiveness: Significantly reduces data acquisition costs compared to AI solutions that consume a large number of Tokens.

🔑 API Key Guidance Flow

Before running, you must check the BROWSERACT_API_KEY environment variable. If it is not set, do not take any other actions first. You should request and wait for the user to provide it collaboratively.

The Agent must inform the user at this time:

> "Since you have not configured the BrowserAct API Key yet, please go to the BrowserAct Console first to get your Key."

🛠️ Input Parameters

When calling the script, the Agent should flexibly configure the following parameters based on user needs:

  • YouTube_channel_url
  • Type: string
  • Description: Target YouTube channel URL used to load the channel video list.
  • Example: https://www.youtube.com/@BrowserAct
  • Video_type
  • Type: string
  • Description: Which ordering mode to use when traversing the channel video list.
  • Optional Values:
  • Latest
  • Popular
  • Earliest
  • Default: Popular

🚀 Invocation Method

The Agent should implement "one command gets results" by executing the following independent script:

# Invocation example
python -u ./scripts/youtube_video_api.py "YouTube_channel_url" "Video_type"

⏳ Running Status Monitoring

Since this task involves automated browser operations, it may take a long time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running) while running.

Agent Instructions:

  • While waiting for the script to return results, please keep an eye on the terminal output.
  • As long as the terminal is still outputting new status logs, it means the task is running normally. Do not misjudge it as a deadlock or unresponsiveness.
  • If the status remains unchanged for a long time or the script stops outputting and no result is returned, the retry mechanism can be considered.

📊 Data Output Description

After successful execution, the script will parse and print the results directly from the API response. The results include:

Channel fields

  • channel_title: Channel name displayed on the channel page
  • channel_url: Channel URL
  • subscribers: Subscriber count shown on the channel page

Video fields

  • video_title: Video title shown on the video page
  • video_url: Video URL
  • publish_date: Published date or time shown on YouTube
  • view_count: View count shown on YouTube
  • video_duration: Video duration
  • comment_count: Total number of comments (if available)
  • like_count: Like count (if available)

⚠️ Error Handling & Retry

During script execution, if an error occurs (such as network fluctuation or task failure), the Agent should follow the logic below:

  • Check the output content:
  • If the output contains "Invalid authorization", it means the API Key is invalid or expired. At this time, do not retry, but guide the user to recheck and provide the correct API Key.
  • If the output does not contain "Invalid authorization" but the task execution fails (for example, the output starts with Error: or the return result is empty), the Agent should automatically try to execute the script once more.
  • Retry limits:
  • Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error information to the user.

🌟 Typical Use Cases

  • Competitor Tracking: Track performance trends and posting cadence of a competitor's channel.
  • Creator Research: Analyze engagement signals and popular videos of content creators.
  • Content Ops Reporting: Monitor channel videos and performance metrics for reporting.
  • Growth Analytics: Understand what video types (Latest/Popular) drive growth.
  • Database Automation: Send channel videos directly into CRM or databases without manual export.
  • Market Research: Aggregate video metrics across different channels in a specific industry.
  • Trend Spotting: Identify the most popular videos on specific tech or gaming channels.
  • Audience Engagement Analysis: Correlate subscriber counts with video views and likes.
  • Content Strategy: Review a channel's earliest videos to understand their origin and growth path.

10. Automated Social Monitoring: Keep tabs on new content released by key industry leaders.

Other skills for the same job

different authors, same section of the catalogue
Libtv Skill
by ComeOnOliver
×1

agent-im 会话技能 - 通过 liblib.tv 的 AI 能力生成和编辑图片/视频。覆盖场景包括:生成(文生图、文生视频、图生视频、做动画、画一个xxx、来段xxx)、编辑修改(把xxx换成yyy、去掉xxx、加上xxx、改成xxx、调整xxx、局部修改、改镜头)、风格转换(风格迁移、转绘、换风格)、视频续写延长、复刻视频/TVC/宣传片、短剧/短漫剧生成、音乐MV生成、产品广告/展示片制作、分镜/故事板设计、教育视频/短视频制作。当用户提到 liblib、libtv、上传参考图/视频、查看生成进度时也应触发。关键判断:只要用户的请求涉及 AI 图片或视频的创作、生成、编辑、修改,无论措辞如何(如"画只猫"、"做个海报"、"把纸船换成爱心"、"这个视频帮我改一下"、"帮我复刻这段视频"、"用这首歌做个MV"、"一句话生成短剧"),都必须触发此技能。

10k tokens scripts zh
Seedance
by ComeOnOliver
×1

This skill should be used when the user asks to "generate video prompts", "create Seedance prompts", "write video descriptions", mentions "Seedance", "seedance", "即梦", "即梦平台", "视频提示词", "视频生成", "AI视频", "短剧", "广告视频", "视频延长", or discusses video prompt engineering, AI video generation, or Seedance 2.0 workflows.

8k tokens zh
Video Prompting Guide
by ComeOnOliver
×1

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

5k tokens
Voice Agent Expert
by ComeOnOliver
×1

This skill is a practical, 'use-it-while-debugging' reference for getting a LiveKit + Letta voice agent working reliably.

8k tokens scripts
Update Screenshots
by microsoft
vendor

Download screenshot baselines from the latest CI run and commit them. Use when asked to update, accept, or refresh component screenshot baselines from CI, or after the screenshot-test GitHub Action reports differences. This skill should be run as a subagent.

362 tokens
Reference Design Contract
by nexu-io

| Turn vague taste, screenshots, URLs, product notes, or "make it feel like this" references into a grounded DESIGN.md plus an implementation handoff. Use it before prototypes, decks, redesigns, or image remix work when the user needs a reusable visual direction rather than a one-off prompt.

3k tokens
Stitch::upload To Stitch
by google-labs-code
vendor

>- Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project. ALWAYS use this skill when you need to upload visual assets, HTML pages, or design docs to Stitch, particularly when direct MCP tool calls fail or truncate due to base64 token limits.

3k tokens scripts
Sn Image Doctor
by OpenSenseNova

| Environment diagnostic skill for SenseNova-Skills project. Checks that sn-image-base is properly installed and configured, validates dependencies and environment variables. Prompts user to configure missing required variables and saves them to .env file. After configuration, reloads environment and suggests agent restart if needed.

3k tokens scripts

How to use it

Copy the folder

Take browser-act/youtube-video-api-skill from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.