# swadilovegkitchen-glitch/instagram-agent-skill architecture

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

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

## Overview

This repository is a local-first set of 13 Claude skills for creating, reviewing, and managing Instagram content; it does not post to Instagram. The principal workflow is to choose a skill, develop a content or account result, and review it before the creator publishes. The README documents the skills’ capabilities and shared voice-file convention; sampled Python tools show local Reel scoring/timing, caption linting, viral-Reel analysis, and humanization checks. Other skill internals were not sampled, so their relationships are limited to documented capabilities.

Main entry points: [`skills/ig-reel/SKILL.md`](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-reel/SKILL.md) (Reel writing), [`skills/ig-caption/SKILL.md`](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-caption/SKILL.md) (Caption writing), [`skills/ig-viral/SKILL.md`](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-viral/SKILL.md) (Reel research), [`skills/ig-viral/swipe.py`](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-viral/swipe.py) (Outlier analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_create["Content creation"]
  node_reel["Reel writing<br/>[SKILL.md]"]
  node_hooks["Hook formulas<br/>[hooks.json]"]
  node_caption["Caption writing<br/>[SKILL.md]"]
  node_carousel["Carousel writing<br/>[SKILL.md]"]
  node_story["Story sequence<br/>[SKILL.md]"]
  node_repurpose["Content repurposing<br/>[SKILL.md]"]
  node_voice["Voice template<br/>[voice.md]"]
end

subgraph group_research["Account strategy"]
  node_viral["Reel research<br/>[SKILL.md]"]
  node_audit["Post audit<br/>[SKILL.md]"]
  node_profile["Profile review<br/>[SKILL.md]"]
  node_rubric["Profile rubric<br/>[rubric.json]"]
  node_plan["Weekly plan<br/>[SKILL.md]"]
end

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

subgraph group_quality["Local quality tools"]
  node_hookscore["Hook scoring<br/>[hookscore.py]"]
  node_beats["Beat timing<br/>[beats.py]"]
  node_captionlint["Caption lint<br/>[caption.py]"]
  node_swipe["Outlier analysis<br/>[swipe.py]"]
  node_human["Text humanizer<br/>[humanize.py]"]
  node_detect["Human-likeness checks<br/>[detect.py]"]
  node_slop["Slop lexicon<br/>[slop.json]"]
end

node_creator(("Creator"))

node_creator -->|"requests content"| node_reel
node_creator -->|"requests research"| node_viral
node_creator -->|"requests caption"| node_caption
node_creator -->|"requests carousel"| node_carousel
node_creator -->|"requests stories"| node_story
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 messages"| node_dm
node_creator -->|"requests repurposing"| node_repurpose
node_creator -.->|"provides voice"| node_reel
node_creator -.->|"provides voice"| node_caption
node_creator -.->|"provides voice"| node_carousel
node_creator -.->|"provides voice"| node_story
node_creator -->|"fills template"| node_voice
node_reel -->|"uses formulas"| node_hooks
node_reel -->|"scores hooks"| node_hookscore
node_reel -->|"times script"| node_beats
node_viral -->|"ranks collected reels"| node_swipe
node_swipe -->|"loads formulas"| node_hooks
node_swipe -.->|"optionally scores hooks"| node_hookscore
node_caption -->|"lints caption"| node_captionlint
node_profile -->|"scores against"| node_rubric
node_creator -->|"submits draft"| node_human
node_human -->|"loads lexicon"| node_slop
node_creator -->|"submits draft"| node_detect
node_detect -->|"loads lexicon"| node_slop
node_human -.->|"checks cleaned draft"| node_detect
node_reel -->|"returns script"| node_creator
node_viral -->|"returns swipe file"| node_creator
node_caption -->|"returns caption"| node_creator
node_creator -->|"approves and posts"| node_creator

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

## Components

### Content creation

- [Reel writing](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-reel/SKILL.md): `skills/ig-reel/SKILL.md`
- [Hook formulas](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-reel/hooks.json): `skills/ig-reel/hooks.json`
- [Caption writing](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-caption/SKILL.md): `skills/ig-caption/SKILL.md`
- [Carousel writing](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-carousel/SKILL.md): `skills/ig-carousel/SKILL.md`
- [Story sequence](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-story/SKILL.md): `skills/ig-story/SKILL.md`
- [Content repurposing](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-repurpose/SKILL.md): `skills/ig-repurpose/SKILL.md`
- [Voice template](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/templates/voice.md): `templates/voice.md`

### Account strategy

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

### Audience engagement

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

### Local quality tools

- [Hook scoring](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-reel/hookscore.py): `skills/ig-reel/hookscore.py`
- [Beat timing](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-reel/beats.py): `skills/ig-reel/beats.py`
- [Caption lint](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-caption/caption.py): `skills/ig-caption/caption.py`
- [Outlier analysis](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-viral/swipe.py): `skills/ig-viral/swipe.py`
- [Text humanizer](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-human/humanize.py): `skills/ig-human/humanize.py`
- [Human-likeness checks](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-human/detect.py): `skills/ig-human/detect.py`
- [Slop lexicon](https://github.com/swadilovegkitchen-glitch/instagram-agent-skill/blob/main/skills/ig-human/slop.json): `skills/ig-human/slop.json`

### Other components

- **Creator**

## Connections

- Creator → Reel writing: requests content (evidence: `README.md`)
- Creator → Reel research: requests research (evidence: `README.md`)
- Creator → Caption writing: requests caption (evidence: `README.md`)
- Creator → Carousel writing: requests carousel (evidence: `README.md`)
- Creator → Story sequence: requests stories (evidence: `README.md`)
- Creator → Profile review: requests review (evidence: `README.md`)
- Creator → Weekly plan: requests plan (evidence: `README.md`)
- Creator → Post audit: requests audit (evidence: `README.md`)
- Creator → Comment writing: requests comments (evidence: `README.md`)
- Creator → Reply sorting: requests replies (evidence: `README.md`)
- Creator → DM writing: requests messages (evidence: `README.md`)
- Creator → Content repurposing: requests repurposing (evidence: `README.md`)
- Creator → Reel writing: provides voice (evidence: `README.md`)
- Creator → Caption writing: provides voice (evidence: `README.md`)
- Creator → Carousel writing: provides voice (evidence: `README.md`)
- Creator → Story sequence: provides voice (evidence: `README.md`)
- Creator → Voice template: fills template (evidence: `README.md`)
- Reel writing → Hook formulas: uses formulas (evidence: `README.md`)
- Reel writing → Hook scoring: scores hooks (evidence: `README.md`)
- Reel writing → Beat timing: times script (evidence: `README.md`)
- Reel research → Outlier analysis: ranks collected reels (evidence: `README.md`)
- Outlier analysis → Hook formulas: loads formulas (evidence: `skills/ig-viral/swipe.py`)
- Outlier analysis → Hook scoring: optionally scores hooks (evidence: `skills/ig-viral/swipe.py`)
- Caption writing → Caption lint: lints caption (evidence: `README.md`)
- Profile review → Profile rubric: scores against (evidence: `README.md`)
- Creator → Text humanizer: submits draft (evidence: `README.md`)
- Text humanizer → Slop lexicon: loads lexicon (evidence: `skills/ig-human/humanize.py`)
- Creator → Human-likeness checks: submits draft (evidence: `README.md`)
- Human-likeness checks → Slop lexicon: loads lexicon (evidence: `skills/ig-human/detect.py`)
- Text humanizer → Human-likeness checks: checks cleaned draft (evidence: `README.md`)
- Reel writing → Creator: returns script (evidence: `README.md`)
- Reel research → Creator: returns swipe file (evidence: `README.md`)
- Caption writing → Creator: returns caption (evidence: `README.md`)
- Creator → Creator: approves and posts (evidence: `README.md`)
