# hoanglewi889/youtube-agent-skill architecture

> Architecture diagram of the GitHub repository hoanglewi889/youtube-agent-skill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hoanglewi889/youtube-agent-skill
- Repository: https://github.com/hoanglewi889/youtube-agent-skill

## Overview

This repository is a Claude skill pack for YouTube creators: the user invokes a skill, supplies channel material or research inputs, and receives drafts, analysis, or recommendations to review and use. The README documents eleven capabilities; sampled Python tools implement six of them. Skills share a creator voice template, and some tools reuse transcript parsing or hook formulas. The pack does not publish videos. Connections for unsampled skills reflect README-described capabilities, not inspected implementation; the skills themselves are documented as prompts.

Main entry points: [`templates/voice.md`](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/templates/voice.md) (Creator Voice), [`skills/yt-script/SKILL.md`](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-script/SKILL.md) (Script Writing), [`skills/yt-package/SKILL.md`](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-package/SKILL.md) (Title + Thumbnail), [`skills/yt-edit/SKILL.md`](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-edit/SKILL.md) (Edit Decisions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_skills["Claude Skills"]
  node_comment["Comment Triage<br/>[SKILL.md]"]
  node_plan["Channel Planning<br/>[SKILL.md]"]
  node_voice["Creator Voice<br/>[voice.md]"]
end

subgraph group_creation["Content Creation"]
  node_script["Script Writing<br/>[SKILL.md]"]
  node_package["Title + Thumbnail<br/>[SKILL.md]"]
  node_edit["Edit Decisions<br/>[SKILL.md]"]
  node_chapters["Chapter Drafts<br/>[SKILL.md]"]
  node_shorts["Shorts Finder<br/>[SKILL.md]"]
  node_seo["SEO Drafts<br/>[SKILL.md]"]
end

subgraph group_analysis["Channel Analysis"]
  node_viral["Niche Research<br/>[SKILL.md]"]
  node_retention["Retention Analysis<br/>[SKILL.md]"]
  node_audit["Channel Audit<br/>[SKILL.md]"]
end

subgraph group_tools["Python Tools"]
  node_hookscore["Hook Scorer<br/>[hookscore.py]"]
  node_formulas["Hook Formulas<br/>[hooks.json]"]
  node_titlelint["Pairing Linter<br/>[title.py]"]
  node_deadair["Transcript EDL<br/>[deadair.py]"]
  node_chaptergen["Chapter Generator<br/>[chapters.py]"]
  node_retentiontool["Retention Reporter<br/>[retention.py]"]
  node_swipe["Outlier Ranker<br/>[swipe.py]"]
end

node_creator(("YouTube Creator"))

node_creator -->|"invokes"| node_script
node_creator -->|"invokes"| node_package
node_creator -->|"invokes"| node_edit
node_creator -->|"invokes"| node_chapters
node_creator -->|"invokes"| node_shorts
node_creator -->|"invokes"| node_seo
node_creator -->|"invokes"| node_comment
node_creator -->|"invokes"| node_plan
node_creator -->|"invokes"| node_viral
node_creator -->|"invokes"| node_retention
node_creator -->|"invokes"| node_audit
node_script -->|"reads voice"| node_voice
node_package -->|"reads voice"| node_voice
node_edit -->|"reads voice"| node_voice
node_chapters -->|"reads voice"| node_voice
node_shorts -->|"reads voice"| node_voice
node_seo -->|"reads voice"| node_voice
node_comment -->|"reads voice"| node_voice
node_plan -->|"reads voice"| node_voice
node_viral -->|"reads voice"| node_voice
node_retention -->|"reads voice"| node_voice
node_audit -->|"reads voice"| node_voice
node_script -->|"scores hooks"| node_hookscore
node_package -->|"lints pairing"| node_titlelint
node_edit -->|"builds EDL"| node_deadair
node_chapters -->|"drafts chapters"| node_chaptergen
node_retention -->|"analyzes export"| node_retentiontool
node_viral -->|"ranks videos"| node_swipe
node_hookscore -->|"loads formulas"| node_formulas
node_swipe -->|"loads formulas"| node_formulas
node_chaptergen -->|"loads transcript"| node_deadair
node_retentiontool -->|"loads transcript cues"| node_deadair

click node_script "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-script/SKILL.md"
click node_package "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-package/SKILL.md"
click node_edit "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-edit/SKILL.md"
click node_chapters "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-chapters/SKILL.md"
click node_shorts "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-shorts/SKILL.md"
click node_seo "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-seo/SKILL.md"
click node_comment "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-comment/SKILL.md"
click node_plan "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-plan/SKILL.md"
click node_viral "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-viral/SKILL.md"
click node_retention "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-retention/SKILL.md"
click node_audit "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-audit/SKILL.md"
click node_voice "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/templates/voice.md"
click node_hookscore "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-script/hookscore.py"
click node_formulas "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-script/hooks.json"
click node_titlelint "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-package/title.py"
click node_deadair "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-edit/deadair.py"
click node_chaptergen "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-chapters/chapters.py"
click node_retentiontool "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-retention/retention.py"
click node_swipe "https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-viral/swipe.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_comment,node_plan,node_voice toneBlue
class node_script,node_package,node_edit,node_chapters,node_shorts,node_seo toneAmber
class node_viral,node_retention,node_audit toneMint
class node_hookscore,node_formulas,node_titlelint,node_deadair,node_chaptergen,node_retentiontool,node_swipe toneRose
class node_creator toneIndigo
```

## Components

### Claude Skills

- [Comment Triage](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-comment/SKILL.md): `skills/yt-comment/SKILL.md`
- [Channel Planning](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-plan/SKILL.md): `skills/yt-plan/SKILL.md`
- [Creator Voice](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/templates/voice.md): `templates/voice.md`

### Content Creation

- [Script Writing](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-script/SKILL.md): `skills/yt-script/SKILL.md`
- [Title + Thumbnail](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-package/SKILL.md): `skills/yt-package/SKILL.md`
- [Edit Decisions](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-edit/SKILL.md): `skills/yt-edit/SKILL.md`
- [Chapter Drafts](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-chapters/SKILL.md): `skills/yt-chapters/SKILL.md`
- [Shorts Finder](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-shorts/SKILL.md): `skills/yt-shorts/SKILL.md`
- [SEO Drafts](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-seo/SKILL.md): `skills/yt-seo/SKILL.md`

### Channel Analysis

- [Niche Research](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-viral/SKILL.md): `skills/yt-viral/SKILL.md`
- [Retention Analysis](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-retention/SKILL.md): `skills/yt-retention/SKILL.md`
- [Channel Audit](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-audit/SKILL.md): `skills/yt-audit/SKILL.md`

### Python Tools

- [Hook Scorer](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-script/hookscore.py): `skills/yt-script/hookscore.py`
- [Hook Formulas](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-script/hooks.json): `skills/yt-script/hooks.json`
- [Pairing Linter](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-package/title.py): `skills/yt-package/title.py`
- [Transcript EDL](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-edit/deadair.py): `skills/yt-edit/deadair.py`
- [Chapter Generator](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-chapters/chapters.py): `skills/yt-chapters/chapters.py`
- [Retention Reporter](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-retention/retention.py): `skills/yt-retention/retention.py`
- [Outlier Ranker](https://github.com/hoanglewi889/youtube-agent-skill/blob/main/skills/yt-viral/swipe.py): `skills/yt-viral/swipe.py`

### Other components

- **YouTube Creator**

## Connections

- YouTube Creator → Script Writing: invokes (evidence: `README.md`)
- YouTube Creator → Title + Thumbnail: invokes (evidence: `README.md`)
- YouTube Creator → Edit Decisions: invokes (evidence: `README.md`)
- YouTube Creator → Chapter Drafts: invokes (evidence: `README.md`)
- YouTube Creator → Shorts Finder: invokes (evidence: `README.md`)
- YouTube Creator → SEO Drafts: invokes (evidence: `README.md`)
- YouTube Creator → Comment Triage: invokes (evidence: `README.md`)
- YouTube Creator → Channel Planning: invokes (evidence: `README.md`)
- YouTube Creator → Niche Research: invokes (evidence: `README.md`)
- YouTube Creator → Retention Analysis: invokes (evidence: `README.md`)
- YouTube Creator → Channel Audit: invokes (evidence: `README.md`)
- Script Writing → Creator Voice: reads voice (evidence: `README.md`)
- Title + Thumbnail → Creator Voice: reads voice (evidence: `README.md`)
- Edit Decisions → Creator Voice: reads voice (evidence: `README.md`)
- Chapter Drafts → Creator Voice: reads voice (evidence: `README.md`)
- Shorts Finder → Creator Voice: reads voice (evidence: `README.md`)
- SEO Drafts → Creator Voice: reads voice (evidence: `README.md`)
- Comment Triage → Creator Voice: reads voice (evidence: `README.md`)
- Channel Planning → Creator Voice: reads voice (evidence: `README.md`)
- Niche Research → Creator Voice: reads voice (evidence: `README.md`)
- Retention Analysis → Creator Voice: reads voice (evidence: `README.md`)
- Channel Audit → Creator Voice: reads voice (evidence: `README.md`)
- Script Writing → Hook Scorer: scores hooks (evidence: `README.md`)
- Title + Thumbnail → Pairing Linter: lints pairing (evidence: `README.md`)
- Edit Decisions → Transcript EDL: builds EDL (evidence: `README.md`)
- Chapter Drafts → Chapter Generator: drafts chapters (evidence: `README.md`)
- Retention Analysis → Retention Reporter: analyzes export (evidence: `README.md`)
- Niche Research → Outlier Ranker: ranks videos (evidence: `README.md`)
- Hook Scorer → Hook Formulas: loads formulas (evidence: `skills/yt-script/hookscore.py`)
- Outlier Ranker → Hook Formulas: loads formulas (evidence: `skills/yt-viral/swipe.py`)
- Chapter Generator → Transcript EDL: loads transcript (evidence: `skills/yt-chapters/chapters.py`)
- Retention Reporter → Transcript EDL: loads transcript cues (evidence: `skills/yt-retention/retention.py`)
