# mrazakhalid/instagram-agent-skill architecture

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

- Interactive diagram: https://gitdiagram.com/mrazakhalid/instagram-agent-skill
- Repository: https://github.com/mrazakhalid/instagram-agent-skill

## Overview

This repository is a set of 13 Claude skills for planning and creating Instagram content, reviewing account performance, and handling audience interactions. The principal workflow is user-led: choose a skill, provide context or a draft, and receive written guidance or content; the user approves and posts manually. Skills are standalone rather than a connected runtime pipeline. The README says they read the creator’s voice file. The sampled Python tools run locally; source excerpts show viral analysis optionally reuses Reel hook scoring. Unsampled skill behavior is represented from README descriptions, not inspected implementation.

Main entry points: [`templates/voice.md`](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/templates/voice.md) (Creator voice guide), [`skills/ig-reel/SKILL.md`](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reel/SKILL.md) (Reel writing), [`skills/ig-human/SKILL.md`](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-human/SKILL.md) (Draft humanizer), [`skills/ig-caption/SKILL.md`](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-caption/SKILL.md) (Caption writing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_creation["Content creation"]
  node_reel["Reel writing<br/>[SKILL.md]"]
  node_caption["Caption writing<br/>[SKILL.md]"]
  node_carousel["Carousel writing<br/>[SKILL.md]"]
  node_story["Story sequences<br/>[SKILL.md]"]
  node_repurpose["Content repurposing<br/>[SKILL.md]"]
end

subgraph group_strategy["Account strategy"]
  node_viral["Reel research<br/>[SKILL.md]"]
  node_profile["Profile review<br/>[SKILL.md]"]
  node_plan["Weekly planning<br/>[SKILL.md]"]
  node_audit["Post audit<br/>[SKILL.md]"]
end

subgraph group_community["Audience interactions"]
  node_comment["Comment writing<br/>[SKILL.md]"]
  node_reply["Reply writing<br/>[SKILL.md]"]
  node_dm["DM writing<br/>[SKILL.md]"]
end

subgraph group_quality["Local writing tools"]
  node_human["Draft humanizer<br/>[SKILL.md]"]
  node_hookscore["Hook scoring<br/>[hookscore.py]"]
  node_beats["Reel beat timing<br/>[beats.py]"]
  node_swipe["Swipe-file analysis<br/>[swipe.py]"]
  node_captionlint["Caption linting<br/>[caption.py]"]
  node_humanize["Text cleanup<br/>[humanize.py]"]
  node_detect["Human-score checks<br/>[detect.py]"]
end

node_creator(("Instagram creator"))
node_voice["Creator voice guide<br/>[voice.md]"]

node_creator -->|"requests Reel"| node_reel
node_creator -->|"requests caption"| node_caption
node_creator -->|"requests carousel"| node_carousel
node_creator -->|"requests stories"| node_story
node_creator -->|"requests repurposing"| node_repurpose
node_creator -->|"requests research"| node_viral
node_creator -->|"requests review"| node_profile
node_creator -->|"requests plan"| node_plan
node_creator -->|"requests audit"| node_audit
node_creator -->|"requests comments"| node_comment
node_creator -->|"requests replies"| node_reply
node_creator -->|"requests DMs"| node_dm
node_creator -->|"requests cleanup"| node_human
node_creator -->|"scores hooks"| node_hookscore
node_creator -->|"times script"| node_beats
node_creator -->|"ranks reels"| node_swipe
node_creator -->|"lints caption"| node_captionlint
node_creator -->|"cleans draft"| node_humanize
node_creator -->|"checks draft"| node_detect
node_reel -->|"scores hooks"| node_hookscore
node_reel -->|"times script"| node_beats
node_caption -->|"lints caption"| node_captionlint
node_human -->|"cleans text"| node_humanize
node_human -->|"scores text"| node_detect
node_viral -->|"ranks reels"| node_swipe
node_swipe -.->|"optionally scores hooks"| node_hookscore
node_voice -->|"guides voice"| node_reel
node_voice -->|"guides voice"| node_caption
node_voice -->|"guides voice"| node_carousel
node_voice -->|"guides voice"| node_story
node_voice -->|"guides voice"| node_repurpose
node_voice -->|"guides voice"| node_viral
node_voice -->|"guides voice"| node_profile
node_voice -->|"guides voice"| node_plan
node_voice -->|"guides voice"| node_audit
node_voice -->|"guides voice"| node_comment
node_voice -->|"guides voice"| node_reply
node_voice -->|"guides voice"| node_dm
node_creator -->|"approves and posts"| node_creator

click node_reel "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reel/SKILL.md"
click node_caption "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-caption/SKILL.md"
click node_carousel "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-carousel/SKILL.md"
click node_story "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-story/SKILL.md"
click node_repurpose "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-repurpose/SKILL.md"
click node_viral "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-viral/SKILL.md"
click node_profile "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-profile/SKILL.md"
click node_plan "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-plan/SKILL.md"
click node_audit "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-audit/SKILL.md"
click node_comment "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-comment/SKILL.md"
click node_reply "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reply/SKILL.md"
click node_dm "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-dm/SKILL.md"
click node_human "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-human/SKILL.md"
click node_hookscore "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reel/hookscore.py"
click node_beats "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reel/beats.py"
click node_swipe "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-viral/swipe.py"
click node_captionlint "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-caption/caption.py"
click node_humanize "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-human/humanize.py"
click node_detect "https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-human/detect.py"
click node_voice "https://github.com/mrazakhalid/instagram-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_reel,node_caption,node_carousel,node_story,node_repurpose toneBlue
class node_viral,node_profile,node_plan,node_audit toneAmber
class node_comment,node_reply,node_dm toneMint
class node_human,node_hookscore,node_beats,node_swipe,node_captionlint,node_humanize,node_detect toneRose
class node_creator toneIndigo
class node_voice toneTeal
```

## Components

### Content creation

- [Reel writing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reel/SKILL.md): `skills/ig-reel/SKILL.md`
- [Caption writing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-caption/SKILL.md): `skills/ig-caption/SKILL.md`
- [Carousel writing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-carousel/SKILL.md): `skills/ig-carousel/SKILL.md`
- [Story sequences](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-story/SKILL.md): `skills/ig-story/SKILL.md`
- [Content repurposing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-repurpose/SKILL.md): `skills/ig-repurpose/SKILL.md`

### Account strategy

- [Reel research](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-viral/SKILL.md): `skills/ig-viral/SKILL.md`
- [Profile review](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-profile/SKILL.md): `skills/ig-profile/SKILL.md`
- [Weekly planning](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-plan/SKILL.md): `skills/ig-plan/SKILL.md`
- [Post audit](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-audit/SKILL.md): `skills/ig-audit/SKILL.md`

### Audience interactions

- [Comment writing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-comment/SKILL.md): `skills/ig-comment/SKILL.md`
- [Reply writing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reply/SKILL.md): `skills/ig-reply/SKILL.md`
- [DM writing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-dm/SKILL.md): `skills/ig-dm/SKILL.md`

### Local writing tools

- [Draft humanizer](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-human/SKILL.md): `skills/ig-human/SKILL.md`
- [Hook scoring](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reel/hookscore.py): `skills/ig-reel/hookscore.py`
- [Reel beat timing](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-reel/beats.py): `skills/ig-reel/beats.py`
- [Swipe-file analysis](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-viral/swipe.py): `skills/ig-viral/swipe.py`
- [Caption linting](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-caption/caption.py): `skills/ig-caption/caption.py`
- [Text cleanup](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-human/humanize.py): `skills/ig-human/humanize.py`
- [Human-score checks](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/skills/ig-human/detect.py): `skills/ig-human/detect.py`

### Other components

- **Instagram creator**
- [Creator voice guide](https://github.com/mrazakhalid/instagram-agent-skill/blob/main/templates/voice.md): `templates/voice.md`

## Connections

- Instagram creator → Reel writing: requests Reel (evidence: `README.md`)
- Instagram creator → Caption writing: requests caption (evidence: `README.md`)
- Instagram creator → Carousel writing: requests carousel (evidence: `README.md`)
- Instagram creator → Story sequences: requests stories (evidence: `README.md`)
- Instagram creator → Content repurposing: requests repurposing (evidence: `README.md`)
- Instagram creator → Reel research: requests research (evidence: `README.md`)
- Instagram creator → Profile review: requests review (evidence: `README.md`)
- Instagram creator → Weekly planning: requests plan (evidence: `README.md`)
- Instagram creator → Post audit: requests audit (evidence: `README.md`)
- Instagram creator → Comment writing: requests comments (evidence: `README.md`)
- Instagram creator → Reply writing: requests replies (evidence: `README.md`)
- Instagram creator → DM writing: requests DMs (evidence: `README.md`)
- Instagram creator → Draft humanizer: requests cleanup (evidence: `README.md`)
- Instagram creator → Hook scoring: scores hooks (evidence: `README.md`)
- Instagram creator → Reel beat timing: times script (evidence: `README.md`)
- Instagram creator → Swipe-file analysis: ranks reels (evidence: `README.md`)
- Instagram creator → Caption linting: lints caption (evidence: `README.md`)
- Instagram creator → Text cleanup: cleans draft (evidence: `README.md`)
- Instagram creator → Human-score checks: checks draft (evidence: `README.md`)
- Reel writing → Hook scoring: scores hooks (evidence: `README.md`)
- Reel writing → Reel beat timing: times script (evidence: `README.md`)
- Caption writing → Caption linting: lints caption (evidence: `README.md`)
- Draft humanizer → Text cleanup: cleans text (evidence: `README.md`)
- Draft humanizer → Human-score checks: scores text (evidence: `README.md`)
- Reel research → Swipe-file analysis: ranks reels (evidence: `README.md`)
- Swipe-file analysis → Hook scoring: optionally scores hooks (evidence: `skills/ig-viral/swipe.py`)
- Creator voice guide → Reel writing: guides voice (evidence: `README.md`)
- Creator voice guide → Caption writing: guides voice (evidence: `README.md`)
- Creator voice guide → Carousel writing: guides voice (evidence: `README.md`)
- Creator voice guide → Story sequences: guides voice (evidence: `README.md`)
- Creator voice guide → Content repurposing: guides voice (evidence: `README.md`)
- Creator voice guide → Reel research: guides voice (evidence: `README.md`)
- Creator voice guide → Profile review: guides voice (evidence: `README.md`)
- Creator voice guide → Weekly planning: guides voice (evidence: `README.md`)
- Creator voice guide → Post audit: guides voice (evidence: `README.md`)
- Creator voice guide → Comment writing: guides voice (evidence: `README.md`)
- Creator voice guide → Reply writing: guides voice (evidence: `README.md`)
- Creator voice guide → DM writing: guides voice (evidence: `README.md`)
- Instagram creator → Instagram creator: approves and posts (evidence: `README.md`)
