instagram-skill

Category: Tools & Productivity | Uploader: supreme-gg-ggsupreme-gg-gg | Downloads: 0 | Version: v1.0(Latest)

How to use Instagram CLI to interact with Instagram from the command line on behalf of a user. Use this skill whenever the user wants to send or read Instagram messages, check their inbox, reply to or unsend messages, or automate any Instagram DM workflow via the CLI. This includes tasks phrased as "message X on Instagram", "check my Instagram DMs", "send a photo to my friend", "read my unread Instagram threads", or any automation / scripting involving Instagram direct messages. --- # 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: 1. **Thread ID** (20+ digit number like `340282366920938463...`) — direct, zero extra API calls 2. **Username** — exact Instagram username (e.g. `johndoe`) 3. **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: ```json { "ok": true, "data": { ... } } { "ok": false, "error": "message" } ``` Always use `--output json` when you need to parse results programmatically. --- ## Commands ### List inbox ```bash instagram-cli inbox [--limit <n>] [--output json] ``` Returns recent threads. Each thread includes: `id`, `title`, `users`, `lastMessage`, `lastActivity`, `unread`. ```bash # Get 10 most recent threads as

Changelog: Source: GitHub https://github.com/supreme-gg-gg/instagram-cli

Directory Structure

Current level: tree/main/skills/instagram-skill/

SKILL.md

Login to download/like/favorite ❤ 1.8K | ★ 0
Comments 0

Please login before commenting.

No comments yet. Be the first one!