📸 Instagram AI Plugin

Your Instagram, driven from the terminal by Claude Code, Codex, Cursor, Copilot CLI or any agent that runs shell commands.
Instagram AI Plugin signs in with your own browser session and calls the same endpoints
instagram.com's web client uses. No Graph API app, no Apify, no third-party connector. On top of
that client sit four marketing skills that work on your real account data: content, audits,
competitor research and ads.
Every write is a dry run until you approve the exact post. There are no like, follow or DM
commands, by design.
🧰 The Essentials Kit (Features)
📱 1. Instagram (The Operator)
The client every other skill stands on.
- Cookie login: Chrome opens with a dedicated profile, you sign in (2FA is fine), and the
session cookies are captured through the DevTools protocol. You can also import cookies from
Cookie-Editor JSON,
cookies.txt or a raw Cookie: header.
- Reads: profiles, posts, reels, single media, comments, hashtags and search, through REST
first, then GraphQL persisted queries (doc_ids discovered from the live bundles), then the posts
embedded in the page. Every result says which source answered.
- Publishing: photos, carousels (2 to 10 items), reels and stories (photo or video), plus caption
edits and comment replies. Each one is shown as a dry run first and needs
--confirm --account.
There is no delete, by design.
- Metrics:
audit and swipe compute medians, formats, cadence and outliers from real posts.
✍️ 2. Instagram Content (The Writer)
Reels, carousels, captions, Stories and calendars that sound like a person.
- Hooks first: three hooks per idea, scored offline with
hook-score.
- Offline linters:
caption-lint (first-line length, hashtag count, banned phrases),
beats (reel timing) and ai-tells (detect and humanize AI-sounding copy).
- Repurposing: turn one idea into a reel, a carousel and a Story sequence.
🔎 3. Instagram Audit (The Analyst)
An honest audit against the account's own median.
- Format, cadence and outlier analysis with sample sizes on every finding.
- Profile rubric (100 points) covering name field, bio, highlights, grid and links.
- Honest gaps: reach, saves, shares and watch time only exist in Insights, and the audit says so.
🕵️ 4. Instagram Research (The Detective)
A swipe file of what is working in your niche.
- Outliers against their own median: posts that beat the account's own median by 3x or more,
so a big account does not drown a small one.
- Hook formulas and patterns, classified and adapted to your voice, never copied word for word.
📣 5. Instagram Ads (The Strategist)
Meta Ads with Instagram placements, decided from data.
- What to promote from organic outliers, not guesses.
- Structure, copy and kill/keep/scale calls in a FACTS / HYPOTHESES / MISSING / ACTIONS format
that never invents a metric you did not provide.
- Boosting and campaign creation stay in the Instagram app or Ads Manager, so no money moves
through this plugin.
🎬 6. Instagram Video Breakdown (The Editor)
Take a reel apart so you can make your own version of it.
- One link in: downloads the video through your session (or takes a local file) and measures
cuts, pacing, loudness and tempo with ffmpeg. No model downloads.
- Evidence per shot: first and last frames, a contact sheet and a 2 fps timeline with
timestamps, plus hints for where on-screen text changes.
- Script from a transcript only: run your own local speech model (a Whisper recipe is
included) or import an
.srt. Without one, the script is reported as unconfirmed, not guessed.
- A remake plan: shot list, text timeline, assets you must supply, and a route per shot
(film it, ComfyUI, code render, screen recording, ffmpeg). Reference only: nothing is re-uploaded.
⚠️ Read this first: account risk
This plugin uses Instagram's private web endpoints with your own session. That is how your browser
talks to Instagram, but it is not an official API, and automated use may break Instagram's
Terms of Use. Instagram can rate-limit, challenge or restrict accounts it believes are automated.
The plugin is built to stay conservative: