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
/plugin marketplace add TubeLabHQ/youtube-research-skills
/plugin install youtube-research@tubelabWhat 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@tubelab2Manually: put the files in place
.claude/agents/script-analyst.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/script-analyst.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/script-analyst.mdCursor also reads .claude/agents/
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