Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

keyapi-instagram-user-analysiskeyapi Instagram 用户分析

Agent Skill

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

总安装

2,258

周安装

96

GitHub Stars

公开资料未说明

下载量

791
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:keyapi-instagram-user-analysis(keyapi Instagram 用户分析)
来源仓库:https://github.com/lycici/keyapi-instagram-user-analysis
安装命令:
openclaw skills install keyapi-instagram-user-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install keyapi-instagram-user-analysis

简介

深入分析 Instagram 用户社交网络、发帖习惯与受众画像。

  • 适用于粉丝增长策略制定、竞品账号对标与社群运营优化。
  • 提供关注关系图谱、内容类型分布与互动热力图等洞察报告。
  • 仅限公开用户数据分析,禁止用于人肉搜索或骚扰行为。keyapi-instagram-user-analysis 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 部分高级指标需付费订阅 API 权限方可获取完整视图。

SKILL.md

name
keyapi-instagram-user-analysis
description
Discover, profile, and deeply analyze Instagram users — explore follower and following networks, posts, Reels, Stories, Highlights, tagged content, reposts, and similarity-based recommendations.
metadata
{"openclaw":{"requires":{"env":["KEYAPI_TOKEN"],"bins":["node"]},"primaryEnv":"KEYAPI_TOKEN","emoji":"👤"}}
author
KeyAPI
license
MIT
repository
https://github.com/EchoSell/keyapi-skills

keyapi-instagram-user-analysis

Discover, profile, and deeply analyze Instagram users — from identity resolution and content inventory to social graph exploration and audience similarity mapping.

This skill provides comprehensive Instagram user intelligence using the KeyAPI MCP service. It enables retrieval of detailed user profiles, content libraries (posts, Reels, Stories, Highlights), social connections (followers, following), tagged appearances, reposts, and algorithmic similarity matches — all through a unified, cache-first workflow.

Use this skill when you need to:

  • Retrieve full profile details for an Instagram user by username or user ID
  • Inventory a creator's published posts, Reels, and active Stories
  • Explore a user's Highlights and the Stories archived within them
  • Analyze social graph relationships — followers, following, similar accounts
  • Research tagged appearances and reposted content for influencer attribution
  • Build user shortlists based on Instagram's native similarity recommendations

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Prerequisites

RequirementDetails
KEYAPI_TOKENA valid API token from keyapi.ai. If you don't have one, register at the site to obtain your free token. Set it as an environment variable: export KEYAPI_TOKEN=your_token_here
Node.jsv18 or higher
DependenciesRun npm install in the skill directory to install @modelcontextprotocol/sdk

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


MCP Server Configuration

All tool calls in this skill target the KeyAPI Instagram MCP server:

Server URL : https://mcp.keyapi.ai/instagram/mcp
Auth Header: Authorization: Bearer $KEYAPI_TOKEN

Setup (one-time):

# 1. Install dependencies
npm install

# 2. Set your API token (get one free at https://keyapi.ai/)
export KEYAPI_TOKEN=your_token_here

# 3. List all available tools to verify the connection
node scripts/run.js --platform instagram --list-tools

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Analysis Scenarios

User NeedNode(s)Best For
Resolve user ID to username (or vice versa)get_user_info_by_user_idID-to-handle translation, data normalization
Full profile snapshot (by username or user ID)get_user_infoProfile audit, follower/following counts, bio, verification status
All published posts with metadataget_user_postsContent inventory, posting cadence analysis
Reels library with engagement dataget_user_reelsShort-video strategy, Reels performance overview
Follower list samplingget_user_followersAudience quality sampling, fan demographics
Following list explorationget_user_followingNetwork affinity, brand partnership signals
Active Stories (last 24 hours)get_user_storiesReal-time content monitoring — expires after 24 hours
Highlights indexget_user_highlightsCurated content categories, evergreen story topics
Stories inside a specific Highlightget_highlight_storiesDeep-dive into a pinned content collection
Posts where user is taggedget_user_tagged_postsInfluencer attribution, UGC discovery
Reposted / shared content listget_user_reposts_listContent amplification patterns, cross-promotion signals
Algorithmically similar usersget_similar_usersAudience lookalike discovery, competitive mapping
Related / recommended profilesget_related_profilesExpanded creator discovery beyond keyword search
Search users by keywordsearch_usersInitial user discovery by name or handle fragment

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Workflow

Step 1 — Identify Analysis Targets and Select Nodes

Clarify the research objective and map it to one or more nodes. Typical entry points:

  • Profile lookup by handle: Use get_user_info with username. If you only have a numeric user ID, use get_user_info_by_user_id first.
  • Content audit: Combine get_user_posts + get_user_reels + get_user_stories for a full content snapshot.
  • Social graph research: Use get_user_followers + get_user_following with pagination_token to traverse the network.
  • Highlights deep-dive: Call get_user_highlights first to retrieve Highlight IDs, then get_highlight_stories for each ID.
  • Similarity mapping: Use get_similar_users or get_related_profiles to expand a creator list.
User Identification Most endpoints accept either username (e.g., instagram) or user_id (numeric, e.g., 25025320) — pass one, not both. - Use get_user_info with username to resolve the numeric user_id when downstream nodes require it. - get_user_reposts_list and get_related_profiles accept only user_id — resolve it first if you start from a handle.

Step 2 — Retrieve API Schema

Before calling any node, inspect its input schema to confirm required parameters, data types, and available options:

node scripts/run.js --platform instagram --schema <tool_name>

# Examples
node scripts/run.js --platform instagram --schema get_user_info
node scripts/run.js --platform instagram --schema get_user_highlights

Step 3 — Call APIs and Cache Results Locally

