agentleFS
nikhilbhansalinikhilbhansali/claude-youtube-skills/youtube-own-channel-analyzer/SKILL.md

youtube-own-channel-analyzer

Skill3 starsChanged 10 months agoMITView on GitHub

Comprehensive YouTube channel analysis using YouTube Data API v3. Analyze your own channel's performance metrics, content strategy, upload patterns, engagement rates, video performance, and growth trends. Use when users want to (1) Analyze their YouTube channel performance, (2) Get insights on video engagement and metrics, (3) Understand upload patterns and optimal posting times, (4) Identify top-performing content types, (5) Generate channel health reports, (6) Track subscriber and view growth patterns. Requires user's YouTube Data API v3 key.

  • Reads credentials

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. nikhilbhansali/youtube-data-skills★ 423% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search: 100 units per call

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

YouTube Own Channel Analyzer

Analyze your YouTube channel's performance using the YouTube Data API v3.

Setup

  1. API Key: Get from Google Cloud Console - enable YouTube Data API v3
  2. Channel ID: Accept channel ID (UC...), @handle, or full URL

API Endpoints

BASE_URL = https://www.googleapis.com/youtube/v3

# Channel details
GET /channels?part=snippet,statistics,contentDetails,brandingSettings&id={channelId}&key={API_KEY}

# Channel videos (paginated)
GET /search?part=snippet&channelId={channelId}&order=date&type=video&maxResults=50&key={API_KEY}

# Video details (batch up to 50 IDs)
GET /videos?part=snippet,statistics,contentDetails&id={videoIds}&key={API_KEY}

Analysis Workflow

1. Resolve Channel ID

@handle → Search API with handle, get channelId from result
/channel/UC... → Extract directly
/c/name or /user/name → Use forUsername parameter

2. Fetch Data

  • Channel: snippet, statistics, contentDetails, brandingSettings
  • Videos: Paginate through search results, then batch video details

3. Analyze

Content Types - Categorize by title/description patterns:

TypePattern
Tutorialtutorial, how to, guide, learn
Reviewreview, unbox, first look, comparison
Vlogvlog, day in, life, daily
Educationalexplain, education, lesson
Gaminggameplay, game, gaming, stream
Musicmusic, song, cover, lyrics

Duration Buckets: Short (<5min), Medium (5-15min), Long (15-30min), Very Long (30+min)

Performance Metrics:

  • View-to-sub ratio: views/subscribers (benchmark: 10-20%)
  • Engagement rate: (likes+comments)/views (benchmark: 1-5%)
  • Like rate: likes/views (benchmark: 3-7%)
  • Comment rate: comments/views (benchmark: 0.5-2%)
  • Viral threshold: views > 5x subscribers
  • Underperforming: views < 10% subscribers

Upload Patterns: Track day-of-week, hour-of-day, consistency (stddev of days between uploads)

Title Analysis: Track numbers, emojis, questions, brackets, caps usage, common words

Output Report Structure

# Channel Analysis Report
## Executive Summary
- Subscribers, views, videos, avg engagement, upload consistency
## Channel Overview
- Basic info, statistics table, description, keywords
## Content Analysis
- Category breakdown table, duration distribution, title patterns
## Performance Metrics
- Engagement metrics vs benchmarks table
## Upload Patterns
- Optimal day/hour, distribution charts
## Engagement Analysis
- Top 5 high-engagement videos, bottom 5 needing improvement
## Recommendations
- Content optimization, upload frequency, title suggestions

Helper: Parse Duration

// PT1H2M3S → seconds
const match = duration.match(/PT(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?/);
return (parseInt(match[1])||0)*3600 + (parseInt(match[2])||0)*60 + (parseInt(match[3])||0);

Quota Notes

  • Search: 100 units per call
  • Channels/Videos: 1 unit per call
  • Daily limit: 10,000 units (default)
  • Batch video IDs (max 50) to optimize

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.