YouTube Audit — Evidence-First Channel Analysis
Invoke as $youtube-audit.
Report-First Approval Gate
Default to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.
Do not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write/update/fix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research/report writes.
When stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. Do not include Recommended next skill, Recommended next command, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.
Staged Research Workflow
Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
- Stage 1 - Research and clarify. Perform the research, run required source/code checks, and ask any needed clarification questions. Write only a non-canonical working packet: flat mode uses
research/_working/preliminary-<skill>-research.md; product-path mode uses research/{slug}/_working/preliminary-<skill>-research.md. Replace <skill> with this skill's name value. Do not create or update canonical research, spec, or task files in Stage 1. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet.
- Stage 2 - Review alignment. Consume the working packet and build the
review HTML alignment page. The page must render the full preliminary packet, evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.
- Stage 3 - Finalize approved artifacts. Consume final compiled YAML only when it has no unresolved
needs-clarification, unresolved down feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to confirmed with the approval record preserved.
Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
Fetch full video metadata and transcripts from a YouTube channel, persist raw evidence, then analyze both performance shape and content quality. The output identifies repeated strengths, repeated weaknesses, portfolio concentration, content roles, archetypes, and cleanup candidates with evidence cited from specific videos.
Evidence And Feedback Handling
Treat user feedback as input to evaluate, not as automatic ground truth.
- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. If the user appears to misunderstand the evidence or states something factually incorrect, push back clearly and cite the evidence. Do not rewrite findings merely to agree.
- For taste, brand, positioning preference, risk appetite, prioritization, or other subjective judgment calls: weigh user feedback heavily and adapt the recommendation unless it conflicts with verified evidence.
- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.
- When uncertain, say what is known, what is inferred, and what would change the conclusion.
Prerequisites
Two CLI tools are required. Neither needs API keys.
- yt-dlp: Lists channel videos as JSON. Install:
brew install yt-dlp or pip install yt-dlp.
- youtube-transcript-api: Fetches transcripts via Python. If the active Python is externally managed, such as Homebrew Python on macOS under PEP 668, install this package in a project-local virtual environment instead of the system Python.
Check yt-dlp before proceeding. The transcript dependency should be handled through a project-local .venv when it is missing.
Process
1. Parse Arguments
$ARGUMENTS must contain a YouTube channel URL or handle (e.g. @handle).
- Optional
--count N sets how many recent videos to fetch (default 20, max 50).
- If no channel is provided, ask the user for one and stop.
- Normalize handles to channel video URLs when needed:
@handle -> https://www.youtube.com/@handle/videos.
- Validate that
yt-dlp is available first:
command -v yt-dlp
- Select the Python interpreter for transcript fetching. Prefer a workspace-local virtual environment when present; if one is not present, create it before checking the transcript import:
if [ ! -x .venv/bin/python ]; then
python3 -m venv .venv
fi
TRANSCRIPT_PYTHON=.venv/bin/python
"$TRANSCRIPT_PYTHON" -c "from youtube_transcript_api import YouTubeTranscriptApi; print('ok')"
- If the import check fails, install the missing package into the project-local virtual environment, then rerun the import check:
.venv/bin/python -m pip install youtube-transcript-api
"$TRANSCRIPT_PYTHON" -c "from youtube_transcript_api import YouTubeTranscriptApi; print('ok')"
- Store the selected interpreter path and use it for every transcript-fetching command in this audit.
- If package installation fails because network access is unavailable or denied, stop and report the exact safe install commands below:
python3 -m venv .venv
.venv/bin/python -m pip install youtube-transcript-api
Do not recommend installing youtube-transcript-api into Homebrew/system Python with python3 -m pip install ..., and do not recommend --break-system-packages. The local-venv path avoids PEP 668 externally-managed-environment failures on Homebrew Python.
2. Archive Previous Audit
If research/youtube/youtube-audit-*.md or legacy research/youtube-audit-*.md already exists for the same channel (check the > Channel: header in existing files):
- Copy the existing file to
docs/history/archive/YYYY-MM-DD/HHMMSS/research/youtube-audit-*.md.
- Preserve the archived snapshot exactly.
- Then proceed to overwrite the canonical path.
New files do not need archive snapshots.
3. Fetch Video List
Create:
research/youtube/data/<slug>/
Run full metadata export, not flat playlist metadata:
yt-dlp --dump-json --playlist-end N "CHANNEL_URL/videos"
Persist the raw newline-delimited response exactly to:
research/youtube/data/<slug>/videos-YYYY-MM-DD.jsonl
Parse each JSON object for at least:
| Field |
Notes |
id, webpage_url, title, description |
Identity and audit links |
channel, channel_id, uploader, uploader_id |
Channel identity |
upload_date, timestamp |
Used for recency and views/day |
duration |
Used for views/minute |
view_count, like_count, comment_count |
Performance |
tags, categories, chapters |
Positioning and packaging signals |
thumbnail, thumbnails |
Packaging review signal |
Build a video table sorted by upload date (newest first). Report total videos found.
4. Fetch Transcripts
Use the same Python interpreter that passed the import check. If .venv/bin/python exists and passed the import check, run transcript fetching with .venv/bin/python; otherwise use the Python executable that passed the import check. Fetch transcripts sequentially and persist raw transcript JSON:
from youtube_transcript_api import YouTubeTranscriptApi
from pathlib import Path
import json, sys, time
video_ids = json.loads(sys.argv[1])
out_dir = Path(sys.argv[2])
out_dir.mkdir(parents=True, exist_ok=True)
results = {}
errors = []
for vid in video_ids:
try:
transcript = YouTubeTranscriptApi.get_transcript(vid)
(out_dir / f"{vid}.json").write_text(json.dumps(transcript, ensure_ascii=False, indent=2))
results[vid] = " ".join(entry["text"] for entry in transcript)
except Exception as e:
errors.append({"id": vid, "reason": str(e)})
time.sleep(1.5)
summary = {"transcripts": results, "errors": errors}
(out_dir / "transcripts-summary.json").write_text(json.dumps(summary, ensure_ascii=False, indent=2))
json.dump(summary, sys.stdout)
- Fetch sequentially with 1.5s delay to avoid rate limiting.
- Skip videos without transcripts and log the reason.
- If more than 80% lack transcripts, warn the user and ask whether to proceed.
- Do not fabricate transcript text; transcript gaps are evidence quality limits.
5. Prepare Analysis Context
Build structured records per video:
| Field |
Computation |
| Title, date, URL, duration, views, likes, comments |
Direct from metadata |
| Age in days |
From upload date to current date |
| Views/day |
view_count / max(age_days, 1) |
| Views/minute |
view_count / max(duration_minutes, 1) |
| Like rate |
like_count / view_count when both exist |
| Transcript coverage |
yes, no, or partial |
| Archetype |
Format pattern such as founder update, interview, tutorial, analysis, vlog, launch, reaction, teardown |
| Content role |
Strategic role such as acquisition, trust-building, proof, education, launch support, community retention, cleanup candidate |
If total transcript text exceeds 80,000 words, truncate each transcript to preserve:
- First 500 words (hook and intro)
- Last 300 words (outro and CTA)
- Trim the middle proportionally across all videos to fit the budget
6. Analyze Content
Analyze performance and content in one pass.
Performance And Portfolio Fields
Include:
- Total videos analyzed, transcript coverage, total views, median views, top video, bottom video.
- Views/day and views/minute leaders.
- Top-video concentration: top 1, top 3, and top 5 share of analyzed views.
- Portfolio distribution by archetype and content role.
- Packaging signals from titles, thumbnails, tags, descriptions, and chapters.
- Cleanup candidates: videos with poor fit, weak performance relative to channel median, stale positioning, or inconsistent audience promise. Mark as
keep, refresh, unlist/private candidate, or needs human review; do not recommend deletion as an automated action.
Content Quality Patterns
Split into positive patterns (double down) and critical patterns (fix).
Every finding must cite evidence from 2+ videos to qualify as a pattern. Single-video observations are not patterns — discard them.
Analyze across these dimensions:
| Dimension |
What to look for |
| Positioning |
Who is this channel for? Is it consistent? Does the creator own a niche? |
| Hooks |
First 30 seconds — do they create curiosity, state a problem, or waste time? |
| Interview style |
If applicable — question quality, follow-ups, guest chemistry, interruptions |
| Credibility |
Does the creator demonstrate expertise? Name-drop experiences? Show receipts? |
| Topic selection |
Are topics timely, evergreen, niche, or scattered? Do they match the audience? |
| Pacing |
Does the content drag or rush? Are there dead zones? |
| Editing signals |
Verbal cues for cuts, chapters, graphics. Does the script feel edited or rambling? |
| Startup rigor |
If startup/business content — are frameworks used? Is advice actionable or generic? |
| Audience trust |
Does the creator build trust or erode it? Sponsorship handling, honesty, consistency |
| Portfolio fit |
Does each video serve a clear role in the channel strategy? |
| Packaging |
Do title, thumbnail, topic, and opening promise align? |
7. Write Report
Save to research/youtube/youtube-audit-<slug>-YYYY-MM-DD.md:
# YouTube Audit — [Channel Name]
> Channel: [URL]
> Videos analyzed: N
> Transcripts available: N of M
> Date: YYYY-MM-DD
> Raw metadata: research/youtube/data/<slug>/videos-YYYY-MM-DD.jsonl
> Raw transcripts: research/youtube/data/<slug>/transcripts/
## Videos Analyzed
| # | Title | Date | Views | Likes | Views/day | Views/min | Duration | Archetype | Role | Transcript |
|---|-------|------|-------|-------|-----------|-----------|----------|-----------|------|------------|
| 1 | [Title](URL) | YYYY-MM-DD | N | N | N | N | Xm | [type] | [role] | Yes/No |
| ... | | | | | |
## Performance Snapshot
- **Total views analyzed**: N
- **Median views**: N
- **Top 1 concentration**: N%
- **Top 3 concentration**: N%
- **Views/day leader**: [video]
- **Views/minute leader**: [video]
## Portfolio Shape
| Archetype | Videos | View share | Notes |
|---|---:|---:|---|
| ... | | | |
| Content role | Videos | View share | Notes |
|---|---:|---:|---|
| ... | | | |
## Positive Patterns (Double Down)
### [Pattern Title]
- **Frequency**: Found in N of M videos
- **Evidence**: [Video 1 title] — "[quote or description]"; [Video 2 title] — "[quote or description]"
- **Recommendation**: [What to keep doing or amplify]
### ...
## Critical Patterns (Fix)
### [Pattern Title]
- **Severity**: High / Medium / Low
- **Frequency**: Found in N of M videos
- **Evidence**: [Video 1 title] — "[quote or description]"; [Video 2 title] — "[quote or description]"
- **Impact**: [Why this hurts the channel]
- **Recommendation**: [Specific fix]
### ...
## Cleanup Candidates
| Video | Recommendation | Evidence | Human check |
|---|---|---|---|
| [Title](URL) | Keep / Refresh / Unlist-private candidate / Needs human review | [performance + fit evidence] | [what to inspect before action] |
## Summary
### Top 3 Strengths
1. [Strength] — [one-line why]
2. [Strength] — [one-line why]
3. [Strength] — [one-line why]
### Top 3 Weaknesses
1. [Weakness] — [one-line why]
2. [Weakness] — [one-line why]
3. [Weakness] — [one-line why]
### Strategic Recommendation
[2-3 sentences: the single most impactful change the channel should make, grounded in the patterns found]
Create the research/youtube/ and research/youtube/data/<slug>/ directories if they do not exist.
8. Summarize In Thread
After saving the report, output: top 3 strengths, top 3 weaknesses, performance/portfolio headline, strategic recommendation, report path, and raw data paths.
Constraints
- Pattern-only reporting: Every finding must have evidence from 2+ videos. No single-video observations.
- Sequential fetching: Do not parallelize transcript fetches — use 1.5s delay to avoid IP rate limiting.
- No API keys: Both tools work unauthenticated against public data. Do not ask the user for API keys.
- Smart truncation: When truncating, always preserve hooks (first 500 words) and outros (last 300 words).
- Honest coverage: If transcripts are sparse, say so. Do not fabricate transcript content or hallucinate quotes.
- Raw evidence first: Always persist raw
yt-dlp JSONL and transcript JSON before writing analysis.
- No automated destructive content advice: Cleanup candidates are review recommendations, not instructions to delete content.
- Stay in analysis mode: Do not propose video ideas, scripts, or content calendars. The job is to audit what exists.
Approved Artifact Handoff
After an approved synthesized write, explicit write/update mode, or any direct artifact mutation:
- List every created or updated synthesized artifact path in the final response.
- State the verification performed, such as readback, schema/check command, or why no executable verification applies for a Markdown-only strategy artifact.
- Check and report the relevant git status for intended artifacts when the project is a git repository. If intended artifacts are modified or untracked, make the next action shipping, committing, or an explicit dirty-artifact handoff before recommending downstream strategy work.
- Do not imply the research workflow is complete while approved artifacts remain untracked or uncommitted unless the user explicitly asked not to ship.
- If stopping for approval before writing, the approval request remains the next action; do not include downstream routing.
Intent-Aware Routing
Before applying the default next-step routing, classify the user's immediate intent and route to the missing action that best serves that intent:
- Strategy refresh: recommend the missing or stale positioning, programming, portfolio, metrics, or product-media artifact.
- Recording prep: recommend the missing series spec, script, build proof, walkthrough guide, or validation artifact needed before recording.
- Upload prep: recommend packaging, title/thumbnail, description, chapters, or final metadata work before broader strategy work.
- Performance review: recommend metrics, cadence, portfolio, peer benchmark, or owner-analytics export work before new content planning.
- Owner analytics or private/manual platform evidence: route to an explicit manual/guide handoff instead of inventing unavailable metrics.
- Dirty intended artifacts: route to shipping/commit/handoff first, not another creator strategy skill.
Use the default next-skill sequence only when no stronger user intent, missing artifact, manual blocker, or dirty-artifact handoff applies.
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following ALIGNMENT-PAGE.md in this skill's directory. Output: alignment/youtube-audit-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: youtube-audit-53description: Analyze a YouTube channel with evidence-first metadata, transcripts, performance fields, portfolio shape, and repeated content-quality patterns4type: research5version: v0.46argument-hint: "<channel URL or handle> [--count N]"7interview_depth: none8metadata:9 source: https://skillmd.com/skills/georgeqle/youtube-audit-510---1112# YouTube Audit — Evidence-First Channel Analysis1314Invoke as `$youtube-audit`.1516## Report-First Approval Gate1718Default to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.1920Do not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write/update/fix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research/report writes.2122When stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.2324## Staged Research Workflow2526Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.27281. **Stage 1 - Research and clarify.** Perform the research, run required source/code checks, and ask any needed clarification questions. Write only a non-canonical working packet: flat mode uses `research/_working/preliminary-<skill>-research.md`; product-path mode uses `research/{slug}/_working/preliminary-<skill>-research.md`. Replace `<skill>` with this skill's `name` value. Do not create or update canonical research, spec, or task files in Stage 1. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet.292. **Stage 2 - Review alignment.** Consume the working packet and build the `review` HTML alignment page. The page must render the full preliminary packet, evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.303. **Stage 3 - Finalize approved artifacts.** Consume final compiled YAML only when it has no unresolved `needs-clarification`, unresolved `down` feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to `docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>`, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to `confirmed` with the approval record preserved.3132Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.3334Fetch full video metadata and transcripts from a YouTube channel, persist raw evidence, then analyze both performance shape and content quality. The output identifies repeated strengths, repeated weaknesses, portfolio concentration, content roles, archetypes, and cleanup candidates with evidence cited from specific videos.3536## Evidence And Feedback Handling3738Treat user feedback as input to evaluate, not as automatic ground truth.3940- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. If the user appears to misunderstand the evidence or states something factually incorrect, push back clearly and cite the evidence. Do not rewrite findings merely to agree.41- For taste, brand, positioning preference, risk appetite, prioritization, or other subjective judgment calls: weigh user feedback heavily and adapt the recommendation unless it conflicts with verified evidence.42- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.43- When uncertain, say what is known, what is inferred, and what would change the conclusion.4445## Prerequisites4647Two CLI tools are required. Neither needs API keys.4849- **yt-dlp**: Lists channel videos as JSON. Install: `brew install yt-dlp` or `pip install yt-dlp`.50- **youtube-transcript-api**: Fetches transcripts via Python. If the active Python is externally managed, such as Homebrew Python on macOS under PEP 668, install this package in a project-local virtual environment instead of the system Python.5152Check `yt-dlp` before proceeding. The transcript dependency should be handled through a project-local `.venv` when it is missing.5354## Process5556### 1. Parse Arguments5758- `$ARGUMENTS` must contain a YouTube channel URL or handle (e.g. `@handle`).59- Optional `--count N` sets how many recent videos to fetch (default 20, max 50).60- If no channel is provided, ask the user for one and stop.61- Normalize handles to channel video URLs when needed: `@handle` -> `https://www.youtube.com/@handle/videos`.62- Validate that `yt-dlp` is available first:6364```bash65command -v yt-dlp66```6768- Select the Python interpreter for transcript fetching. Prefer a workspace-local virtual environment when present; if one is not present, create it before checking the transcript import:6970```bash71if [ ! -x .venv/bin/python ]; then72 python3 -m venv .venv73fi74TRANSCRIPT_PYTHON=.venv/bin/python75"$TRANSCRIPT_PYTHON" -c "from youtube_transcript_api import YouTubeTranscriptApi; print('ok')"76```7778- If the import check fails, install the missing package into the project-local virtual environment, then rerun the import check:7980```bash81.venv/bin/python -m pip install youtube-transcript-api82"$TRANSCRIPT_PYTHON" -c "from youtube_transcript_api import YouTubeTranscriptApi; print('ok')"83```8485- Store the selected interpreter path and use it for every transcript-fetching command in this audit.86- If package installation fails because network access is unavailable or denied, stop and report the exact safe install commands below:8788```bash89python3 -m venv .venv90.venv/bin/python -m pip install youtube-transcript-api91```9293Do not recommend installing `youtube-transcript-api` into Homebrew/system Python with `python3 -m pip install ...`, and do not recommend `--break-system-packages`. The local-venv path avoids PEP 668 `externally-managed-environment` failures on Homebrew Python.9495### 2. Archive Previous Audit9697If `research/youtube/youtube-audit-*.md` or legacy `research/youtube-audit-*.md` already exists for the same channel (check the `> Channel:` header in existing files):98991. Copy the existing file to `docs/history/archive/YYYY-MM-DD/HHMMSS/research/youtube-audit-*.md`.1002. Preserve the archived snapshot exactly.1013. Then proceed to overwrite the canonical path.102103New files do not need archive snapshots.104105### 3. Fetch Video List106107Create:108109```text110research/youtube/data/<slug>/111```112113Run full metadata export, not flat playlist metadata:114115```bash116yt-dlp --dump-json --playlist-end N "CHANNEL_URL/videos"117```118119Persist the raw newline-delimited response exactly to:120121```text122research/youtube/data/<slug>/videos-YYYY-MM-DD.jsonl123```124125Parse each JSON object for at least:126127| Field | Notes |128| --- | --- |129| `id`, `webpage_url`, `title`, `description` | Identity and audit links |130| `channel`, `channel_id`, `uploader`, `uploader_id` | Channel identity |131| `upload_date`, `timestamp` | Used for recency and views/day |132| `duration` | Used for views/minute |133| `view_count`, `like_count`, `comment_count` | Performance |134| `tags`, `categories`, `chapters` | Positioning and packaging signals |135| `thumbnail`, `thumbnails` | Packaging review signal |136137Build a video table sorted by upload date (newest first). Report total videos found.138139### 4. Fetch Transcripts140141Use the same Python interpreter that passed the import check. If `.venv/bin/python` exists and passed the import check, run transcript fetching with `.venv/bin/python`; otherwise use the Python executable that passed the import check. Fetch transcripts sequentially and persist raw transcript JSON:142143```python144from youtube_transcript_api import YouTubeTranscriptApi145from pathlib import Path146import json, sys, time147148video_ids = json.loads(sys.argv[1])149out_dir = Path(sys.argv[2])150out_dir.mkdir(parents=True, exist_ok=True)151results = {}152errors = []153154for vid in video_ids:155 try:156 transcript = YouTubeTranscriptApi.get_transcript(vid)157 (out_dir / f"{vid}.json").write_text(json.dumps(transcript, ensure_ascii=False, indent=2))158 results[vid] = " ".join(entry["text"] for entry in transcript)159 except Exception as e:160 errors.append({"id": vid, "reason": str(e)})161 time.sleep(1.5)162163summary = {"transcripts": results, "errors": errors}164(out_dir / "transcripts-summary.json").write_text(json.dumps(summary, ensure_ascii=False, indent=2))165json.dump(summary, sys.stdout)166```167168- Fetch sequentially with 1.5s delay to avoid rate limiting.169- Skip videos without transcripts and log the reason.170- If more than 80% lack transcripts, warn the user and ask whether to proceed.171- Do not fabricate transcript text; transcript gaps are evidence quality limits.172173### 5. Prepare Analysis Context174175Build structured records per video:176177| Field | Computation |178| --- | --- |179| Title, date, URL, duration, views, likes, comments | Direct from metadata |180| Age in days | From upload date to current date |181| Views/day | `view_count / max(age_days, 1)` |182| Views/minute | `view_count / max(duration_minutes, 1)` |183| Like rate | `like_count / view_count` when both exist |184| Transcript coverage | `yes`, `no`, or `partial` |185| Archetype | Format pattern such as founder update, interview, tutorial, analysis, vlog, launch, reaction, teardown |186| Content role | Strategic role such as acquisition, trust-building, proof, education, launch support, community retention, cleanup candidate |187188If total transcript text exceeds 80,000 words, truncate each transcript to preserve:189- First 500 words (hook and intro)190- Last 300 words (outro and CTA)191- Trim the middle proportionally across all videos to fit the budget192193### 6. Analyze Content194195Analyze performance and content in one pass.196197### Performance And Portfolio Fields198199Include:200201- Total videos analyzed, transcript coverage, total views, median views, top video, bottom video.202- Views/day and views/minute leaders.203- Top-video concentration: top 1, top 3, and top 5 share of analyzed views.204- Portfolio distribution by archetype and content role.205- Packaging signals from titles, thumbnails, tags, descriptions, and chapters.206- Cleanup candidates: videos with poor fit, weak performance relative to channel median, stale positioning, or inconsistent audience promise. Mark as `keep`, `refresh`, `unlist/private candidate`, or `needs human review`; do not recommend deletion as an automated action.207208### Content Quality Patterns209210Split into positive patterns (double down) and critical patterns (fix).211212**Every finding must cite evidence from 2+ videos to qualify as a pattern.** Single-video observations are not patterns — discard them.213214Analyze across these dimensions:215216| Dimension | What to look for |217| --- | --- |218| Positioning | Who is this channel for? Is it consistent? Does the creator own a niche? |219| Hooks | First 30 seconds — do they create curiosity, state a problem, or waste time? |220| Interview style | If applicable — question quality, follow-ups, guest chemistry, interruptions |221| Credibility | Does the creator demonstrate expertise? Name-drop experiences? Show receipts? |222| Topic selection | Are topics timely, evergreen, niche, or scattered? Do they match the audience? |223| Pacing | Does the content drag or rush? Are there dead zones? |224| Editing signals | Verbal cues for cuts, chapters, graphics. Does the script feel edited or rambling? |225| Startup rigor | If startup/business content — are frameworks used? Is advice actionable or generic? |226| Audience trust | Does the creator build trust or erode it? Sponsorship handling, honesty, consistency |227| Portfolio fit | Does each video serve a clear role in the channel strategy? |228| Packaging | Do title, thumbnail, topic, and opening promise align? |229230### 7. Write Report231232Save to `research/youtube/youtube-audit-<slug>-YYYY-MM-DD.md`:233234```markdown235# YouTube Audit — [Channel Name]236237> Channel: [URL]238> Videos analyzed: N239> Transcripts available: N of M240> Date: YYYY-MM-DD241> Raw metadata: research/youtube/data/<slug>/videos-YYYY-MM-DD.jsonl242> Raw transcripts: research/youtube/data/<slug>/transcripts/243244## Videos Analyzed245246| # | Title | Date | Views | Likes | Views/day | Views/min | Duration | Archetype | Role | Transcript |247|---|-------|------|-------|-------|-----------|-----------|----------|-----------|------|------------|248| 1 | [Title](URL) | YYYY-MM-DD | N | N | N | N | Xm | [type] | [role] | Yes/No |249| ... | | | | | |250251## Performance Snapshot252253- **Total views analyzed**: N254- **Median views**: N255- **Top 1 concentration**: N%256- **Top 3 concentration**: N%257- **Views/day leader**: [video]258- **Views/minute leader**: [video]259260## Portfolio Shape261262| Archetype | Videos | View share | Notes |263|---|---:|---:|---|264| ... | | | |265266| Content role | Videos | View share | Notes |267|---|---:|---:|---|268| ... | | | |269270## Positive Patterns (Double Down)271272### [Pattern Title]273- **Frequency**: Found in N of M videos274- **Evidence**: [Video 1 title] — "[quote or description]"; [Video 2 title] — "[quote or description]"275- **Recommendation**: [What to keep doing or amplify]276277### ...278279## Critical Patterns (Fix)280281### [Pattern Title]282- **Severity**: High / Medium / Low283- **Frequency**: Found in N of M videos284- **Evidence**: [Video 1 title] — "[quote or description]"; [Video 2 title] — "[quote or description]"285- **Impact**: [Why this hurts the channel]286- **Recommendation**: [Specific fix]287288### ...289290## Cleanup Candidates291292| Video | Recommendation | Evidence | Human check |293|---|---|---|---|294| [Title](URL) | Keep / Refresh / Unlist-private candidate / Needs human review | [performance + fit evidence] | [what to inspect before action] |295296## Summary297298### Top 3 Strengths2991. [Strength] — [one-line why]3002. [Strength] — [one-line why]3013. [Strength] — [one-line why]302303### Top 3 Weaknesses3041. [Weakness] — [one-line why]3052. [Weakness] — [one-line why]3063. [Weakness] — [one-line why]307308### Strategic Recommendation309[2-3 sentences: the single most impactful change the channel should make, grounded in the patterns found]310```311312Create the `research/youtube/` and `research/youtube/data/<slug>/` directories if they do not exist.313314### 8. Summarize In Thread315316After saving the report, output: top 3 strengths, top 3 weaknesses, performance/portfolio headline, strategic recommendation, report path, and raw data paths.317318## Constraints319320- **Pattern-only reporting**: Every finding must have evidence from 2+ videos. No single-video observations.321- **Sequential fetching**: Do not parallelize transcript fetches — use 1.5s delay to avoid IP rate limiting.322- **No API keys**: Both tools work unauthenticated against public data. Do not ask the user for API keys.323- **Smart truncation**: When truncating, always preserve hooks (first 500 words) and outros (last 300 words).324- **Honest coverage**: If transcripts are sparse, say so. Do not fabricate transcript content or hallucinate quotes.325- **Raw evidence first**: Always persist raw `yt-dlp` JSONL and transcript JSON before writing analysis.326- **No automated destructive content advice**: Cleanup candidates are review recommendations, not instructions to delete content.327- **Stay in analysis mode**: Do not propose video ideas, scripts, or content calendars. The job is to audit what exists.328329## Approved Artifact Handoff330331After an approved synthesized write, explicit write/update mode, or any direct artifact mutation:332333- List every created or updated synthesized artifact path in the final response.334- State the verification performed, such as readback, schema/check command, or why no executable verification applies for a Markdown-only strategy artifact.335- Check and report the relevant git status for intended artifacts when the project is a git repository. If intended artifacts are modified or untracked, make the next action shipping, committing, or an explicit dirty-artifact handoff before recommending downstream strategy work.336- Do not imply the research workflow is complete while approved artifacts remain untracked or uncommitted unless the user explicitly asked not to ship.337- If stopping for approval before writing, the approval request remains the next action; do not include downstream routing.338339## Intent-Aware Routing340341Before applying the default next-step routing, classify the user's immediate intent and route to the missing action that best serves that intent:342343- Strategy refresh: recommend the missing or stale positioning, programming, portfolio, metrics, or product-media artifact.344- Recording prep: recommend the missing series spec, script, build proof, walkthrough guide, or validation artifact needed before recording.345- Upload prep: recommend packaging, title/thumbnail, description, chapters, or final metadata work before broader strategy work.346- Performance review: recommend metrics, cadence, portfolio, peer benchmark, or owner-analytics export work before new content planning.347- Owner analytics or private/manual platform evidence: route to an explicit manual/guide handoff instead of inventing unavailable metrics.348- Dirty intended artifacts: route to shipping/commit/handoff first, not another creator strategy skill.349350Use the default next-skill sequence only when no stronger user intent, missing artifact, manual blocker, or dirty-artifact handoff applies.351352## Alignment Page353354When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following `ALIGNMENT-PAGE.md` in this skill's directory. Output: `alignment/youtube-audit-{topic}.html`.355356## Default Shipping Contract357358Follow the shared shipping contract convention in CLAUDE.md.