# anil-matcha/generative-media-skills architecture

> Architecture diagram of the GitHub repository anil-matcha/generative-media-skills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anil-matcha/generative-media-skills
- Repository: https://github.com/anil-matcha/generative-media-skills

## Overview

This is an agent-facing generative-media skills repository: expert recipes translate creative intent into MuAPI operations, with core scripts providing upload, generation, editing, setup, and result-checking primitives. The README documents the CLI delegation and recipe composition; source excerpts were unavailable, so finer-grained call wiring is not inferred.

Main entry points: [`library/workflow`](https://github.com/anil-matcha/generative-media-skills/tree/main/library/workflow) (Workflow Recipes), [`core/media`](https://github.com/anil-matcha/generative-media-skills/tree/main/core/media) (Media Primitives), [`core/edit`](https://github.com/anil-matcha/generative-media-skills/tree/main/core/edit) (Edit Primitives), [`core/platform`](https://github.com/anil-matcha/generative-media-skills/tree/main/core/platform) (Platform Tools)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_expert["Expert Skills"]
  node_workflow["Workflow Recipes"]
  node_visual["Visual Design"]
  node_motion["Motion Video"]
  node_social["Social Content"]
  node_editing["Media Editing"]
end

subgraph group_core["Core Primitives"]
  node_media["Media Primitives"]
  node_editcore["Edit Primitives"]
end

subgraph group_platform["Platform Access"]
  node_platformcore["Platform Tools"]
end

node_agent(("AI Agent"))
node_muapi_cli["muapi-cli"]
node_muapi["MuAPI"]
node_localfiles["Local Media"]
node_outputs["Generated Media"]

node_agent -->|"selects recipes"| node_workflow
node_agent -->|"uses skills"| node_visual
node_agent -->|"uses skills"| node_motion
node_agent -->|"uses skills"| node_social
node_agent -->|"uses skills"| node_editing
node_workflow -->|"combines CLI calls"| node_muapi_cli
node_media -->|"delegates operations"| node_muapi_cli
node_editcore -->|"delegates operations"| node_muapi_cli
node_platformcore -->|"delegates operations"| node_muapi_cli
node_localfiles -->|"uploads files"| node_media
node_muapi_cli -->|"requests media operations"| node_muapi
node_muapi -->|"returns media"| node_outputs

click node_workflow "https://github.com/anil-matcha/generative-media-skills/tree/main/library/workflow"
click node_visual "https://github.com/anil-matcha/generative-media-skills/tree/main/library/visual"
click node_motion "https://github.com/anil-matcha/generative-media-skills/tree/main/library/motion"
click node_social "https://github.com/anil-matcha/generative-media-skills/tree/main/library/social"
click node_editing "https://github.com/anil-matcha/generative-media-skills/tree/main/library/edit"
click node_media "https://github.com/anil-matcha/generative-media-skills/tree/main/core/media"
click node_editcore "https://github.com/anil-matcha/generative-media-skills/tree/main/core/edit"
click node_platformcore "https://github.com/anil-matcha/generative-media-skills/tree/main/core/platform"

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_workflow,node_visual,node_motion,node_social,node_editing toneBlue
class node_media,node_editcore toneAmber
class node_platformcore,node_muapi_cli,node_muapi toneMint
class node_agent,node_localfiles,node_outputs toneIndigo
```

## Components

### Expert Skills

- [Workflow Recipes](https://github.com/anil-matcha/generative-media-skills/tree/main/library/workflow): `library/workflow`
- [Visual Design](https://github.com/anil-matcha/generative-media-skills/tree/main/library/visual): `library/visual`
- [Motion Video](https://github.com/anil-matcha/generative-media-skills/tree/main/library/motion): `library/motion`
- [Social Content](https://github.com/anil-matcha/generative-media-skills/tree/main/library/social): `library/social`
- [Media Editing](https://github.com/anil-matcha/generative-media-skills/tree/main/library/edit): `library/edit`

### Core Primitives

- [Media Primitives](https://github.com/anil-matcha/generative-media-skills/tree/main/core/media): `core/media`
- [Edit Primitives](https://github.com/anil-matcha/generative-media-skills/tree/main/core/edit): `core/edit`

### Platform Access

- [Platform Tools](https://github.com/anil-matcha/generative-media-skills/tree/main/core/platform): `core/platform`

### Other components

- **AI Agent**
- **muapi-cli**
- **MuAPI**
- **Local Media**
- **Generated Media**

## Connections

- AI Agent → Workflow Recipes: selects recipes
- AI Agent → Visual Design: uses skills
- AI Agent → Motion Video: uses skills
- AI Agent → Social Content: uses skills
- AI Agent → Media Editing: uses skills
- Workflow Recipes → muapi-cli: combines CLI calls
- Media Primitives → muapi-cli: delegates operations
- Edit Primitives → muapi-cli: delegates operations
- Platform Tools → muapi-cli: delegates operations
- Local Media → Media Primitives: uploads files
- muapi-cli → MuAPI: requests media operations
- MuAPI → Generated Media: returns media
