youtube-competitor-analyzer

youtube-competitor-analyzer is a skill for Claude Code, Codex from nikhilbhansali/claude-youtube-skills. It costs 117 tokens per session (944 once invoked), scanned A, original, MIT.

A tool for finding and comparing YouTube channels that compete with a given channel. It uses YouTube Data API v3, the official interface for retrieving YouTube channel and video data.

In plain words
What is it for?
Use it to discover competitors through keywords, categories, related channels, or similar content, then compare their metrics, publishing strategies, and market position.
Why use it?
It avoids manually searching through channels and collecting their statistics, videos, and content patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to discover competitors through keywords, categories, related channels, or similar content, then compare their metrics, publishing strategies, and market position.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nikhilbhansali/claude-youtube-skills/youtube-competitor-analyzer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nikhilbhansali/claude-youtube-skills --skill youtube-competitor-analyzer
Clone the repo
git clone --depth 1 https://github.com/nikhilbhansali/claude-youtube-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for youtube-competitor-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/nikhilbhansali/claude-youtube-skills/youtube-competitor-analyzer/github.svg)](https://agentmods.dev/skills/nikhilbhansali/claude-youtube-skills/youtube-competitor-analyzer)
Your own site
<a href="https://agentmods.dev/skills/nikhilbhansali/claude-youtube-skills/youtube-competitor-analyzer"><img src="https://agentmods.dev/badge/skills/nikhilbhansali/claude-youtube-skills/youtube-competitor-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for youtube-competitor-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/nikhilbhansali/claude-youtube-skills/youtube-competitor-analyzer"><img src="https://agentmods.dev/badge/skills/nikhilbhansali/claude-youtube-skills/youtube-competitor-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 944 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.00944
Opus 5 $0.00059 $0.00472
Sonnet 5 $0.00023 $0.00189
Haiku 4.5 $0.00012 $0.00094

Measured 12d ago against content hash 219f6f491f92, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

youtube-competitor-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

youtube-competitor-analyzer/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

YouTube Competitor Analyzer

Find and analyze competitor channels using YouTube Data API v3.

Setup

  1. API Key: Get from Google Cloud Console - enable YouTube Data API v3
  2. Input: User's channel (for context) OR list of competitor channels to analyze directly

API Endpoints

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

# Search channels
GET /search?part=snippet&q={query}&type=channel&maxResults={n}&key={API_KEY}

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

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

# Video details
GET /videos?part=snippet,statistics,contentDetails&id={ids}&key={API_KEY}

Competitor Discovery Methods

1. Keyword Search

Extract keywords from user's channel (description, title, brandingSettings.keywords), search for channels:

GET /search?q={keyword}&type=channel&maxResults=10

2. Content Similarity

Get user's recent video titles, extract frequent words (>4 chars), search channels with those terms.

3. Category Search

Search within same YouTube category as user's channel.

4. Related Discovery

Search using user's video titles/descriptions to find channels creating similar content.

5. Direct Input

User provides specific channels to analyze: @handles, channel IDs, or URLs.

Competitor Ranking

// Size similarity (log scale)
sizeSimilarity = 1 - Math.abs(Math.log10(compSubs+1) - Math.log10(targetSubs+1)) / 10;

// Engagement per video
engagementRate = viewCount / (videoCount || 1);

// Overall score
overallScore = sizeSimilarity * 0.3 + relevanceScore * 0.7;

Sort by overallScore, return top 10-15.

Comparative Analysis

For each competitor, extract:

Metric Description
Subscribers Direct count
Total Views Channel lifetime views
Video Count Total videos published
Views/Video Average performance
Upload Frequency Videos per month
Channel Age Days since creation

Read the full file on GitHub · 139 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 139 lines · 117 tokens per session scan A 219f6f491f92

Subscribe to this mod's changes

youtube-competitor-analyzer is a skill published in the GitHub repository nikhilbhansali/claude-youtube-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 117 tokens to every session and 944 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

skill-builder

Automatically detect source types and build AI skills using Skill Seekers. Use when the user wants to create skills from documentation, repos, PDFs, videos, or other knowledge sources.

yusufkaraaslan/Skill_Seekers · 38 tokens

stuck

Diagnoses a broken course setup by reading the folder, so the student never has to describe the problem in English. Takes no argument. Reports which class they are on and which files are filled, then names one blocker and one fix: Claude Code opened at the wrong level, .claude/skills/ missing, skills not loading…

mshadmanrahman/claude-for-designers · 161 tokens

market-research-workflow

Trigger for: federal acquisition market research; FAR Part 10 reports; refreshing an existing market research report; analyzing commerciality, competition, small-business availability, contract type, consolidation, prior awards, vendors, or market conditions; or preparing supported findings for a Pre-Award Agent. A…

1102tools-dev/federal-contracting-skills · 159 tokens

acquisition-policy-workflow

Trigger for: explaining current FAR, DFARS, or agency-supplement text; determining documented acquisition-policy status for an agency and FAR part; comparing codified text, RFO model text, and agency deviations; tracing acquisition rulemaking; finding procurement comment periods; analyzing public comments; refreshing…

1102tools-dev/federal-contracting-skills · 115 tokens

igce-builder-cr

Trigger for: cost-reimbursement IGCE, CR cost estimate, CPFF, CPAF, CPIF, cost-plus estimate, BAA estimate, fixed-fee analysis, award-fee analysis, incentive-fee analysis, proposed CR rate validation, cost-pool buildup, share-ratio scenario, price-reasonableness memo, or fair-and-reasonable analysis. Build auditable…

1102tools-dev/federal-contracting-skills · 161 tokens

igce-builder-lh-tm

Trigger for: Labor-Hour IGCE, LH estimate, Time-and-Materials IGCE, T&M estimate, burdened hourly rate, burden multiplier, labor-category ceiling hours, materials estimate, proposed LH/T&M rate validation, price-reasonableness memo, or fair-and-reasonable analysis. Build auditable LH/T&M estimates using BLS OEWS…

1102tools-dev/federal-contracting-skills · 147 tokens