Index of every page on this site: llms.txt
All skills
utillayer avatar

/yt-retention

@e0ac1e7
Run it yourself

Read a YouTube Studio audience-retention export, find the moments viewers leave, and name the one change to make. Use for "why do people stop watching", "my retention is bad", a retention chart or CSV, or "fix my pacing".

Requires /yt-package
Use this Skill: https://skilld.dev/gh/utillayer/youtube-agent-skill/yt-retention

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈59 tokens for metadata: the name and description. ≈535 when used: this file.

Description uses 2.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈236 characters, or 2.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

yt-retention

The retention graph is the most honest feedback a video gets, and most creators never download it.

python3 ${CLAUDE_SKILL_DIR}/retention.py retention.csv --duration 600
python3 ${CLAUDE_SKILL_DIR}/retention.py retention.csv --duration 600 --transcript transcript.srt

The tools live in this skill's folder. ${CLAUDE_SKILL_DIR} is that folder in Claude Code; anywhere it does not expand (claude.ai, Codex), use the folder this SKILL.md was loaded from. The transcript reader is ../yt-edit/deadair.py, so install the two together.

Getting the file: Studio → the video → Analytics → Engagement → the audience-retention chart → the download icon → "Audience retention".

What it reads: two columns - a position and the share still watching. The position can be seconds, m:ss, a percent of the video, or a 0-1 ratio as the Analytics API gives it. The header decides when it names the unit; otherwise anything up to 100 is read as percent. If the position is a percent, always pass --duration (the length in seconds) - without it the drops have no timestamps and the transcript cannot tell you what was being said. Ask for the length; do not guess.

Three different problems

  • The opening loss: what goes in the first 30 seconds. Under 25% is healthy. When it is the problem, the fix is always the first fifteen seconds of script, not the edit.
  • Cliffs: single steep drops, a specific moment - a topic change with no signal, a sponsor segment, a long setup. With the transcript, the tool prints what was said there, which is what makes the report useful instead of merely interesting.
  • The slide: the steady loss across the middle. That is pacing, and the fix is cutting, not rewriting.

What to hand back

The biggest problem and one change for it - not five. More only if asked. If the opening is healthy and the slide is flat, say the video is fine and the issue is packaging, and point to /yt-package.

Before you hand it over

This skill drafts; you publish. End with the copy-ready block and one question: post it as is, or another pass?

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts6d3 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    This skill analyzes YouTube audience retention exports to identify where viewers drop off and provides specific pacing recommendations. It uses a local Python script to process CSV data and transcripts locally with no detected security risks.

  • Socket6d

    No alerts

  • Snyk6d

    Risk: LOW · No issues

Signed by skilld at e0ac1e7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 4 weeks ago
What it can do
Runs commands
All 1 allowed tools
Bash(python3 ${CLAUDE_SKILL_DIR}/retention.py *)

README badge

README badge for utillayer/youtube-agent-skill/yt-retention