# avechkalo/youtube-agent-skill architecture

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

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

## Overview

This repository is a collection of eleven Claude skills for YouTube channel work, supported by six dependency-free Python tools. The main workflow is creator → chosen skill → written recommendation or artifact → creator review; nothing publishes automatically. Skills cover scripting, packaging, planning, discovery, editing, and analytics. The voice template is a shared input, and a few tools share transcript parsing or hook formulas. Skill-to-tool links and shared voice use are documented in the README; unsampled skill instructions are represented by their exact paths, without inferring internal calls.

Main entry points: [`templates/voice.md`](https://github.com/avechkalo/youtube-agent-skill/blob/main/templates/voice.md) (Creator voice guide), [`skills/yt-script/SKILL.md`](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-script/SKILL.md) (Script writing), [`skills/yt-package/SKILL.md`](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-package/SKILL.md) (Title and thumbnail), [`skills/yt-chapters/SKILL.md`](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-chapters/SKILL.md) (Chapter drafting)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_create["Create and package"]
  node_script["Script writing<br/>[SKILL.md]"]
  node_hookscore["Hook scoring<br/>[hookscore.py]"]
  node_package["Title and thumbnail<br/>[SKILL.md]"]
  node_titlelint["Pairing linter<br/>[title.py]"]
  node_seo["SEO recommendations<br/>[SKILL.md]"]
  node_chapters["Chapter drafting<br/>[SKILL.md]"]
  node_chaptertool["Chapter validation<br/>[chapters.py]"]
end

subgraph group_research["Plan and discover"]
  node_plan["Content planning<br/>[SKILL.md]"]
  node_viral["Niche outliers<br/>[SKILL.md]"]
  node_swipe["Outlier ranking<br/>[swipe.py]"]
  node_shorts["Shorts extraction<br/>[SKILL.md]"]
end

subgraph group_analyze["Analyze and edit"]
  node_audit["Channel audit<br/>[SKILL.md]"]
  node_retention["Retention analysis<br/>[SKILL.md]"]
  node_retentiontool["Retention report<br/>[retention.py]"]
  node_edit["Edit decisions<br/>[SKILL.md]"]
  node_deadair["Transcript analysis<br/>[deadair.py]"]
  node_comment["Comment replies<br/>[SKILL.md]"]
end

subgraph group_shared["Shared inputs"]
  node_voice["Creator voice guide<br/>[voice.md]"]
end

node_creator(("Channel creator"))

node_creator -->|"invokes"| node_script
node_script -->|"scores hooks"| node_hookscore
node_script -->|"drafts script"| node_creator
node_creator -->|"invokes"| node_package
node_package -->|"lints pairing"| node_titlelint
node_package -->|"returns package"| node_creator
node_creator -->|"invokes"| node_seo
node_seo -->|"returns recommendations"| node_creator
node_creator -->|"invokes"| node_chapters
node_chapters -->|"validates chapters"| node_chaptertool
node_chaptertool -->|"loads transcript cues"| node_deadair
node_chapters -->|"returns chapters"| node_creator
node_creator -->|"invokes"| node_plan
node_plan -->|"returns schedule"| node_creator
node_creator -->|"invokes"| node_viral
node_viral -->|"ranks collected videos"| node_swipe
node_swipe -->|"returns outliers"| node_creator
node_creator -->|"invokes"| node_shorts
node_shorts -->|"returns Shorts ideas"| node_creator
node_creator -->|"invokes"| node_audit
node_audit -->|"recommends one fix"| node_creator
node_creator -->|"invokes"| node_retention
node_retention -->|"analyzes export"| node_retentiontool
node_retentiontool -->|"loads transcript cues"| node_deadair
node_retention -->|"returns analysis"| node_creator
node_creator -->|"invokes"| node_edit
node_edit -->|"builds edit list"| node_deadair
node_edit -->|"returns edit list"| node_creator
node_creator -->|"invokes"| node_comment
node_comment -->|"drafts replies"| node_creator
node_voice -->|"guides voice"| node_script
node_voice -->|"guides voice"| node_package
node_voice -->|"guides voice"| node_seo
node_voice -->|"guides voice"| node_chapters
node_voice -->|"guides voice"| node_plan
node_voice -->|"guides voice"| node_viral
node_voice -->|"guides voice"| node_shorts
node_voice -->|"guides voice"| node_audit
node_voice -->|"guides voice"| node_retention
node_voice -->|"guides voice"| node_edit
node_voice -->|"guides voice"| node_comment

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

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_script,node_hookscore,node_package,node_titlelint,node_seo,node_chapters,node_chaptertool toneBlue
class node_plan,node_viral,node_swipe,node_shorts toneAmber
class node_audit,node_retention,node_retentiontool,node_edit,node_deadair,node_comment toneMint
class node_voice toneRose
class node_creator toneIndigo
```

## Components

### Create and package

- [Script writing](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-script/SKILL.md): `skills/yt-script/SKILL.md`
- [Hook scoring](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-script/hookscore.py): `skills/yt-script/hookscore.py`
- [Title and thumbnail](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-package/SKILL.md): `skills/yt-package/SKILL.md`
- [Pairing linter](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-package/title.py): `skills/yt-package/title.py`
- [SEO recommendations](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-seo/SKILL.md): `skills/yt-seo/SKILL.md`
- [Chapter drafting](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-chapters/SKILL.md): `skills/yt-chapters/SKILL.md`
- [Chapter validation](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-chapters/chapters.py): `skills/yt-chapters/chapters.py`

### Plan and discover

- [Content planning](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-plan/SKILL.md): `skills/yt-plan/SKILL.md`
- [Niche outliers](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-viral/SKILL.md): `skills/yt-viral/SKILL.md`
- [Outlier ranking](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-viral/swipe.py): `skills/yt-viral/swipe.py`
- [Shorts extraction](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-shorts/SKILL.md): `skills/yt-shorts/SKILL.md`

### Analyze and edit

- [Channel audit](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-audit/SKILL.md): `skills/yt-audit/SKILL.md`
- [Retention analysis](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-retention/SKILL.md): `skills/yt-retention/SKILL.md`
- [Retention report](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-retention/retention.py): `skills/yt-retention/retention.py`
- [Edit decisions](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-edit/SKILL.md): `skills/yt-edit/SKILL.md`
- [Transcript analysis](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-edit/deadair.py): `skills/yt-edit/deadair.py`
- [Comment replies](https://github.com/avechkalo/youtube-agent-skill/blob/main/skills/yt-comment/SKILL.md): `skills/yt-comment/SKILL.md`

### Shared inputs

- [Creator voice guide](https://github.com/avechkalo/youtube-agent-skill/blob/main/templates/voice.md): `templates/voice.md`

### Other components

- **Channel creator**

## Connections

- Channel creator → Script writing: invokes (evidence: `README.md`)
- Script writing → Hook scoring: scores hooks (evidence: `README.md`)
- Script writing → Channel creator: drafts script (evidence: `README.md`)
- Channel creator → Title and thumbnail: invokes (evidence: `README.md`)
- Title and thumbnail → Pairing linter: lints pairing (evidence: `README.md`)
- Title and thumbnail → Channel creator: returns package (evidence: `README.md`)
- Channel creator → SEO recommendations: invokes (evidence: `README.md`)
- SEO recommendations → Channel creator: returns recommendations (evidence: `README.md`)
- Channel creator → Chapter drafting: invokes (evidence: `README.md`)
- Chapter drafting → Chapter validation: validates chapters (evidence: `README.md`)
- Chapter validation → Transcript analysis: loads transcript cues (evidence: `skills/yt-chapters/chapters.py`)
- Chapter drafting → Channel creator: returns chapters (evidence: `README.md`)
- Channel creator → Content planning: invokes (evidence: `README.md`)
- Content planning → Channel creator: returns schedule (evidence: `README.md`)
- Channel creator → Niche outliers: invokes (evidence: `README.md`)
- Niche outliers → Outlier ranking: ranks collected videos (evidence: `README.md`)
- Outlier ranking → Channel creator: returns outliers (evidence: `README.md`)
- Channel creator → Shorts extraction: invokes (evidence: `README.md`)
- Shorts extraction → Channel creator: returns Shorts ideas (evidence: `README.md`)
- Channel creator → Channel audit: invokes (evidence: `README.md`)
- Channel audit → Channel creator: recommends one fix (evidence: `README.md`)
- Channel creator → Retention analysis: invokes (evidence: `README.md`)
- Retention analysis → Retention report: analyzes export (evidence: `README.md`)
- Retention report → Transcript analysis: loads transcript cues (evidence: `skills/yt-retention/retention.py`)
- Retention analysis → Channel creator: returns analysis (evidence: `README.md`)
- Channel creator → Edit decisions: invokes (evidence: `README.md`)
- Edit decisions → Transcript analysis: builds edit list (evidence: `README.md`)
- Edit decisions → Channel creator: returns edit list (evidence: `README.md`)
- Channel creator → Comment replies: invokes (evidence: `README.md`)
- Comment replies → Channel creator: drafts replies (evidence: `README.md`)
- Creator voice guide → Script writing: guides voice (evidence: `README.md`)
- Creator voice guide → Title and thumbnail: guides voice (evidence: `README.md`)
- Creator voice guide → SEO recommendations: guides voice (evidence: `README.md`)
- Creator voice guide → Chapter drafting: guides voice (evidence: `README.md`)
- Creator voice guide → Content planning: guides voice (evidence: `README.md`)
- Creator voice guide → Niche outliers: guides voice (evidence: `README.md`)
- Creator voice guide → Shorts extraction: guides voice (evidence: `README.md`)
- Creator voice guide → Channel audit: guides voice (evidence: `README.md`)
- Creator voice guide → Retention analysis: guides voice (evidence: `README.md`)
- Creator voice guide → Edit decisions: guides voice (evidence: `README.md`)
- Creator voice guide → Comment replies: guides voice (evidence: `README.md`)
