instagram-content-studio
by uyeong
Coding Agents & IDEsBrief
Manage an Instagram account.
Description
What This Skill Does
Manages an Instagram business account through the Instagram Graph API. Supports profile viewing, listing posts, publishing single images, carousels, and Reels, and reading and writing comments. Token refresh runs automatically before each operation.
Handles token refresh automatically and supports both remote URLs and local files for media uploads without requiring separate upload infrastructure.
When to Use It
- Publishing a product photo carousel with a custom caption
- Posting a Reels video from a local file
- Reading and replying to comments on a specific post
- Checking like and comment counts on a recent post
- Listing the last 10 posts to review account activity
Example Workflow
User asks: Post these three product photos as a carousel with the caption 'New collection out now'
- 1
Confirms the caption with the user before proceeding
- 2
Runs post-image.js with three local file paths and the --caption flag
- 3
Waits for the Instagram API to process the carousel upload
- 4
Reports the result media ID and permalink from the JSON output
Carousel post published; returns media ID and permalink URL
Requirements
- INSTAGRAM_ACCESS_TOKEN environment variable in a .env file
- FACEBOOK_USER_ACCESS_TOKEN environment variable (for comment and reply operations)
- FACEBOOK_APP_ID and FACEBOOK_APP_SECRET environment variables (for token refresh)
- Meta app with instagram_business_basic, instagram_content_publish, instagram_manage_comments, pages_read_engagement, and pages_show_list permissions
- cloudflared installed for local image and video uploads
Installation
clawhub install uyeong/instagram-content-studioRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.