Agent skill

Youtube API Skill

by browser-act in browser-act/skills

This skill helps users automatically extract detailed video metrics and channel information from YouTube based on keyword searches using the BrowserAct API.

MITAuto-check passedData & Analytics

Install Youtube API Skill

skills CLI
$ npx skills add browser-act/skills --skill youtube-api-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install browser-act/skills youtube-api-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/browser-act/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/solutions/video-platforms/youtube-api-skill .claude/skills/youtube-api-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
youtube-api-skill
GitHub stars
6.1k
Used in
1 other repo
Token cost
~1.6k tokens
SKILL.md length
739 words
Files
2 (incl. scripts)
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

This skill helps users automatically extract detailed video metrics and channel information from YouTube based on keyword searches using the BrowserAct API.

  • Works in 5 steps: No Hallucinations, Ensuring Stable and… → No CAPTCHA Issues: No need to handle… → No IP Restrictions and Geofencing: No… → …
  • Tasks that involve Web scraping
  • SKILL.md covers 📖 Skill Introduction, ✨ Features, 🔑 API Key Guide Flow and 🛠️ Input Parameters, plus 4 more sections
  • Runs Python scripts from its folder; calls python; needs BROWSERACT_API_KEY

What it does

Youtube API Skill is an agent skill from browser-act/skills. This skill helps users automatically extract detailed video metrics and channel information from YouTube based on keyword searches using the BrowserAct API. The Agent should proactively apply this skill when users express needs such as extract specific keyword YouTube video detailed data, monitor the latest video performance of competitor channels, collect comment and like counts for videos on a specific topic, find AI agent tutorials published this week and extract metrics, evaluate total views and subscriber…

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/youtube_api.py`).

It sits in Data & Analytics, covering Web scraping, Blog and article writing and OKRs and executive reporting. It works with YouTube. The repository describes itself as: Browser automation CLI built for AI agents. Break through anti-bot walls, hand off to humans across platforms when stuck. Parallel multi-task execution, independent multi-session… The licence is MIT.

When your agent uses it

  • Tasks that involve Web scraping
  • Tasks that involve Blog and article writing
  • Tasks that involve OKRs and executive reporting

Example prompts

  • “/youtube-api-skill”

Requirements

  • Python 3
  • A credential in BROWSERACT_API_KEY

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. No Hallucinations, Ensuring Stable and Accurate Data Extraction: Pre-set workflow avoids AI-generated hallucinations.
  2. No CAPTCHA Issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP Restrictions and Geofencing: No need to deal with regional IP restrictions.
  4. Faster Execution Speed: Compared to pure AI-driven browser automation solutions, task execution is faster.
  5. Extremely High Cost-Effectiveness: Compared to AI solutions that consume a large amount of tokens, it can significantly reduce data…

What it can do on your machine

Read from SKILL.md and the folder at commit 11c057b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • browseract.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • BROWSERACT_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Youtube API Skill loads about 1.6k tokens when it runs. Until then it costs about 228 tokens; SKILL.md has 739 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~228
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from browser-act/skills at commit 11c057b, republished under its MIT licence (© browser-act). 739 words, ~1,622 tokens.

Download SKILL.mdSave it as .claude/skills/youtube-api-skill/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
youtube-api-skill
description
This skill helps users automatically extract detailed video metrics and channel information from YouTube based on keyword searches using the BrowserAct API. The Agent should proactively apply this skill when users express needs such as extract specific keyword YouTube video detailed data, monitor the latest video performance of competitor channels, collect comment and like counts for videos on a specific topic, find AI agent tutorials published this week and extract metrics, evaluate total views and subscriber info for specific videos, scrape detailed metrics of marketing campaign videos, track video trends for a tech topic periodically, get high quality video list data for specified keywords on YouTube, mine detailed information of the latest YouTube videos, collect video duration and engagement data for specific industries, or monitor YouTube content creator performance metrics.

YouTube API Automated Extraction Skill

📖 Skill Introduction

This skill provides users with an automated data extraction service through BrowserAct's YouTube API template. It can directly extract structured video metrics and channel information from YouTube. By simply inputting search keywords and upload date filters, it traverses the video results list, opens each video detail page, and directly returns clean, ready-to-use data.

✨ Features

  1. No Hallucinations, Ensuring Stable and Accurate Data Extraction: Pre-set workflow avoids AI-generated hallucinations.
  2. No CAPTCHA Issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP Restrictions and Geofencing: No need to deal with regional IP restrictions.
  4. Faster Execution Speed: Compared to pure AI-driven browser automation solutions, task execution is faster.
  5. Extremely High Cost-Effectiveness: Compared to AI solutions that consume a large amount of tokens, it can significantly reduce data acquisition costs.

🔑 API Key Guide Flow

Before running, you need to 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. 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 invoking the script, the Agent should flexibly configure the following parameters based on user needs:

  1. KeyWords (Search Keywords)

    • Type: string
    • Description: Search keywords used to find videos on YouTube.
    • Example: Openclaw, AI agent, browser automation
  2. Upload_date (Upload Date Filter)

    • Type: string
    • Description: Filter videos by recency in YouTube search results.
    • Supported values:
      • Today
      • This week
      • This month
      • This year
    • Default: This week

The Agent should execute the following standalone script to achieve "one command to get results":

bash
# Invocation example
python -u ./scripts/youtube_api.py "keywords" "upload_date"
⏳ Execution 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 while running (e.g., [14:30:05] Task Status: running). Notice for Agent:

  • While waiting for the script to return results, please keep paying attention to the terminal output.
  • As long as the terminal is still outputting new status logs, it means the task is running normally. Please do not misjudge it as a deadlock or unresponsive.
  • 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 directly parse and print the results from the API response. The results include:

  • channel_title: Channel name displayed on the video page
  • channel_url: Channel URL
  • subscribers: Subscriber count shown on the channel
  • video_title: Video title shown on the video page
  • video_url: Video URL
  • publish_date: Publish date or time shown on YouTube
  • view_count: View count shown on YouTube
  • video_duration: Video duration
  • comment_count: Total comment count
  • like_count: Like count
Show full SKILL.md (267 more words)Show less

⚠️ Error Handling & Retry

During the execution of the script, if an error is encountered (such as network fluctuations or task failure), the Agent should follow this logic:

  1. 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, you should 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 returned result is empty), the Agent should automatically try to execute the script again once.
  2. Retry limit:

    • 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

  1. Content Monitoring: Weekly track and extract detailed performance metrics of specific topics.
  2. Competitor Scanning: Analyze the recent video details, views, and likes of competitor channels.
  3. Campaign Tracking: Track specific promotional campaigns and evaluate their video interaction metrics.
  4. Market Research: Collect structured data of videos in specific niches for deep research.
  5. Trend Analysis: Analyze which types of videos have higher engagement rates in a specific industry.
  6. Creator Analytics: Monitor specific YouTube creators' video durations, views, and comments.
  7. Engagement Evaluation: Gather comment and like counts across multiple videos for sentiment estimation.
  8. Video Discovery: Find top-performing tutorials or product reviews from the past week.
  9. Data Enrichment: Build searchable video intelligence datasets for BI tools or CRM.
  10. Automated Reporting: Extract weekly video performance metrics to feed into reporting workflows.

© browser-act, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in solutions/video-platforms/youtube-api-skill of browser-act/skills.

  • SKILL.md
  • scripts/youtube_api.py

Open the folder on GitHubat commit 11c057b

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in browser-act/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Youtube API Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Youtube API Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Youtube API Skill this skillbrowser-act/skills6.1k1 repos~1.6kAutomated safety check: PassMIT
Content Ideasbradautomates/content-ideas130—~5.4kAutomated safety check: NotesMIT
Blog Feed Monitorgooseworks-ai/goose-skills1.2k1 repos~578Automated safety check: PassMIT
Apify Trend Analysismajiayu000/claude-skill-registry6663 repos~1.1kAutomated safety check: NotesMIT
Google Maps ScraperMahanaicoach/google-maps-scraper-kit1.3k—~2.8kAutomated safety check: PassMIT
Decodo ScraperDecodo/decodo-openclaw-skill153—~1.5kAutomated safety check: NotesNone

Similar skills

  • Content Ideas

    bradautomates/content-ideas

    Your For You page for content creators. An agent skill from bradautomates/content-ideas.

    130 GitHub stars~5.4k tokensUpdated 4 mo ago
    Data & AnalyticsAuto-check: notes
  • Blog Feed Monitor

    gooseworks-ai/goose-skills

    Scrape blog posts via RSS feeds (free, no API key) with Apify fallback for JS-heavy sites.

    1.2k GitHub starsUsed in 1 repo~578 tokens
    Data & AnalyticsAuto-check passed
  • Apify Trend Analysis

    majiayu000/claude-skill-registry

    Discover and track emerging trends across Google Trends, Instagram, Facebook, YouTube, and TikTok to inform content strategy.

    666 GitHub starsUsed in 3 repos~1.1k tokens
    Data & AnalyticsAuto-check: notes
  • Google Maps Scraper

    Mahanaicoach/google-maps-scraper-kit

    Scrape Google Maps business listings (name, address, phone, website, rating, reviews, lat/lng, hours, emails) via the local gosom google-maps-scraper REST API.

    1.3k GitHub stars~2.8k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Decodo Scraper

    Decodo/decodo-openclaw-skill

    Search Google, scrape web pages, Amazon product pages, YouTube subtitles, or Reddit (post/subreddit) using the Decodo Scraper OpenClaw Skill.

    153 GitHub stars~1.5k tokensUpdated 7 mo ago
    Data & AnalyticsAuto-check: notes
  • Data Feeds

    brightdata/skills

    Extract structured data from 40+ supported platforms (Amazon, LinkedIn, Instagram, TikTok, Facebook, YouTube, Reddit, and more) via the Bright Data CLI (bdata pipelines).

    264 GitHub stars~2.2k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed

More from browser-act/skills

All 87 skills in this repo
  • Amazon ASIN Lookup

    browser-act/skills

    Fetches structured Amazon product details such as title, price, ratings and availability for a given ASIN through BrowserAct's lookup API template.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Amazon Best Sellers Finder

    browser-act/skills

    Extracts structured Amazon product data for a keyword and marketplace through the BrowserAct API, including titles, prices, ratings, reviews, sales volume and promotions.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Amazon Buy Box Monitor

    browser-act/skills

    Pulls Amazon product details, competing seller prices and seller ratings for a given ASIN through the BrowserAct API, without browser automation.

    6.1k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Analyzes a competitor's Amazon listing by ASIN with BrowserAct data extraction, then reports what it does well, where the market has gaps and opportunity points for your own listing.

    6.1k GitHub starsUsed in 2 repos~3.2k tokens
    Auto-check passed
  • Pulls structured Amazon search results (titles, ASINs, prices, ratings, specifications) for a keyword and brand through BrowserAct's Amazon Product API template.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Collects structured product data from Amazon search results for a keyword and optional brand, using a BrowserAct script, for market and competitor research.

    6.1k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed

Works with

Questions about Youtube API Skill

What does Youtube API Skill do?

This skill helps users automatically extract detailed video metrics and channel information from YouTube based on keyword searches using the BrowserAct API. Youtube API Skill is an agent skill from browser-act/skills. This skill helps users automatically extract detailed video metrics and channel information from YouTube based on keyword searches using the BrowserAct API.

When should I use Youtube API Skill?

Youtube API Skill fits situations like: tasks that involve Web scraping; tasks that involve Blog and article writing; tasks that involve OKRs and executive reporting.

How do I install Youtube API Skill in Claude Code?

Run `npx skills add browser-act/skills --skill youtube-api-skill -a claude-code`. Or copy the skill folder (solutions/video-platforms/youtube-api-skill in browser-act/skills) into .claude/skills/youtube-api-skill in your project. Claude Code loads it when a task matches its description.

How do I install Youtube API Skill in Codex?

Run `npx skills add browser-act/skills --skill youtube-api-skill -a codex`. Or copy the skill folder (solutions/video-platforms/youtube-api-skill in browser-act/skills) into .agents/skills/youtube-api-skill in your project. Codex loads it when a task matches its description.

Can I use Youtube API Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add browser-act/skills --skill youtube-api-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/youtube-api-skill, .gemini/skills/youtube-api-skill, .github/skills/youtube-api-skill and .opencode/skills/youtube-api-skill in your project.

What does Youtube API Skill need to run?

Going by SKILL.md and its folder, Youtube API Skill needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named BROWSERACT_API_KEY. Our summary lists: Python 3; A credential in BROWSERACT_API_KEY.

Does Youtube API Skill access the network?

SKILL.md names 1 domain. As links in the text: browseract.com. This is read from the text; nothing was executed.

Is Youtube API Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Youtube API Skill use?

Youtube API Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Youtube API Skill use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Youtube API Skill?

Skills that share tags, products or a category with Youtube API Skill: Content Ideas (bradautomates/content-ideas, 130 stars), Blog Feed Monitor (gooseworks-ai/goose-skills, 1.2k stars), Apify Trend Analysis (majiayu000/claude-skill-registry, 666 stars) and Google Maps Scraper (Mahanaicoach/google-maps-scraper-kit, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Youtube API Skill?

browser-act (a GitHub organization) maintains it in browser-act/skills, which has 6,108 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on August 24, 2026.

Source: browser-act/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.