Agent skill

Youtube Search API Skill

by browser-act in browser-act/skills

This skill helps users automatically extract structured data from YouTube search results using the BrowserAct API.

MITAuto-check passedMarketing & SEO

Install Youtube Search API Skill

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

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

GitHub CLI
$ gh skill install browser-act/skills youtube-search-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-search-api-skill .claude/skills/youtube-search-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-search-api-skill
GitHub stars
6.1k
Used in
1 other repo
Token cost
~1.5k tokens
SKILL.md length
713 words
Files
2 (incl. scripts)
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

This skill helps users automatically extract structured data from YouTube search results using the BrowserAct API.

  • Works in 5 steps: No hallucinations, ensuring stable and… → No CAPTCHA issues: No need to handle… → No IP access limits or geo-fencing: No… → …
  • Tasks that involve Video scripts and shorts
  • SKILL.md covers 📖 Introduction, ✨ Features, 🔑 API Key Setup Flow and 🛠️ Input Parameters, plus 4 more sections
  • Runs Python scripts from its folder; calls python; needs BROWSERACT_API_KEY

What it does

Youtube Search API Skill is an agent skill from browser-act/skills. This skill helps users automatically extract structured data from YouTube search results using the BrowserAct API. The Agent should proactively apply this skill when users express needs like searching for YouTube videos by keywords, finding the latest YouTube Shorts for a specific topic, gathering YouTube channel data for competitor analysis, monitoring trending YouTube playlists, extracting YouTube search results for market research, tracking view counts for specific YouTube keywords, compiling a list of YouTube…

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

It sits in Marketing & SEO, covering Video scripts and shorts, Blog and article writing and Schema markup. 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 Video scripts and shorts
  • Tasks that involve Blog and article writing
  • Tasks that involve Schema markup

Example prompts

  • “/youtube-search-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 workflows avoid AI generative hallucinations.
  2. No CAPTCHA issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP access limits or geo-fencing: No need to deal with regional IP restrictions.
  4. More agile execution speed: Compared to pure AI-driven browser automation solutions, task execution is faster.
  5. Extremely high cost-effectiveness: Significantly reduces data acquisition costs compared to AI solutions that consume a large number of…

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 Search API Skill loads about 1.5k tokens when it runs. Until then it costs about 186 tokens; SKILL.md has 713 words of instructions outside code blocks.

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

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). 713 words, ~1,525 tokens.

Download SKILL.mdSave it as .claude/skills/youtube-search-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-search-api-skill
description
This skill helps users automatically extract structured data from YouTube search results using the BrowserAct API. The Agent should proactively apply this skill when users express needs like searching for YouTube videos by keywords, finding the latest YouTube Shorts for a specific topic, gathering YouTube channel data for competitor analysis, monitoring trending YouTube playlists, extracting YouTube search results for market research, tracking view counts for specific YouTube keywords, compiling a list of YouTube videos on a subject, discovering new YouTube content creators in a niche, searching YouTube for tutorial videos automatically, and retrieving structured YouTube search data without opening video pages.

YouTube Search API Skill

📖 Introduction

This skill provides users with a one-stop YouTube search data extraction service through BrowserAct's YouTube Search API template. It can extract structured fields directly from the YouTube search results list. Simply provide the search keywords and limit conditions to get clean, usable video, shorts, channel, or playlist data.

✨ Features

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

🔑 API Key Setup Flow

Before running, you must first check the BROWSERACT_API_KEY environment variable. If it is not set, do not take any other actions; you should request and wait for the user's collaboration to provide it. The Agent must inform the user at this time:

"Since you have not configured the BrowserAct API Key, 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 the user's needs:

  1. KeyWords

    • Type: string
    • Description: Search keywords used on YouTube. Can be any keyword or phrase.
    • Example: AI, automation, n8n, web scraping
  2. Video_type

    • Type: string
    • Description: Which results tab to extract from.
    • Supported values: Videos, Shorts, Channels, Playlists
    • Default: Videos
  3. Date_limit

    • Type: number
    • Description: Maximum number of items to extract from the search results list.
    • Example: 20, 50, 100
    • Default: 100

The Agent should achieve "one-command results" by executing the following independent script:

bash
# Call example
python -u ./scripts/youtube_search_api.py "KeyWords" "Video_type" Date_limit
⏳ Execution Status Monitoring

Because 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. Notice to 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 mistakenly judge it as a deadlock or unresponsiveness.
  • Only if the status remains unchanged for a long time or the script stops outputting and no result is returned, can you consider triggering the retry mechanism.
Show full SKILL.md (309 more words)Show less

📊 Data Output

After successful execution, the script will parse and print the result directly from the API response. The extracted data includes:

  • title: Title shown in search results
  • description: Short description snippet (when available)
  • view_count: View count displayed in results
  • published_at: Publish time displayed in results
  • url: Result item URL

⚠️ Error Handling & Retry Mechanism

