Instagram CLI is an unofficial command-line and terminal interface for using Instagram without a graphical app. It is for people who want keyboard-controlled access to messages, posts, and stories from a terminal while reducing distractions.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add supreme-gg-gg/instagram-cli --skill instagram-skillgit clone --depth 1 https://github.com/supreme-gg-gg/instagram-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/supreme-gg-gg/instagram-cli/instagram-skill)<a href="https://agentmods.dev/skills/supreme-gg-gg/instagram-cli/instagram-skill"><img src="https://agentmods.dev/badge/skills/supreme-gg-gg/instagram-cli/instagram-skill.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.01365 |
| Opus 5 | $0.00051 | $0.00682 |
| Sonnet 5 | $0.00020 | $0.00273 |
| Haiku 4.5 | $0.00010 | $0.00136 |
Grade A, and why
instagram-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instagram CLI — Agent Usage Guide
Instagram CLI (instagram-cli) is a terminal client for Instagram. For agents, it exposes
one-turn commands that print to stdout and exit — perfect for scripting and tool-use.
All one-turn commands require the user to already be logged in (
instagram-cli auth login). If a command returns an auth error, prompt the user to log in first. Do not attempt to login using the CLI by yourself.
Thread Resolution
Every command that targets a thread accepts a <thread> argument resolved in this order:
- Thread ID (20+ digit number like
340282366920938463...) — direct, zero extra API calls - Username — exact Instagram username (e.g.
johndoe) - Thread title — fuzzy search across inbox (e.g.
"Book Club")
Best practice for multi-step workflows: call inbox --output json first to get thread IDs,
then pass those IDs directly to subsequent commands. This avoids redundant search API calls and
is more reliable than username/title matching.
JSON Output
All commands accept -o json / --output json. Responses follow this envelope:
{ "ok": true, "data": { ... } }
{ "ok": false, "error": "message" }
Always use --output json when you need to parse results programmatically.
Commands
List inbox
instagram-cli inbox [--limit <n>] [--output json]
Returns recent threads. Each thread includes: id, title, users, lastMessage, lastActivity, unread.
# Get 10 most recent threads as JSON
instagram-cli inbox --limit 10 --output json
Search threads
instagram-cli inbox --search <query> [--limit <n>] [--output json]
Searches by both username and thread title, merging results by relevance score.
instagram-cli inbox --search "alice" --output json
Send a message
instagram-cli send <thread> --text <message> [--output json]
instagram-cli send <thread> --file <path> [--type photo|video] [--output json]
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 182 lines · 102 tokens per session scan A bd957eb67eb7
instagram-skill is a skill published in the GitHub repository supreme-gg-gg/instagram-cli (2,135 stars, last pushed 4d ago), licensed MIT. It adds 102 tokens to every session and 1,365 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
instagram-api
Use when wiring an agent into Instagram's Graph API: publishing a Reel through the create/poll/publish container dance, reading per-media insights, checking the 24h publish cap, or ingesting Reel metrics into 02-DOCS/wiki/shortform. NOT TikTok (that is tiktok-api), NOT YouTube (that is youtube-api), NOT cross-platform…
opencli-sitemap-author
Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
interview
Ask one useful structured question at a time only when material product/implementation choices are genuinely missing; remember answers and produce a brief/spec. Discoverable facts should be investigated instead of asked.
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
atmos-validation
Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.