Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

instagram-skillInstagram 技能

Agent Skill

instagram-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

490

周安装

20

GitHub Stars

1,924

下载量

158
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:instagram-skill(Instagram 技能)
来源仓库:https://github.com/supreme-gg-gg/instagram-cli
仓库路径:skills/instagram-skill
安装命令:
npx skills add https://github.com/supreme-gg-gg/instagram-cli --skill instagram-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/supreme-gg-gg/instagram-cli --skill instagram-skill

简介

instagram-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于内容研究、数据调研或信息聚合等需要从多个来源提取线索的任务场景。
  • 通过 npx skills add 命令安装,需确认权限范围和是否触发联网或文件读写操作。
  • 建议结合原始 README 核验具体用法,并检查仓库维护状态与安全性。
  • 使用前应评估是否会执行命令或访问外部资源,避免意外行为。

SKILL.md

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:

{ "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]

<thread> is a thread ID, username, or title. --text and --file are mutually exclusive. Media type is auto-detected from extension; use --type to override.

instagram-cli send johndoe --text "Hey, are you free tonight?"
instagram-cli send 340282366920938463123456789 --text "Got it!"
instagram-cli send "Book Club" --file ./photo.jpg --output json

Read messages

instagram-cli read <thread> [--limit <n>] [--cursor <cursor>] [--mark-seen] [--output json]

Returns messages newest-first. Use cursor from the previous response to paginate older messages. Pass --mark-seen to mark the thread as read after fetching.

instagram-cli read johndoe --limit 20 --output json
instagram-cli read 340282366920938463123456789 --mark-seen

Each message in JSON output includes: id, itemType, text, userId, username, timestamp, isOutgoing.

Download media from a message

instagram-cli read <thread> --message-id <id> --download <path> [--output json]

Finds the message by ID (paginates up to --max-pages, default 10) and saves the media file. The file extension is automatically inferred if not provided.

instagram-cli read johndoe --message-id 340282366... --download ./media

Reply to a message

instagram-cli reply <thread> --message-id <id> --text <text> [--output json]

Sends a threaded reply to a specific message.

instagram-cli reply johndoe --message-id 340282366... --text "Totally agree!"

Unsend a message

instagram-cli unsend <thread> --message-id <id> [--output json]
instagram-cli unsend johndoe --message-id 340282366...

Multi-Account Support

All commands accept -u <username> / --username <username> to target a specific logged-in account. Omitting it uses the default account set via instagram-cli auth switch.

instagram-cli inbox -u myworkaccount --output json
instagram-cli send johndoe --text "Hi" -u mypersonalaccount

Typical Agent Workflow

# 1. Get inbox to find the right thread
INBOX=$(instagram-cli inbox --output json --limit 20)
# Parse "id" fields from INBOX to find the target thread

# 2. Read recent messages (use thread ID for speed)
THREAD_ID="340282366920938463..."
instagram-cli read "$THREAD_ID" --limit 10 --output json

# 3. Reply or send
instagram-cli send "$THREAD_ID" --text "On my way!" --output json

# 4. Mark as seen
instagram-cli read "$THREAD_ID" --mark-seen

Error Handling

  • Auth errors → user needs to run instagram-cli auth login
  • "No thread found matching" → the username/title didn't resolve; try inbox --search first
  • "ok": false in JSON output → the error field contains the reason
  • Rate limits / network errors are surfaced as error messages; retry with backoff if needed

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.77%
按下载量换算61

Claude

31.66%
按下载量换算50

Cursor

17.41%
按下载量换算28

Gemini CLI

9.22%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/supreme-gg-gg/instagram-cli --skill instagram-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills