# vgarlu/hermes-watch-video architecture

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

- Interactive diagram: https://gitdiagram.com/vgarlu/hermes-watch-video
- Repository: https://github.com/vgarlu/hermes-watch-video

## Overview

This repository provides a Hermes Agent skill for turning a video URL or local file into a timestamped transcript, scene-by-scene visual analysis, and actionable insights. The user invokes the skill; its documented primary path sends the video to Gemini for multimodal analysis. If that path is unavailable, the skill uses a classic sequence of download, keyframe extraction, transcription, and vision analysis before producing the result. The repository contains no source excerpts, so the graph reflects README-documented behavior only; SKILL.md is the available implementation/instruction path.

Main entry points: [`SKILL.md`](https://github.com/vgarlu/hermes-watch-video/blob/main/SKILL.md) (Watch-video skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_request["Request and result"]
  node_skill["Watch-video skill<br/>[SKILL.md]"]
  node_analysis["Analysis output<br/>[SKILL.md]"]
end

subgraph group_primary["Gemini analysis"]
  node_gemini{{"Gemini 2.5 Pro"}}
end

subgraph group_fallback["Classic fallback"]
  node_download["Video download"]
  node_keyframes["Keyframe extraction"]
  node_transcription["Audio transcription"]
  node_vision["Frame vision analysis"]
  node_groq{{"Groq Whisper API"}}
  node_hermesvision{{"Hermes vision model"}}
end

node_user(("User"))

node_user -->|"invokes"| node_skill
node_skill -->|"analyzes video"| node_gemini
node_gemini -->|"returns analysis"| node_analysis
node_skill -->|"fallback downloads"| node_download
node_download -->|"provides video"| node_keyframes
node_download -->|"provides audio"| node_transcription
node_keyframes -->|"provides frames"| node_vision
node_transcription -->|"transcribes audio"| node_groq
node_vision -->|"analyzes frames"| node_hermesvision
node_skill -->|"composes result"| node_analysis

click node_skill "https://github.com/vgarlu/hermes-watch-video/blob/main/SKILL.md"
click node_analysis "https://github.com/vgarlu/hermes-watch-video/blob/main/SKILL.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_skill,node_analysis,node_user toneBlue
class node_gemini toneAmber
class node_download,node_keyframes,node_transcription,node_vision,node_groq,node_hermesvision toneMint
```

## Components

### Request and result

- [Watch-video skill](https://github.com/vgarlu/hermes-watch-video/blob/main/SKILL.md): `SKILL.md`
- [Analysis output](https://github.com/vgarlu/hermes-watch-video/blob/main/SKILL.md): `SKILL.md`

### Gemini analysis

- **Gemini 2.5 Pro**

### Classic fallback

- **Video download**
- **Keyframe extraction**
- **Audio transcription**
- **Frame vision analysis**
- **Groq Whisper API**
- **Hermes vision model**

### Other components

- **User**

## Connections

- User → Watch-video skill: invokes (evidence: `README.md`)
- Watch-video skill → Gemini 2.5 Pro: analyzes video (evidence: `README.md`)
- Gemini 2.5 Pro → Analysis output: returns analysis (evidence: `README.md`)
- Watch-video skill → Video download: fallback downloads (evidence: `README.md`)
- Video download → Keyframe extraction: provides video (evidence: `README.md`)
- Video download → Audio transcription: provides audio (evidence: `README.md`)
- Keyframe extraction → Frame vision analysis: provides frames (evidence: `README.md`)
- Audio transcription → Groq Whisper API: transcribes audio (evidence: `README.md`)
- Frame vision analysis → Hermes vision model: analyzes frames (evidence: `README.md`)
- Watch-video skill → Analysis output: composes result (evidence: `README.md`)
