yt-analytics
Skill1 starsChanged 11 days agoApache-2.0View on GitHub
Surgical YouTube Studio analytics & retention diagnosis skill. Pulls live Studio OAuth telemetry (Viewed vs Swiped, Avg % Viewed, 100-point retention curves, exact MM:SS drop-off cliffs, YouTube peer percentiles, and traffic sources), maps drop-offs onto the exact spoken script/words.js lines, and prescribes concrete changes for the next video. Trigger on 'analytics', 'retention', 'why did views stop', 'diagnose my video', 'swipe rate', 'how are my videos doing', or 'yt-analytics'.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- ahmedsakri/youtube-agent-protheir own version, first seen Oct 15, 2026
- tylerprogramming/claude-skillstheir own version, first seen Aug 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- ahmedsakri/youtube-agent-pro★ 1same name
- tylerprogramming/claude-skills★ 0same name
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 repository11 other files it gives its agents.
- youtubeSkill
- tiktok-studioSkill
- yt-briefSkill
- yt-chaptersSkill
- yt-commentSkill
- yt-ideationSkill
- yt-outlineSkill
- yt-packagingSkill
- yt-researchSkill
- yt-studioSkill
- yt-title-lintSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Always fetch the real numbers first before offering any opinion:
- Very specific: line 19
Call yt_channel_snapshot and yt_shorts_experiment_table.
- Distinctive: line 34
Run every video or channel audit through these 4 diagnostic layers in order:
- Very specific: line 52
If watchingPct drops below 45% inside the first 20–30 seconds (or youtubePeerPercentile < 20% at 10pct), the intro has throat-clearing or …
- Very specific: line 65
Never say *"retention dropped in the middle."* Pinpoint the exact timestamp (MM:SS) from steepestDropOffCliffs and quote the exact words …
- Very specific: line 77
When evaluating Shorts across visual styles (e.g., Grid vs Poster Cuts vs Red Pen vs Bench Drawing):
- Very specific: line 78
Always control for duration (durationSec)!
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
YouTube Surgical Analytics & Retention Autopsy (yt-analytics)
Built by MateAI (@mateai-c6m) · Powered by the mateai-youtube MCP Server.
Core Rule: Never dump a raw table of view counts and call it "analytics". Your job is to isolate where in the distribution funnel a video leaked, identify the exact second and spoken sentence where viewers left, and prescribe concrete script/packaging changes for the creator's next upload.
Step 1: Gather Live Studio Telemetry via MCP
Always fetch the real numbers first before offering any opinion:
- Channel-wide overview & Shorts style comparison:
- Call
yt_channel_snapshotandyt_shorts_experiment_table.
- Call
- Per-video 100-point Retention Curve & Script Mapping:
- For the video(s) being analyzed, check if a local Whisper word-timing file (
pipeline/explainer-short/<slug>/words.jsorout/*.json) or script (scripts/<slug>.md) exists in the workspace. - Call
yt_video_details(video_id="<ID>", words_or_script_path="<optional_path>"). - This returns:
trafficSources: Breakdown acrossSHORTS,YT_SEARCH,SUBSCRIBER/BROWSE,RELATED_VIDEO.retentionCheckpoints: Exact% watchingandyoutubePeerPercentile(0–100%vs YouTube videos of similar length) at3%(hook),10%,25%,50%,75%, and100%.steepestDropOffCliffs: Top 5 steepest drop-off moments withtimestampFmt(MM:SS),beforeWatchingPct -> afterWatchingPct,dropPctPoints, andspokenWordsAtCliff.
- For the video(s) being analyzed, check if a local Whisper word-timing file (
(Note on Day-1 Uploads: Google's YouTube Analytics API v2 updates daily 24–48h after upload. For videos published today, compare the Data API's verified viewCount against YouTube Studio's realtime feed starts to estimate day-1 swipe-through rate.)
Step 2: The 4-Layer Diagnostic Framework
Run every video or channel audit through these 4 diagnostic layers in order:
Layer 1: Distribution Funnel Gate Diagnosis (Where is the bottleneck?)
A. For YouTube Shorts (duration <= 180s)
The Shorts algorithm promotes in two sequential gates:
- Gate 1 — The Hook / Swipe Gate (
Viewed vs. Swiped Away %):< 55%Viewed: First-2-Second Hook Failure. The opening visual card or first spoken clause failed to stop the scroll. Fix the opening frame and first 5 words; do not blame the topic.55% – 70%Viewed: Seed-Pool Average. Gets a 200–1,000 view test push, then plateaus unless completion rate is exceptional (>90%).> 70%Viewed: Algorithmic Expansion Zone. The hook works; total reach is now governed by Gate 2.
- Gate 2 — The Completion / Pacing Gate (
Avg % Viewed&50%Checkpoint):- Compare
Avg % Viewedagainst video length:- Under 60s Short: target
> 85–100%+. - 60s–120s Explainer Short: target
> 65–75%.
- Under 60s Short: target
- High Viewed-vs-Swiped (
>70%) + Low Avg % Viewed (<50%): Mid-Script Cliff / Over-Length. The hook stopped the scroll, but a mid-video tangent or slow scene killed completion before the payoff.
- Compare
B. For Long-Form Videos (duration > 180s)
- First-30-Second Survival (
hook_3pct&10pctcheckpoints + Peer Percentile):- If
watchingPctdrops below45%inside the first 20–30 seconds (oryoutubePeerPercentile < 20%at10pct), the intro has throat-clearing or fails to match the title/thumbnail promise immediately.
- If
- Body Stability (
10pct→50pct→100pctPeer Percentile trajectory):- Rising Peer Percentile (e.g.,
10pctis at the8th percentile, but50pct–100pctclimbs to the50th+ percentile):- Diagnosis: Good Core Video Trapped Behind a Leaky First 20 Seconds. The demo/build-log satisfies viewers who stay, so cutting the first 20 seconds of setup on the next video is the highest-leverage fix.
- Falling Peer Percentile (starts
>50th percentile, sinks<15th percentileby midpoint):- Diagnosis: Bait-and-Switch or Pacing Drag. The intro hooked them, but the middle dragged before showing the real result.
- Rising Peer Percentile (e.g.,
- Traffic Source Mix (
trafficSources):- Heavy
YT_SEARCH(>50%), lowBROWSE/RELATED_VIDEO: Title matches search keywords well, but the thumbnail/title curiosity gap isn't triggering homepage Browse clicks.
- Heavy
Layer 2: Second-by-Second Script & Visual Autopsy
Never say "retention dropped in the middle." Pinpoint the exact timestamp (MM:SS) from steepestDropOffCliffs and quote the exact words spoken at that second:
Classify each cliff into one of the 4 Classic Retention Killers:
- The "Promise Broken / Tangent" Cliff: The script pivots away from the title's core tension into secondary filler (e.g., saying "Beyond [main topic], it also does X, though there are no numbers for those"). Viewers immediately feel the main story is over and swipe.
- The "Throat-Clearing Intro" Cliff (
0:00–0:25): Explaining background context, channel history, or setup before showing the stakes or the working artifact. - The "Stat Fatigue" Cliff: Reading more than 3 numbers in a row without a visual contrast shift or human verdict ("here's why that number is misleading").
- The "False Ending" Cliff: Summarizing or dropping vocal energy before the final takeaway, signaling to the viewer that they can leave early.
Layer 3: Visual Style & Length Experiment Grader
When evaluating Shorts across visual styles (e.g., Grid vs Poster Cuts vs Red Pen vs Bench Drawing):
- Always control for duration (
durationSec)! A 120-second Short with45%Avg % Viewed (54swatched) held viewers for almost as many raw seconds as a 65-second Short with85%Avg % Viewed (55swatched), even though YouTube's algorithm heavily rewards the percentage completion (85%). - Highlight both Average Seconds Watched (
avgViewDurationSec) and Average % Viewed (avgViewPct) so the creator sees whether a lower%is caused by the visual style or simply by the script being 2x longer.
Layer 4: Concrete Next-Action Prescription
End every analytics report with 3 concrete, falsifiable actions:
- One Script/Hook Rule for the Next Video (quoting the exact timestamp/line that proved why).
- One Length or Structure Target (e.g., cutting a specific scene type to keep Shorts at
65–75sinstead of120s). - One Live Packaging Action (if applicable) that can be executed immediately via
yt_update_video(e.g., sharpening a title or swapping a thumbnail on a video whose body retention beats the 50th percentile).
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
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.

