Agent Skills
› evolution-foundation/evo-nexus
› int-instagram
int-instagram
GitHub集成 Instagram Graph API,支持多账户 OAuth 配置。提供查询个人资料、近期帖子、互动数据及洞察指标的功能,用于监控和分析社交媒体表现。
Trigger Scenarios
用户询问 Instagram 粉丝数、帖子或互动数据
需要获取 Instagram 分析指标或账号洞察
Install
npx skills add evolution-foundation/evo-nexus --skill int-instagram -g -y
SKILL.md
Frontmatter
{
"name": "int-instagram",
"description": "Query Instagram Graph API — profile stats, recent posts, engagement, insights. Supports multi-account (OAuth via Social Auth App). Use when user asks about Instagram metrics, followers, posts, engagement, or any reference to Instagram analytics."
}
Instagram Graph API
Instagram integration to monitor company and user profiles. Supports multiple accounts via OAuth (Social Auth App).
Setup
Accounts configured via make social-auth (OAuth login with Facebook). Saved in .env:
SOCIAL_INSTAGRAM_1_LABEL=your_account
SOCIAL_INSTAGRAM_1_ACCESS_TOKEN=YOUR_TOKEN
SOCIAL_INSTAGRAM_1_ACCOUNT_ID=YOUR_ACCOUNT_ID
SOCIAL_INSTAGRAM_1_PAGE_TOKEN=YOUR_PAGE_TOKEN
API Client
python3 {project-root}/.claude/skills/int-instagram/scripts/instagram_client.py <command> [args]
Commands
# List configured accounts
instagram_client.py accounts
# Profile (followers, bio, media count)
instagram_client.py profile [account_label]
# Last N posts with engagement
instagram_client.py recent_posts [account] [N]
# Top N posts by engagement
instagram_client.py top_posts [account] [N]
# Insights for a specific post
instagram_client.py post_insights POST_ID [account]
# Account insights (impressions, reach, profile views — 30d)
instagram_client.py account_insights [account]
# Summary of all accounts
instagram_client.py summary
Key metrics
- Followers (delta via daily snapshots)
- Engagement rate: (likes + comments) / followers
- Reach and impressions (via account insights)
- Profile views
- Best post of the period
- Reels vs static posts
- Publishing frequency
Rate Limits
- Instagram Platform endpoints:
4800 × impressionsper 24h - Business Discovery / Hashtag: 200 calls/hour/user
Version History
- 7f5dd76 Current 2026-07-25 04:55