Execute tool calls and persist responses to the local cache to avoid redundant API calls.

Calling a tool:

# Single call with pretty output
node scripts/run.js --platform instagram --tool <tool_name> \
  --params '<json_args>' --pretty

# Force fresh data, skip cache
node scripts/run.js --platform instagram --tool <tool_name> \
  --params '<json_args>' --no-cache --pretty

Example — get full user profile:

node scripts/run.js --platform instagram --tool get_user_info \
  --params '{"username":"instagram"}' --pretty

Example — get user posts (first page):

# Use user_id to avoid the "username " (with space) schema quirk
node scripts/run.js --platform instagram --tool get_user_posts \
  --params '{"user_id":"25025320"}' --pretty

Example — get next page using pagination token:

node scripts/run.js --platform instagram --tool get_user_posts \
  --params '{"user_id":"25025320","pagination_token":"<token_from_previous_response>"}' --pretty

Example — get Highlights, then stories in one Highlight:

# Step 1: get Highlight IDs
node scripts/run.js --platform instagram --tool get_user_highlights \
  --params '{"username":"instagram"}' --pretty

# Step 2: get Stories in a specific Highlight
node scripts/run.js --platform instagram --tool get_highlight_stories \
  --params '{"highlight_id":"17895069621772257"}' --pretty

Pagination:

Instagram endpoints use token-based pagination — not numeric page numbers.

Endpoint groupPagination parameterNotes
get_user_posts, get_user_reels, get_user_followers, get_user_following, get_user_tagged_postspagination_tokenPass token from previous response
get_user_reposts_listmax_idPass cursor from previous response; leave empty for first call
get_user_stories, get_user_highlights, get_similar_users, get_related_profilesNo pagination; single-call response

Cache directory structure:

.keyapi-cache/
└── YYYY-MM-DD/
    ├── get_user_info/
    │   └── {params_hash}.json
    ├── get_user_info_by_user_id/
    │   └── {params_hash}.json
    ├── get_user_posts/
    │   └── {params_hash}.json
    ├── get_user_reels/
    │   └── {params_hash}.json
    ├── get_user_followers/
    │   └── {params_hash}.json
    ├── get_user_following/
    │   └── {params_hash}.json
    ├── get_user_stories/
    │   └── {params_hash}.json
    ├── get_user_highlights/
    │   └── {params_hash}.json
    ├── get_highlight_stories/
    │   └── {params_hash}.json
    ├── get_user_tagged_posts/
    │   └── {params_hash}.json
    ├── get_user_reposts_list/
    │   └── {params_hash}.json
    ├── get_similar_users/
    │   └── {params_hash}.json
    ├── get_related_profiles/
    │   └── {params_hash}.json
    └── search_users/
        └── {params_hash}.json

Cache-first policy:

Before every API call, check whether a cached result already exists for the given parameters. If a valid cache file exists, load from disk and skip the API call.

Step 4 — Synthesize and Report Findings

After collecting all API responses, produce a structured user intelligence report:

For individual profile analysis:

  1. Profile Overview — Username, display name, user ID, bio, follower count, following count, post count, verification status, account type (personal/creator/business).
  2. Content Inventory — Post count breakdown (posts vs. Reels), posting frequency, most recent content dates, Stories availability.
  3. Highlights Summary — Number of Highlight collections, topics covered, content age and freshness.
  4. Social Graph Signals — Follower-to-following ratio, notable followers/followings where available.
  5. Tagged Appearances — Frequency of third-party tags, top tagging accounts, brand mention patterns.
  6. Similarity Network — Similar and related accounts for audience overlap estimation.

For discovery / shortlist building:

  1. Search Results — Matched users, follower counts, verification status.
  2. Similarity Clusters — Grouped similar accounts by niche or audience type.
  3. Comparative Overview — Side-by-side profile metrics for shortlisted creators.

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Common Rules

RuleDetail
User identificationMost endpoints accept username or user_id — pass one. get_user_reposts_list and get_related_profiles require user_id only; resolve it via get_user_info first if starting from a handle.
get_user_posts username quirkThe get_user_posts schema has a trailing space in the parameter name: "username " (with space). Use user_id instead of username when calling this endpoint to avoid potential parameter rejection.
PaginationUse pagination_token for most user-list endpoints. Use max_id for get_user_reposts_list. Some endpoints (get_user_stories, get_user_highlights, get_similar_users, get_related_profiles) return all data in a single call.
Highlights workflowAlways call get_user_highlights first to obtain Highlight IDs before calling get_highlight_stories. The highlight_id may or may not include the "highlight:" prefix — pass it exactly as returned.
Success checkcode = 0 → success. Any other value → failure. Always check the response code before processing data.
Retry on 500If code = 500, retry the identical request up to 3 times with a 2–3 second pause between attempts before reporting the error.
Cache firstAlways check the local .keyapi-cache/ directory before issuing a live API call.

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Error Handling

CodeMeaningAction
0SuccessContinue workflow normally
400Bad request — invalid or missing parametersValidate input against the tool schema; ensure at least one of username or user_id is provided
401Unauthorized — token missing or expiredConfirm KEYAPI_TOKEN is set correctly; visit keyapi.ai to renew
403Forbidden — plan quota exceeded or feature restrictedReview plan limits at keyapi.ai
404Resource not found — user may not exist or account is privateVerify the username or user ID; private accounts may have restricted data
429Rate limit exceededWait 60 seconds, then retry
500Internal server errorRetry up to 3 times with a 2–3 second pause; if it persists, log the full request and response and skip this node
Other non-0Unexpected errorLog the full response body and surface the error message to the user

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

82.26%
按下载量换算651

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills