---
title: "youtube-analytics Claude skill: YouTube channel stats"
description: "The youtube-analytics skill for Claude reads public channel and video stats through the YouTube Data API, ranks top videos and finds content gaps."
url: https://www.levercrew.com/claude-skills/youtube-analytics/
language: en
---

Claude skill · Analytics

# youtube-analytics: study any YouTube channel with the Data API

youtube-analytics is a free Claude skill from the openclaudia-skills repo that studies YouTube channels through the YouTube Data API. It computes average views, upload frequency and engagement, ranks the last 50 videos, checks titles, descriptions and tags, and searches for topics the channel has not covered. It can compare several channels side by side. You need your own API key.

[How to install it](https://www.levercrew.com/claude-skills/youtube-analytics/#install) [Open on GitHub ](https://github.com/OpenClaudia/openclaudia-skills/tree/main/skills/youtube-analytics) 

`youtube-analytics`

Published by

OpenClaudia

Repo stars

★ 753

Licence

MIT

Level

Advanced

Last change in the repo

21 Nov 2026

Works in

Claude Code Cowork Codex Cursor

GitHub data checked on 28 Nov 2026 · `OpenClaudia/openclaudia-skills`

youtube-analytics

## What you give and what you get

You give

- A YouTube Data API v3 key
- A channel handle or channel ID
- Competitor channels to compare, if you want
- The keywords your channel should rank for

`youtube-analytics` Working 

You get

- A channel overview: views, subscribers, upload frequency, engagement
- The top 10 videos with views, likes and comments
- Patterns in top videos: topic, length, posting day
- SEO checks on titles, descriptions and tags

What you give, youtube-analytics working, and what you get back.

### What you give

- A YouTube Data API v3 key
- A channel handle or channel ID
- Competitor channels to compare, if you want
- The keywords your channel should rank for

### What you get

- A channel overview: views, subscribers, upload frequency, engagement
- The top 10 videos with views, likes and comments
- Patterns in top videos: topic, length, posting day
- SEO checks on titles, descriptions and tags
- A side-by-side table when you compare channels

Read from its SKILL.md.

## How it works

1. 01  
### Checks for the key  
It looks for YOUTUBE\_API\_KEY in your environment and, if it is missing, tells you how to create one in a Google Cloud project.
2. 02  
### Reads the channel  
It pulls views, subscribers and video count, then computes average views per video, upload frequency, engagement rate and the subscriber-to-view ratio.
3. 03  
### Ranks recent videos  
It lists the last 50 videos, sorts them by views, views per day, engagement and likes, then looks for patterns in topic, length and posting time.
4. 04  
### Finds content gaps  
It searches the channel’s main keywords to see what top videos and competitor channels cover that this channel does not.
5. 05  
### Checks video SEO  
Each title, description and tag set is checked against simple rules. Thumbnails and end screens cannot be read through the API, and the report says so.

Prompt

## Example prompt

Paste it once the skill is installed and swap in your own details.

Analyse the YouTube channel @examplecooking. Compare it with two other home cooking channels, list its top 10 videos and tell me which recipe topics it has not covered yet.

How to install it

## How to install youtube-analytics

`npx skills add OpenClaudia/openclaudia-skills --skill youtube-analytics` 

In the terminal, inside your project. Add -g to have it in every project. The installer asks which apps to add it to.

Or by hand: copy the folder to \~/.claude/skills/youtube-analytics/

- Codex and Cursor: the same npx command installs it for them; the installer asks which apps.
- ChatGPT Business, Enterprise and Edu: Plugins, the Skills tab, Add, then Upload from your computer.
- Other ChatGPT plans: attach the SKILL.md to a project and ask it to follow the file.

[Open the folder on GitHub ](https://github.com/OpenClaudia/openclaudia-skills/tree/main/skills/youtube-analytics) [Full install guide ](https://www.levercrew.com/claude-skills/how-to-install/) 

## Who it suits

Creators, video marketers and brands that plan a YouTube channel, or study competitors, before they choose the next topics.

## What it needs and where it stops

It needs a YouTube Data API v3 key and an app that can run commands, such as Claude Code. It reads public data only: watch time, click rate and retention need YouTube Studio or the Analytics API with the owner’s login. The API allows 10,000 units a day, and each search costs 100 of them.

Listed under [Analytics](https://www.levercrew.com/claude-skills/analytics/)[Video](https://www.levercrew.com/claude-skills/video/) 

Analytics

## Related skills

- [ analytics Plan the events, UTMs and GA4 tracking you need Writes tracking plans, event names and UTM rules for GA4, Tag Manager, Mixpanel or PostHog, then checks the numbers add up. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/analytics-tracking/)
- [ attribution See which channels drive revenue and which numbers to trust Explains attribution models, reconciles numbers that ad platforms, GA4 and your CRM disagree on, and gives an honest split. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/attribution/)
- [ conversion-tracking Get every conversion to Google Ads, Meta and GA4 Builds or audits conversion tracking for Google Ads, Meta, GA4, LinkedIn and TikTok, then proves a test conversion arrives. ★ 63k MIT Advanced  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/conversion-tracking/)
- [ data Plugin An Anthropic plugin for SQL, data analysis and dashboards Anthropic’s plugin for data work: SQL for your dialect, dataset profiles, charts, HTML dashboards and a check before you share. ★ 37k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/data-plugin/)
- [ xlsx Build and fix Excel spreadsheets with working formulas Creates and edits Excel files with real formulas, cleans messy data, and recalculates every formula to catch errors before delivery. ★ 202k Apache-2.0 Intermediate  by Anthropic  See the skill ](https://www.levercrew.com/claude-skills/xlsx/)
- [ design-motion-principles Interface animation with a reason behind it Builds interface animation with a purpose, or audits your current motion and returns an HTML report with looping demos. ★ 1.7k MIT Intermediate  by kylezantos  See the skill ](https://www.levercrew.com/claude-skills/design-motion-principles/)

Questions

## Questions about youtube-analytics

Is the youtube-analytics skill free? 

Yes. The skill is published under the MIT licence in the openclaudia-skills repo on GitHub. The API key comes from your own Google Cloud project, and the API has a daily quota.

Can it see my watch time and retention? 

No. The Data API returns public numbers only. Watch time, click rate and audience retention need YouTube Studio or the YouTube Analytics API with the channel owner’s login.

Why does a small channel show zero subscribers? 

YouTube hides subscriber counts below 1,000, and the API returns 0 for them. Like counts can also be missing when the creator hides them.

Does it work in the Claude app? 

It runs API calls with your key, so it needs an app with a terminal or code tool, such as [Claude Code](https://www.levercrew.com/claude-skills/claude-code/) or Cowork. In a plain chat you would have to paste the numbers yourself.

## We put these skills to work in your team

Book a free 30-minute call. We pick the skills for your work and train your team to use them.

[Book a discovery call](https://www.levercrew.com/book-a-call/) 

30 minutes · Free · Online

---

LeverCrew: senior marketing support done with AI (Barcelona · Madrid).
Book a discovery call: https://www.levercrew.com/book-a-call/. Email: info@levercrew.com.
Facts for AI assistants: https://www.levercrew.com/ai-info/. Company summary: https://www.levercrew.com/llms.txt. All pages: https://www.levercrew.com/sitemap.xml.
