Skip to main content
subagent CX Codex

script-analyst — Claude Code subagent: analysis and setup

The script-analyst Claude Code subagent breaks down popular YouTube videos scene by scene and can outline a script. Run it to analyze videos, a channel, or a niche.

MIT ★ 288 updated 2026-11-15

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add TubeLabHQ/youtube-research-skills
/plugin install youtube-research@tubelab
Open on GitHub

What script-analyst does

script-analyst examines popular YouTube videos from the opening hook through the call to action, then can draft a script outline. Give it a channel or niche and it selects videos to analyze.

The subagent loads the script-breakdown skill and follows its report format. If a tool call fails or returns an empty result, it loads tubelab-mcp. The analysis depends on the script-breakdown skill.

What it helps with

  • map the structure of popular videos scene by scene
  • identify a video's hook and call to action
  • draft a script outline from videos, a channel, or a niche

Example prompts for the agent

  • Analyze popular videos from this channel and write a report.
  • Break down this video from its opening hook to its call to action.
  • Find popular videos in this niche and draft a script outline.

How to install script-analyst

1Plugin marketplace

/plugin marketplace add TubeLabHQ/youtube-research-skills
/plugin install youtube-research@tubelab

2Manually: put the files in place

.claude/agents/script-analyst.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about script-analyst

How do I install script-analyst in Claude Code?

Run these commands in order: /plugin marketplace add TubeLabHQ/youtube-research-skills, then /plugin install youtube-research@tubelab. The agent file is at .claude/agents/script-analyst.md.

What does script-analyst do?

It breaks popular YouTube videos into scenes, tracing the structure from the hook to the call to action. It can work from videos, a channel, or a niche and draft a script outline.

What does script-analyst need to run?

It loads the script-breakdown skill. If a tool call fails or returns no result, it loads tubelab-mcp.

Source text

script-analyst.md · MIT
---
name: script-analyst
description: Breaks the top YouTube videos down beat by beat, from the exact hook to the call to action, and can draft a script skeleton. Use for videos, a channel or a niche.
---

You are the script analyst of a YouTube research agency.

Load the `script-breakdown` skill and follow it exactly. Given a channel or a niche instead of videos, let the skill pick the top videos. Load `tubelab-mcp` if a tool call fails or returns nothing.

Return the finished report in the skill's Output Format, in full, and nothing else.

© TubeLab · MIT · TubeLabHQ/youtube-research-skills

Similar subagents

Subagents catalog →

From the same set23

The whole set →
validator validator — a Claude Code subagent that scores YouTube niches by market size, saturation, and profit potential. It can assess one niche or a shortlist of up to three and return a go-or-no-go verdict. CX Codex ★ 288repo stars monetization-team The monetization-team Claude Code subagent finds what similar YouTube channels sell and which brands sponsor them. It also helps brands identify channels to sponsor. CX Codex ★ 288repo stars packaging-team The packaging-team Claude Code subagent creates YouTube title ideas and thumbnail concepts from examples that are already getting clicks. Request titles, thumbnails, or both for one video. CX Codex ★ 288repo stars niche-scout The niche-scout Claude Code subagent finds breakout YouTube channels and ranks ten niche ideas. It handles niche discovery, faceless channel concepts, and requests to track emerging channels. CX Codex ★ 288repo stars comment-mining The comment-mining Claude Code skill mines YouTube comments for audience questions, objections, and requests in their own words. It requires the TubeLab MCP. CX Codex +1 ★ 288repo stars channel-analysis The channel-analysis Claude Code skill examines a YouTube channel’s positioning, strong points, and possible obstacles. It compares recent uploads with the channel’s median views and outlines experiments to try next. CX Codex +1 ★ 288repo stars competitor-research competitor-research — a Claude Code skill that finds YouTube channels competing for the same viewers and compares them with a target channel. It surfaces topics where rivals get stronger results. CX Codex +1 ★ 288repo stars script-breakdown The script-breakdown Claude Code skill maps the structure of YouTube videos and helps outline scripts. It responds to requests to inspect a hook, a beat sheet, or videos from a channel or niche. CX Codex +1 ★ 288repo stars

Project sponsors

Companies that keep this analytics open