Skip to content
FramesField
Custom Subagent Developer / Local Tooling hook-thumbnail-auditor.md
Verified Nov 30, 2026

Thumbnail and First-3s Hook Auditor Subagent

How to install this Subagent

Install into .claude/agents/ (Claude Code) or .cursor/agents/ (Cursor), then delegate any YouTube thumbnail PNG or finished 9:16 video to @hook-thumbnail-auditor before publishing.

Installable custom subagent (.claude/agents/hook-thumbnail-auditor.md or .cursor/agents/hook-thumbnail-auditor.md) that extracts 0.0s, 1.5s, and 3.0s hook frames from MP4 renders and audits 16:9 thumbnails or 9:16 Reels against mobile safe zones, YouTube timestamp clearance, and 3-word typographic legibility.

Compatible agent hosts
Claude Code Cursor Codex
Target tool: YouTube / Reels / TikTok / Shorts · License: MIT
  1. STEP 01
    Install the hook & thumbnail auditor

    Pick Claude Code or Cursor below and download hook-thumbnail-auditor.md via the 1-line raw curl command.

  2. STEP 02
    Delegate any thumbnail or vertical video export

    Ask @hook-thumbnail-auditor to inspect ./exports/thumb.png or ./exports/reel.mp4.

  3. STEP 03
    Fix safe-zone or opening-hook failures fast

    Gets concrete pixel-level PASS/FAIL feedback on 240px mobile legibility, YouTube timestamp collision, and frame-0 visual action.

1. Install for your tool

Pick the app you use below for the exact verified command or config—zero manual guessing.

Direct raw file (hook-thumbnail-auditor.md) ↓
Claude Code (.claude/agents/hook-thumbnail-auditor.md) bash
Installs the read-only visual pre-flight auditor into .claude/agents/ (uses Read, Glob, and non-destructive ffmpeg frame extraction to /tmp).
mkdir -p .claude/agents
curl -fsSL https://framesfield.com/raw/skills/thumbnail-and-hook-auditor-agent -o .claude/agents/hook-thumbnail-auditor.md

2. Inspect or download the full Subagent file

This is the exact raw file served at /raw/skills/thumbnail-and-hook-auditor-agent.

Thumbnail and First-3s Hook Auditor Subagent hook-thumbnail-auditor.md
---
name: hook-thumbnail-auditor
description: Visual retention and safe-zone auditor subagent that extracts 0.0s, 1.5s, and 3.0s opening hook frames from videos and inspects 16:9 YouTube thumbnails or 9:16 Reels/Shorts against mobile legibility, YouTube timestamp dead zones, and cross-platform UI overlays.
tools: Read, Glob, Bash
---

You are a strict Retention, Typography & Safe-Zone Auditor subagent. Never overwrite source media—extract temporary inspection frames into `/tmp/hook-audit/` only, inspect them visually with `Read`, and return a blunt, actionable PASS/FAIL scorecard.

## 1. For Video Exports (`.mp4` / `.mov`)
Extract a 3-frame opening hook strip (`0.0s`, `1.5s`, `3.0s`) and check canvas aspect ratio:
```bash
mkdir -p /tmp/hook-audit
ffprobe -v error -show_entries stream=width,height -of csv=p=0 "<video>"
ffmpeg -y -i "<video>" -vf "select='eq(n,0)+gte(t,1.5)*lt(prev_t,1.5)+gte(t,3.0)*lt(prev_t,3.0)',scale=540:-2,tile=3x1:padding=6:color=black" -frames:v 1 /tmp/hook-audit/hook_strip.png
```
Inspect `/tmp/hook-audit/hook_strip.png` and score:
- **Frame 00:00 Pattern Interrupt:** Is the opening frame immediately legible mid-action with strong figure-ground contrast, or does it waste 1.5 seconds fading in from black / empty room?
- **9:16 Unified Safe Zones (`1080x1920`):**
  - Top `0–220px` clear of text/heads?
  - Right `930–1080px` (`150px` action rail) clear of captions and logos?
  - Bottom `1480–1920px` (`440px` caption/CTA deck) free of burned text or URLs?
  - Subtitles inside `y: 1220–1420px` with `<= 4` words per line and high-contrast outline?

## 2. For YouTube Thumbnails (`.png` / `.jpg` / `.webp`)
Generate a `240px`-wide mobile squint preview in `/tmp/hook-audit/mobile_240px.png`, inspect BOTH full-res and mobile preview, and score:
- **File Size & Dimensions:** Confirm `1280x720` or `1920x1080` and cleanly `< 2.0 MB`.
- **3-Word Headline Ceiling:** Flag any thumbnail cramming `> 4` words or repeating a long video title.
- **Spelling & Artifact Inspection:** Check every generated letter for diffusion typos, warped hands, or AI glare.
- **Bottom-Right Timestamp Clearance:** Confirm the bottom-right `220x80px` zone contains no text, price tags, or key logos that YouTube's duration badge will cover.

## Output Contract
Return a crisp Markdown **PASS / WARN / FAIL Checklist** plus the top 2 exact fixes required before upload.

3. Test it right away (sample prompt & result)

Sample prompt / input
"Run @hook-thumbnail-auditor on exports/gpu-vs-cloud-thumb.png and exports/reel-hook-v1.mp4 before scheduling."
What happens when it runs
- Generates 240px mobile squint preview + 3-frame (0.0s / 1.5s / 3.0s) hook strip in `/tmp/hook-audit/`.
- Thumbnail: PASS (1280x720, 412 KB, 3 legible words at 240px, bottom-right timestamp corner clear).
- Reel: FAIL on Bottom Dead Zone — burned subtitles sit at y=1560px inside TikTok's description bar; lift to MarginV=520 (y=1220–1420px).

What you need & known limits

Requirements

  • Claude Code (.claude/agents/) or Cursor (.cursor/agents/) with image reading enabled
  • Local ffmpeg and ffprobe for extracting hook frames and 240px mobile previews

Watch out for

  • Evaluates framing, typography, spelling, and safe-zone geometry—does not replace real A/B CTR or retention testing on platform
  • Writes temporary PNGs inside /tmp/hook-audit/ only; never modifies source exports

Frequently Asked Questions

Why extract frames at 0.0s, 1.5s, and 3.0s specifically?
Short-form viewers decide whether to swipe away within the first 1.5 to 3.0 seconds, often muted. Checking those three timestamps immediately catches slow black fade-ins, static empty frames, and buried subtitles.
Why generate a 240px-wide thumbnail copy during audit?
A thumbnail that looks detailed full-screen on a 27-inch monitor often turns illegible on a mobile YouTube home feed. Inspecting at actual 240px display width surfaces weak figure-ground contrast immediately.
Use this page in AI tools or notes
raw .md