youtube-video-api-skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited youtube-video-api-skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
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."
When calling the script, the Agent should flexibly configure the following parameters based on user needs:
stringhttps://www.youtube.com/@BrowserActstringLatestPopularEarliestPopularThe 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"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:
After successful execution, the script will parse and print the results directly from the API response. The results include:
channel_title: Channel name displayed on the channel pagechannel_url: Channel URLsubscribers: Subscriber count shown on the channel pagevideo_title: Video title shown on the video pagevideo_url: Video URLpublish_date: Published date or time shown on YouTubeview_count: View count shown on YouTubevideo_duration: Video durationcomment_count: Total number of comments (if available)like_count: Like count (if available)During script execution, if an error occurs (such as network fluctuation or task failure), the Agent should follow the logic below:
"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."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.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.