# am-will/music-video-reimagined architecture

> Architecture diagram of the GitHub repository am-will/music-video-reimagined, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/am-will/music-video-reimagined
- Repository: https://github.com/am-will/music-video-reimagined

## Overview

Music Video, Reimagined is a Claude skill and production kit for turning a music video into a beat-synchronized, hand-painted Clawd cartoon. The README describes a workflow from studying the source and mapping the song through concept, visual foundation, parallel chapter production, review, and delivery. The graph includes the documented engine, choreography library, and example projects as supporting capabilities. Relationships are based on README statements and the sampled song-analysis and sound-effects scripts; unsampled workflow internals are represented only at their documented directory paths.

Main entry points: [`skills/music-video-reimagined/SKILL.md`](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/SKILL.md) (Production guide), [`skills/music-video-reimagined/assets/example-gangnam/src/ch`](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-gangnam/src/ch) (Chapter scenes), [`skills/music-video-reimagined/assets/engine/src/core.js`](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/src/core.js) (Painting engine), [`skills/music-video-reimagined/assets/engine/render.mjs`](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/render.mjs) (Frame renderer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Creative workflow"]
  node_skill["Production guide<br/>[SKILL.md]"]
  node_references["Phase guides"]
  node_source_study["Source study<br/>[contact_sheet.py]"]
  node_song_map["Song analysis<br/>[analyze_song.py]"]
  node_concept["Concept and storyboard"]
end

subgraph group_production["Film production"]
  node_foundation["Cast and sets"]
  node_dance["Beat-locked moves<br/>[dance.js]"]
  node_chapters["Chapter scenes"]
  node_agents(("Claude agents"))
  node_review["Film and seam review"]
  node_foley["Sound effects mix<br/>[sfx.py]"]
  node_delivery["Encode and deliver"]
end

subgraph group_runtime["Animation runtime"]
  node_engine["Painting engine<br/>[core.js]"]
  node_character["Clawd rig<br/>[clawd.js]"]
  node_effects["Animation effects<br/>[fx.js]"]
  node_renderer["Frame renderer<br/>[render.mjs]"]
end

subgraph group_examples["Example projects"]
  node_gangnam["Gangnam project"]
  node_papercut["Papercut project"]
end

node_creator(("Creator"))
node_source_video["Source video"]
node_song["Song audio"]
node_film["Rendered film"]

node_creator -->|"invokes"| node_skill
node_skill -->|"guides"| node_source_study
node_source_video -->|"is studied"| node_source_study
node_skill -->|"guides"| node_song_map
node_song -->|"is analyzed"| node_song_map
node_skill -->|"guides"| node_concept
node_skill -->|"builds"| node_foundation
node_skill -->|"organizes"| node_chapters
node_skill -->|"coordinates"| node_agents
node_agents -->|"build in parallel"| node_chapters
node_foundation -->|"provides models"| node_chapters
node_dance -.->|"supplies choreography"| node_chapters
node_chapters -->|"are rendered by"| node_renderer
node_renderer -->|"uses"| node_engine
node_engine -->|"uses rig"| node_character
node_engine -->|"uses"| node_effects
node_skill -->|"guides"| node_review
node_renderer -->|"film is reviewed"| node_review
node_song -->|"is mixed with"| node_foley
node_skill -->|"specifies"| node_foley
node_review -->|"precedes"| node_delivery
node_foley -.->|"provides audio"| node_delivery
node_delivery -->|"produces"| node_film
node_gangnam -.->|"exemplifies"| node_chapters
node_papercut -.->|"exemplifies"| node_chapters

click node_skill "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/SKILL.md"
click node_references "https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/references"
click node_source_study "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/scripts/contact_sheet.py"
click node_song_map "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/scripts/analyze_song.py"
click node_concept "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/references/concept-storyboard.md"
click node_foundation "https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-gangnam/src"
click node_dance "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/dance/dance.js"
click node_chapters "https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-gangnam/src/ch"
click node_engine "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/src/core.js"
click node_character "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/src/clawd.js"
click node_effects "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/src/fx.js"
click node_renderer "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/render.mjs"
click node_review "https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/scripts"
click node_foley "https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/scripts/sfx.py"
click node_delivery "https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/scripts"
click node_gangnam "https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-gangnam"
click node_papercut "https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-papercut"

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_skill,node_references,node_source_study,node_song_map,node_concept toneBlue
class node_foundation,node_dance,node_chapters,node_agents,node_review,node_foley,node_delivery toneAmber
class node_engine,node_character,node_effects,node_renderer toneMint
class node_gangnam,node_papercut toneRose
class node_creator,node_source_video,node_song,node_film toneIndigo
```

## Components

### Creative workflow

- [Production guide](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/SKILL.md): `skills/music-video-reimagined/SKILL.md`
- [Phase guides](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/references): `skills/music-video-reimagined/references`
- [Source study](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/scripts/contact_sheet.py): `skills/music-video-reimagined/scripts/contact_sheet.py`
- [Song analysis](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/scripts/analyze_song.py): `skills/music-video-reimagined/scripts/analyze_song.py`
- [Concept and storyboard](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/references/concept-storyboard.md): `skills/music-video-reimagined/references/concept-storyboard.md`

### Film production

- [Cast and sets](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-gangnam/src): `skills/music-video-reimagined/assets/example-gangnam/src`
- [Beat-locked moves](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/dance/dance.js): `skills/music-video-reimagined/assets/dance/dance.js`
- [Chapter scenes](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-gangnam/src/ch): `skills/music-video-reimagined/assets/example-gangnam/src/ch`
- **Claude agents**
- [Film and seam review](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/scripts): `skills/music-video-reimagined/scripts`
- [Sound effects mix](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/scripts/sfx.py): `skills/music-video-reimagined/scripts/sfx.py`
- [Encode and deliver](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/scripts): `skills/music-video-reimagined/scripts`

### Animation runtime

- [Painting engine](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/src/core.js): `skills/music-video-reimagined/assets/engine/src/core.js`
- [Clawd rig](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/src/clawd.js): `skills/music-video-reimagined/assets/engine/src/clawd.js`
- [Animation effects](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/src/fx.js): `skills/music-video-reimagined/assets/engine/src/fx.js`
- [Frame renderer](https://github.com/am-will/music-video-reimagined/blob/main/skills/music-video-reimagined/assets/engine/render.mjs): `skills/music-video-reimagined/assets/engine/render.mjs`

### Example projects

- [Gangnam project](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-gangnam): `skills/music-video-reimagined/assets/example-gangnam`
- [Papercut project](https://github.com/am-will/music-video-reimagined/tree/main/skills/music-video-reimagined/assets/example-papercut): `skills/music-video-reimagined/assets/example-papercut`

### Other components

- **Creator**
- **Source video**
- **Song audio**
- **Rendered film**

## Connections

- Creator → Production guide: invokes (evidence: `README.md`)
- Production guide → Source study: guides (evidence: `README.md`)
- Source video → Source study: is studied (evidence: `README.md`)
- Production guide → Song analysis: guides (evidence: `README.md`)
- Song audio → Song analysis: is analyzed (evidence: `skills/music-video-reimagined/scripts/analyze_song.py`)
- Production guide → Concept and storyboard: guides (evidence: `README.md`)
- Production guide → Cast and sets: builds (evidence: `README.md`)
- Production guide → Chapter scenes: organizes (evidence: `README.md`)
- Production guide → Claude agents: coordinates (evidence: `README.md`)
- Claude agents → Chapter scenes: build in parallel (evidence: `README.md`)
- Cast and sets → Chapter scenes: provides models (evidence: `README.md`)
- Beat-locked moves → Chapter scenes: supplies choreography
- Chapter scenes → Frame renderer: are rendered by (evidence: `README.md`)
- Frame renderer → Painting engine: uses (evidence: `README.md`)
- Painting engine → Clawd rig: uses rig (evidence: `README.md`)
- Painting engine → Animation effects: uses (evidence: `README.md`)
- Production guide → Film and seam review: guides (evidence: `README.md`)
- Frame renderer → Film and seam review: film is reviewed (evidence: `README.md`)
- Song audio → Sound effects mix: is mixed with (evidence: `skills/music-video-reimagined/scripts/sfx.py`)
- Production guide → Sound effects mix: specifies (evidence: `README.md`)
- Film and seam review → Encode and deliver: precedes (evidence: `README.md`)
- Sound effects mix → Encode and deliver: provides audio
- Encode and deliver → Rendered film: produces (evidence: `README.md`)
- Gangnam project → Chapter scenes: exemplifies
- Papercut project → Chapter scenes: exemplifies
