bass-projects/skills-from-my-life/youtube-status-official-api
Claude Code and agent skill by bass-projects/skills-from-my-life
- community
Checking that the SKILL.md file is still in the repository.
Use when checking, implementing, reviewing, or debugging YouTube channel status, live status, upload status, video ownership, or notification eligibility. Requires official YouTube Data API v3 endpoints only and forbids HTML scraping, /live page inspection, redirect parsing, canonical URL parsing, or regex extraction from YouTube pages.
Install
npx vskill@latest install bass-projects/skills-from-my-life/youtube-status-official-apiSKILL.md
The same SKILL.md was published earlier as bass-projects/skills-from-my-life/youtube-status-official-api.
YouTube Status via Official API
Use this skill whenever an agent needs to decide whether a YouTube channel is live, whether a video belongs to a channel, or whether a Discord notification is eligible.
Hard Rule
Use the official YouTube Data API v3 as the source of truth. Do not inspect, scrape, regex, or parse YouTube HTML pages for:
- live status
- channel ownership
videoIddiscovery- redirect targets
- canonical URLs
- watch page metadata
/channel/.../liveor/@handle/liveoutput
HTML fallback is forbidden for status decisions, even if a later API call would verify the candidate. A bad HTML candidate can still create noisy logs, poisoned state, wasted quota, and false debugging trails.
If the API cannot answer the question because the key is invalid, quota is exhausted, the response is empty, or the endpoint fails, fail closed and do not send.
Active Live Flow
To discover whether a configured channel is currently live:
- Read the configured
channelId. - Call YouTube Data API v3
search.listwith:
part=snippetchannelId=<configured channel id>type=videoeventType=liveorder=date- a small
maxResults
- For each returned
videoId, callvideos.listwith:
part=snippet,liveStreamingDetailsid=<video id>
- Notify only when all of these are true:
snippet.channelIdequals the configured channel idliveStreamingDetails.actualStartTimeis presentliveStreamingDetails.actualEndTimeis absent- the video id is not already in durable notification state
Do not use YouTube web URLs to discover the current live video.
Video and Upload Verification
For a known video id, call videos.list and require:
snippet.channelIdequals the configured channel idsnippet.titleis present for notification textsnippet.liveBroadcastContentandliveStreamingDetailsare interpreted consistently with the requested status
Completed live archives are not ordinary uploads unless the product explicitly asks to notify completed live archives.
Debugging Checklist
When debugging a missed or skipped notification, report API evidence rather than page evidence:
- exact endpoint family used:
search.listorvideos.list - whether the API key was accepted
- returned
videoIdvalues, if any - returned
snippet.channelId - returned
snippet.liveBroadcastContent - returned
liveStreamingDetails.actualStartTime - returned
liveStreamingDetails.actualEndTime - relevant remote durable state, such as notified ids and last live id
Never explain YouTube status from /live HTML, page canonical URLs, redirects, or global isLive markers.
Official References
- https://developers.google.com/youtube/v3/docs/search/list
- https://developers.google.com/youtube/v3/docs/videos/list
- https://developers.google.com/youtube/v3/docs/videos
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdevelop/coding/wrangler/youtube-status-official-api/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bass-projects/skills-from-my-life/youtube-status-official-api)