Yt Retention

Reads your YouTube Studio retention export and names the one spot where viewers leave most, plus the single change that fixes it.

Video & Audioyoutubeaudience retentionanalyticsvideo pacingby Jakeschincariol4.5kGitHub

What it is

Yt Retention is part of a free YouTube toolkit for Claude. It reads the audience-retention data you download from YouTube Studio, the graph of how many viewers are still watching at each moment, and tells you where people actually leave and what to change. It is for YouTubers who see weak watch time but can't tell whether the problem is the opening, one particular moment or the overall pacing of the video.

A bundled Python script splits the drop-off into three different problems. Hook leak is how much of the audience is gone after the first 30 seconds; under 25 percent counts as healthy, and a leak is always traced to the first fifteen seconds of the script, not the edit. Cliffs are sudden steep drops at specific moments, such as an unsignposted topic change or a sponsor read. Slide is the steady loss across the middle, which points to pacing and calls for cutting rather than rewriting. Give it a transcript too and it prints what you were saying at each cliff.

Instead of a long list of tips, you get the single biggest leak and one change for it, with the rest only if you ask. If the opening is healthy and the middle holds steady, it tells you the video itself is fine and the real problem is the title and thumbnail. It only writes advice and never changes anything on your channel.

What it can do

  • Measures hook leak, the share of viewers lost in the first 30 seconds, and rates it healthy, leaking or severe.
  • Finds up to five cliffs, the steepest single drops, with the moment each one happens.
  • Calculates the slide, the steady rate at which viewers leave across the middle of the video.
  • Shows what you were saying at each cliff when given an SRT, VTT or Whisper transcript.
  • Converts a percentage-based chart into real seconds when you give it the video length.
  • Recommends one change for the biggest leak instead of a long checklist.

When to use it

  • Your latest video got plenty of clicks but its average view duration is poor, and you want to know exactly when people left.
  • Viewers keep dropping off around the two-minute mark and you suspect a weak transition.
  • You want to know whether to tighten a video's pacing or rethink how your next video opens.
  • Your retention looks fine and you need to know whether the real problem is your title and thumbnail.

How it works

  1. 1You download the audience-retention file from YouTube Studio (the video's Analytics, then the Engagement tab and the download icon on the retention chart).
  2. 2The agent runs the bundled retention.py script on the CSV, adding the video length and a transcript if you have them.
  3. 3The script reports the hook leak, the steepest cliffs and the slide rate, plus the words spoken at each cliff when a transcript is supplied.
  4. 4The agent picks the single biggest problem and names one specific change, or says the video holds viewers and the packaging needs work.
  5. 5It ends with a block you can copy and asks whether to ship it or change it.

Try asking

“Why do people stop watching my videos? Here's my retention CSV.”
“My retention is bad on this one. Can you find where viewers leave?”
“Read this audience retention export and the transcript and tell me what to fix.”
“Fix my pacing. Here's the retention data for a 10-minute video.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/Jakeschincariol/youtube-agent-skill/tree/main/skills/yt-retention
pnpm
pnpm dlx skills add https://github.com/Jakeschincariol/youtube-agent-skill/tree/main/skills/yt-retention

Install as a Claude Code plugin

Run these inside Claude Code. The plugin may bundle related skills from the same author.

Claude Code
/plugin marketplace add Jakeschincariol/youtube-agent-skill
/plugin install youtube-agent@youtube-agent-skill

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the yt-retention folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/Jakeschincariol/youtube-agent-skill.git
mkdir -p ~/.claude/skills
cp -r youtube-agent-skill/skills/yt-retention ~/.claude/skills/yt-retention

Then just ask in plain language, for example: “Why do people stop watching my videos? Here's my retention CSV.”