Agent skill
int-youtube
Query YouTube Data API v3 — channel stats, recent videos, top videos, comments. Supports multi-account (OAuth or API Key). Use when user asks about YouTube metrics, YouTube channel, subscribers, views, videos, engagement, or any reference to YouTube analytics.
Install this agent skill to your Project
npx add-skill https://github.com/EvolutionAPI/evo-nexus/tree/main/.claude/skills/int-youtube
SKILL.md
YouTube Data API v3
YouTube integration to monitor Evolution channels and others. Supports multiple accounts via OAuth (Social Auth App) or API Key.
Setup
Accounts configured via make social-auth (OAuth login) or manually in .env:
SOCIAL_YOUTUBE_1_LABEL=Evolution API
SOCIAL_YOUTUBE_1_ACCESS_TOKEN=ya29...
SOCIAL_YOUTUBE_1_CHANNEL_ID=UC9kZHm3TnEt41ztGOLyQO9g
SOCIAL_YOUTUBE_1_REFRESH_TOKEN=1//0h...
API Client
python3 {project-root}/.claude/skills/int-youtube/scripts/youtube_client.py <command> [args]
Commands
# List configured accounts
youtube_client.py accounts
# Channel stats (subscribers, views, total videos)
youtube_client.py channel_stats [account_label_or_index]
# Last N videos with metrics (via playlistItems — 3 units)
youtube_client.py recent_videos [account] [N]
# Top N videos by views
youtube_client.py top_videos [account] [N]
# Stats for specific videos
youtube_client.py video_stats VIDEO_ID [VIDEO_ID...]
# Comments on a video
youtube_client.py comments VIDEO_ID [N]
# Summary of all accounts
youtube_client.py summary
Output JSON exemplo
{
"account": "Evolution API",
"channel_id": "UC9kZHm3TnEt41ztGOLyQO9g",
"subscribers": 7450,
"total_views": 132462,
"video_count": 27,
"videos": [
{
"id": "abc",
"title": "...",
"published": "2026-...",
"views": 7180,
"likes": 500,
"comments": 164,
"engagement_rate": 9.25,
"url": "https://youtube.com/watch?v=abc"
}
]
}
Key metrics
- Subscribers (daily/weekly/monthly delta)
- Total views and per video
- Engagement rate: (likes + comments) / views
- Best video of the period
- Publishing frequency
- Recent comments (sentiment)
Quota
- 10,000 units/day (resets at midnight Pacific Time)
playlistItems: 1 unit (used instead ofsearchwhich costs 100)channels,videos,commentThreads: 1 unit each- Each pagination is charged again
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
data-create-viz
Cria visualizações de dados de qualidade profissional com Python no tema Evolution (fundo escuro, acento
cs-customer-escalation
Empacota uma escalação para Devs, Produto ou Davidson com contexto completo. Use quando um bug precisa de atenção além do suporte normal, vários clientes reportam o mesmo problema, um cliente está ameaçando cancelar, ou um problema ficou sem resolução além do SLA. / Package an escalation for engineering, product, or leadership with full context. Use when a bug needs engineering attention beyond normal support, multiple customers report the same issue, a customer is threatening to churn, or an issue has sat unresolved past its SLA.
mkt-draft-content
Draft blog posts, social media, email newsletters, landing pages, press releases, and case studies with channel-specific formatting and SEO recommendations. Use when writing any marketing content, when you need headline or subject line options, or when adapting a message for a specific platform, audience, and brand voice.
gog-tasks
Create, manage, and prioritize tasks and todo items. Convert emails to tasks, set priorities (P0-P3) and categories (Work/Personal/Errands/Admin), review daily priorities, track blocked and overdue tasks. Use when user mentions tasks, todos, action items, or wants to convert emails to tasks. Requires confirmation before creating or deleting tasks.
discord-get-messages
Retrieve messages from Discord channels via the Discord API. Use this skill when the user wants to read, search, or analyze messages from a Discord channel.
cs-customer-research
Pesquisa multi-fonte sobre pergunta ou tópico de cliente com atribuição de fontes. Use quando um cliente pergunta algo que precisa ser verificado, investigando se um bug foi reportado antes, verificando o que foi dito anteriormente a uma conta específica, ou coletando contexto antes de redigir uma resposta. / Multi-source research on a customer question or topic with source attribution. Use when a customer asks something you need to look up, investigating whether a bug has been reported before, checking what was previously told to a specific account, or gathering background before drafting a response.
Didn't find tool you were looking for?