During the execution of the script, if an error occurs (such as network fluctuation 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, and 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.
  2. Retry limit:

    • Automatic retry is limited to only once. If the second attempt still fails, stop retrying and report the specific error message to the user.

🌟 Typical Use Cases

  1. Keyword-first discovery: Build topic pools and content datasets directly from search intent.
  2. Competitor scanning: Search for competitor brand names and extract top related videos.
  3. Content monitoring: Regularly extract search results for specific industry keywords to see what's trending.
  4. Channel research: Search for channels within a specific niche and gather their URLs.
  5. Tutorial aggregation: Find and extract educational videos for specific software or tools.
  6. Shorts tracking: Monitor YouTube Shorts for trending hashtags or topics.
  7. Playlist extraction: Find curated playlists for specific subjects.
  8. Market research: Build structured datasets of search results for market analysis.
  9. Creator outreach: Find emerging creators in a particular field for collaboration.
  10. View count analysis: Compare view counts of the top videos for various keywords.

© 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-search-api-skill of browser-act/skills.

  • SKILL.md
  • scripts/youtube_search_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 Search 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 Search API Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Youtube Search API Skill this skillbrowser-act/skills6.1k1 repos~1.5kAutomated safety check: PassMIT
Trend DiscoveryScrapeCreators/social-media-research-skills3.4k—~789Automated safety check: NotesMIT
SEO DataforseoAgriciDaniel/codex-seo7992 repos~4.6kAutomated safety check: PassMIT
SEO Competitor Comparison PagesAgriciDaniel/claude-seo19k5 repos~1.9kAutomated safety check: PassMIT
Consulting Analysisbytedance/deer-flow84k4 repos~8.4kAutomated safety check: PassMIT
Startup Designferdinandobons/startup-skill1.2k—~8.1kAutomated safety check: PassMIT

Similar skills

  • Trend Discovery

    ScrapeCreators/social-media-research-skills

    A skill your agent uses when the user wants to discover trending social topics, hashtags, sounds, posts, reels, shorts, creators, or formats in a niche.

    3.4k GitHub stars~789 tokensUpdated 1 mo ago
    Marketing & SEOAuto-check: notes
  • SEO Dataforseo

    AgriciDaniel/codex-seo

    Live SEO data via DataForSEO MCP server. An agent skill from AgriciDaniel/codex-seo.

    799 GitHub starsUsed in 2 repos~4.6k tokens
    Marketing & SEOAuto-check passed
  • SEO Competitor Comparison Pages

    AgriciDaniel/claude-seo

    Generates X vs Y comparison pages, alternatives-to-X pages, best-tools roundups and feature-matrix tables, with schema markup and verifiable data rules.

    19k GitHub starsUsed in 5 repos~1.9k tokens
    Marketing & SEOAuto-check passed
  • Consulting Analysis

    bytedance/deer-flow

    A skill your agent uses when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial…

    84k GitHub starsUsed in 4 repos~8.4k tokens
    Marketing & SEOAuto-check passed
  • Startup Design

    ferdinandobons/startup-skill

    Design, validate, and plan a startup from scratch. An agent skill from ferdinandobons/startup-skill.

    1.2k GitHub stars~8.1k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • Money Discover

    iamzifei/show-me-the-money

    Discover profitable business ideas from scratch. An agent skill from iamzifei/show-me-the-money.

    1k GitHub stars~3.6k tokensUpdated 1 mo ago
    Marketing & SEOAuto-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 1 repo~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 1 repo~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 1 repo~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 1 repo~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 1 repo~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 1 repo~1.6k tokens
    Auto-check passed

Works with

Categories

Questions about Youtube Search API Skill

What does Youtube Search API Skill do?

This skill helps users automatically extract structured data from YouTube search results using the BrowserAct API. Youtube Search API Skill is an agent skill from browser-act/skills. This skill helps users automatically extract structured data from YouTube search results using the BrowserAct API.

When should I use Youtube Search API Skill?

Youtube Search API Skill fits situations like: tasks that involve Video scripts and shorts; tasks that involve Blog and article writing; tasks that involve Schema markup.

How do I install Youtube Search API Skill in Claude Code?

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

How do I install Youtube Search API Skill in Codex?

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

Can I use Youtube Search 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-search-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-search-api-skill, .gemini/skills/youtube-search-api-skill, .github/skills/youtube-search-api-skill and .opencode/skills/youtube-search-api-skill in your project.

What does Youtube Search API Skill need to run?

Going by SKILL.md and its folder, Youtube Search 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 Search 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 Search 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 Search API Skill use?

Youtube Search 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 Search API Skill use?

About 1.5k tokens (SKILL.md is roughly 6.1k 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 Search API Skill?

Skills that share tags, products or a category with Youtube Search API Skill: Trend Discovery (ScrapeCreators/social-media-research-skills, 3.4k stars), SEO Dataforseo (AgriciDaniel/codex-seo, 799 stars), SEO Competitor Comparison Pages (AgriciDaniel/claude-seo, 19k stars) and Consulting Analysis (bytedance/deer-flow, 84k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Youtube Search API Skill?

browser-act (a GitHub organization) maintains it in browser-act/skills, which has 6,126 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.