browser-act/youtube-batch-transcript-extractor-api-skill
This skill helps users automatically extract YouTube video transcripts and metadata in batch via the BrowserAct API. The Agent should proactively apply this skill when users express needs like batch extract full transcripts from YouTube videos for specific keywords, scrape YouTube subtitles for a list of videos, get batch video metadata and likes counts for analysis, automate YouTube search and subtitle extraction, collect multiple video transcripts published this week, download bulk YouTube video subtitles without writing crawler scripts, build a dataset of transcripts from top YouTube videos, extract YouTube video URLs and publisher info in batch, gather full video content for AI summarization pipelines, monitor recent YouTube videos and extract their transcripts, batch retrieve structured subtitle data for media research, extract transcripts from trending YouTube content automatically.
npx skills add https://github.com/browser-act/skills --skill youtube-batch-transcript-extractor-api-skill
This skill uses the BrowserAct YouTube Batch Transcript Extractor API template to provide users with an automated service for extracting YouTube video transcripts and metadata in batch. Simply by providing search keywords and filters, you can batch extract full video transcripts, likes, and channel metadata without writing crawler scripts.
Before running, you must 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 to provide it collaboratively.
The Agent must inform the user at this time:
> "Since you have not yet configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key first."
When calling the script, the Agent should flexibly configure the following parameters based on user needs:
stringOpenClaw, AI AutomationstringToday, This week, This month, This year.This weeknumber5The Agent should execute the following independent script to achieve "one-line command to get results":
# Example invocation
python -u ./scripts/youtube_batch_transcript_extractor_api.py "keywords" "Upload_date" Datelimit
Since this task involves automated browser operations, it may take a long time (several minutes). The script will continuously output timestamped status logs (e.g., [14:30:05] Task Status: running) while running.
Agent Notes:
After successful execution, the script will parse and print the results directly from the API response. The results include:
Video title: The title of the YouTube video.Video URL: The direct link to the original video.Publisher: The name of the channel publishing the video.Channel link: The URL of the publisher's YouTube channel.Video likes count: The number of likes the video has received.Subtitles: The complete extracted transcript/subtitles of the videos.If an error is encountered during the execution of the script (such as network fluctuation or task failure), the Agent should follow the logic below:
"Invalid authorization", it indicates that the API Key is invalid or expired. Do not retry at this time. You should guide the user to recheck and provide the correct API Key."Invalid authorization" but the task execution fails (for example, the output starts with Error: or returns an empty result), the Agent should automatically try to execute the script once more.Take browser-act/youtube-batch-transcript-extractor-api-skill from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
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.