# manthanpatelll/leadgenman-os architecture

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

- Interactive diagram: https://gitdiagram.com/manthanpatelll/leadgenman-os
- Repository: https://github.com/manthanpatelll/leadgenman-os

## Overview

Claude Code Content OS is a markdown-based workflow for creating, reviewing, and scheduling Instagram carousels. The creator supplies an idea; `/carousel` uses creator context and editorial systems to draft a dated file, which the creator approves before `/schedule` validates it, renders slides, selects a calendar slot, and hands it to an external scheduler. `/hooks` is a separate ideation tool. The example Next.js app renders sample carousels. Relationships reflect the README; implementation details beyond it are not represented.

Main entry points: [`.claude/commands/carousel.md`](https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/carousel.md) (/carousel), [`.claude/commands/schedule.md`](https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/schedule.md) (/schedule), [`.claude/commands/hooks.md`](https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/hooks.md) (/hooks), [`content/carousels`](https://github.com/manthanpatelll/leadgenman-os/tree/main/content/carousels) (Carousel Draft)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_commands["Claude Commands"]
  node_carousel_cmd["/carousel<br/>[carousel.md]"]
  node_hooks_cmd["/hooks<br/>[hooks.md]"]
  node_schedule_cmd["/schedule<br/>[schedule.md]"]
end

subgraph group_context["Creator Context"]
  node_personal["Personal Profile<br/>[personal-info.md]"]
  node_business["Business Profile<br/>[business-info.md]"]
  node_offers["Offers and CTAs<br/>[offers.md]"]
  node_strategy["Content Strategy<br/>[strategy.md]"]
  node_data["Current Data<br/>[current-data.md]"]
end

subgraph group_editorial["Editorial Systems"]
  node_voice["Brand Voice<br/>[brand-voice.md]"]
  node_types["Carousel Types<br/>[carousel-types.md]"]
  node_rubric["Hook Rubric"]
  node_design["Design System"]
  node_playbook["Reference Material"]
end

subgraph group_content["Content and Examples"]
  node_draft["Carousel Draft"]
  node_example_app["Carousel Examples"]
end

node_creator(("Creator"))
node_scheduler["External Scheduler"]

node_creator -->|"submits idea"| node_carousel_cmd
node_carousel_cmd -->|"reads context"| node_personal
node_carousel_cmd -->|"reads context"| node_business
node_carousel_cmd -->|"reads context"| node_offers
node_carousel_cmd -->|"filters idea"| node_strategy
node_carousel_cmd -->|"reads context"| node_data
node_carousel_cmd -->|"applies voice"| node_voice
node_carousel_cmd -->|"selects type"| node_types
node_carousel_cmd -->|"scores hooks"| node_rubric
node_carousel_cmd -->|"uses design rules"| node_design
node_carousel_cmd -->|"consults references"| node_playbook
node_carousel_cmd -->|"writes draft"| node_draft
node_creator -->|"submits idea"| node_hooks_cmd
node_hooks_cmd -->|"scores hooks"| node_rubric
node_hooks_cmd -->|"returns top hooks"| node_creator
node_creator -->|"requests scheduling"| node_schedule_cmd
node_schedule_cmd -->|"checks and updates"| node_draft
node_schedule_cmd -->|"checks offer"| node_offers
node_schedule_cmd -->|"checks numbers"| node_data
node_schedule_cmd -->|"chooses slot"| node_strategy
node_schedule_cmd -->|"renders slides"| node_design
node_schedule_cmd -->|"books slot"| node_scheduler
node_example_app -.->|"renders examples"| node_draft

click node_carousel_cmd "https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/carousel.md"
click node_hooks_cmd "https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/hooks.md"
click node_schedule_cmd "https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/schedule.md"
click node_personal "https://github.com/manthanpatelll/leadgenman-os/blob/main/personal-info.md"
click node_business "https://github.com/manthanpatelll/leadgenman-os/blob/main/business-info.md"
click node_offers "https://github.com/manthanpatelll/leadgenman-os/blob/main/offers.md"
click node_strategy "https://github.com/manthanpatelll/leadgenman-os/blob/main/strategy.md"
click node_data "https://github.com/manthanpatelll/leadgenman-os/blob/main/current-data.md"
click node_voice "https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/brand-voice.md"
click node_types "https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/carousel-types.md"
click node_rubric "https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/hook-rubric-20pt.md"
click node_design "https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/carousel-design-system.md"
click node_playbook "https://github.com/manthanpatelll/leadgenman-os/tree/main/references"
click node_draft "https://github.com/manthanpatelll/leadgenman-os/tree/main/content/carousels"
click node_example_app "https://github.com/manthanpatelll/leadgenman-os/tree/main/examples/carousels"

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_carousel_cmd,node_hooks_cmd,node_schedule_cmd toneBlue
class node_personal,node_business,node_offers,node_strategy,node_data toneAmber
class node_voice,node_types,node_rubric,node_design,node_playbook toneMint
class node_draft,node_example_app,node_scheduler toneRose
class node_creator toneIndigo
```

## Components

### Claude Commands

- [/carousel](https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/carousel.md): `.claude/commands/carousel.md`
- [/hooks](https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/hooks.md): `.claude/commands/hooks.md`
- [/schedule](https://github.com/manthanpatelll/leadgenman-os/blob/main/.claude/commands/schedule.md): `.claude/commands/schedule.md`

### Creator Context

- [Personal Profile](https://github.com/manthanpatelll/leadgenman-os/blob/main/personal-info.md): `personal-info.md`
- [Business Profile](https://github.com/manthanpatelll/leadgenman-os/blob/main/business-info.md): `business-info.md`
- [Offers and CTAs](https://github.com/manthanpatelll/leadgenman-os/blob/main/offers.md): `offers.md`
- [Content Strategy](https://github.com/manthanpatelll/leadgenman-os/blob/main/strategy.md): `strategy.md`
- [Current Data](https://github.com/manthanpatelll/leadgenman-os/blob/main/current-data.md): `current-data.md`

### Editorial Systems

- [Brand Voice](https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/brand-voice.md): `systems/brand-voice.md`
- [Carousel Types](https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/carousel-types.md): `systems/carousel-types.md`
- [Hook Rubric](https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/hook-rubric-20pt.md): `systems/hook-rubric-20pt.md`
- [Design System](https://github.com/manthanpatelll/leadgenman-os/blob/main/systems/carousel-design-system.md): `systems/carousel-design-system.md`
- [Reference Material](https://github.com/manthanpatelll/leadgenman-os/tree/main/references): `references`

### Content and Examples

- [Carousel Draft](https://github.com/manthanpatelll/leadgenman-os/tree/main/content/carousels): `content/carousels`
- [Carousel Examples](https://github.com/manthanpatelll/leadgenman-os/tree/main/examples/carousels): `examples/carousels`

### Other components

- **Creator**
- **External Scheduler**

## Connections

- Creator → /carousel: submits idea
- /carousel → Personal Profile: reads context
- /carousel → Business Profile: reads context
- /carousel → Offers and CTAs: reads context
- /carousel → Content Strategy: filters idea
- /carousel → Current Data: reads context
- /carousel → Brand Voice: applies voice
- /carousel → Carousel Types: selects type
- /carousel → Hook Rubric: scores hooks
- /carousel → Design System: uses design rules
- /carousel → Reference Material: consults references
- /carousel → Carousel Draft: writes draft
- Creator → /hooks: submits idea
- /hooks → Hook Rubric: scores hooks
- /hooks → Creator: returns top hooks
- Creator → /schedule: requests scheduling
- /schedule → Carousel Draft: checks and updates
- /schedule → Offers and CTAs: checks offer
- /schedule → Current Data: checks numbers
- /schedule → Content Strategy: chooses slot
- /schedule → Design System: renders slides
- /schedule → External Scheduler: books slot
- Carousel Examples → Carousel Draft: renders examples
