Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Automate Instagram tasks via Rube MCP (Composio): create posts, carousels, manage media, get insights, and publishing limits. Always search tools first for current schemas.
.claude/skills/instagram-automation/SKILL.md| Model | Eval pass | Runs |
|---|---|---|
| gemini-3.6-flash | 100% | 13 |
| gemini-3.1-pro-preview | 100% | 2 |
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | — | — |
| case-15 | ✗→✓ | ▲ Improved | — | — |
| case-20 | ✗→✓ | ▲ Improved | — | — |
| case-18 | ✓→✓ | = Same ✓ | — | — |
| case-09 | ✗→✗ | = Same ✗ | — | — |
Automate Instagram operations through Composio's Instagram toolkit via Rube MCP.
RUBE_MANAGE_CONNECTIONS with toolkit instagramRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit instagramWhen to use: User wants to publish a single photo or video to Instagram
Tool sequence:
INSTAGRAM_GET_USER_INFO - Get Instagram user ID Prerequisite]INSTAGRAM_CREATE_MEDIA_CONTAINER - Create a media container with the image/video URL Required]INSTAGRAM_GET_POST_STATUS - Check if the media container is ready Optional]INSTAGRAM_CREATE_POST or INSTAGRAM_POST_IG_USER_MEDIA_PUBLISH - Publish the container Required]Key parameters:
image_url: Public URL of the image to postvideo_url: Public URL of the video to postcaption: Post caption textig_user_id: Instagram Business account user IDPitfalls:
When to use: User wants to publish multiple images/videos in a single carousel post
Tool sequence:
INSTAGRAM_CREATE_MEDIA_CONTAINER - Create individual containers for each media item Required, repeat per item]INSTAGRAM_CREATE_CAROUSEL_CONTAINER - Create the carousel container referencing all media containers Required]INSTAGRAM_GET_POST_STATUS - Check carousel container readiness Optional]INSTAGRAM_POST_IG_USER_MEDIA_PUBLISH - Publish the carousel Required]Key parameters:
children: Array of media container IDs for the carouselcaption: Carousel post captionig_user_id: Instagram Business account user IDPitfalls:
When to use: User wants to view their posts or analyze post performance
Tool sequence:
INSTAGRAM_GET_IG_USER_MEDIA or INSTAGRAM_GET_USER_MEDIA - List user's media Required]INSTAGRAM_GET_IG_MEDIA - Get details for a specific post Optional]INSTAGRAM_GET_POST_INSIGHTS or INSTAGRAM_GET_IG_MEDIA_INSIGHTS - Get metrics for a post Optional]INSTAGRAM_GET_USER_INSIGHTS - Get account-level insights Optional]Key parameters:
ig_user_id: Instagram Business account user IDmedia_id: ID of the specific media postmetric: Metrics to retrieve (e.g., impressions, reach, engagement)period: Time period for insights (e.g., day, week, lifetime)Pitfalls:
period parameter must match the metric typeWhen to use: User wants to verify they can publish before attempting a post
Tool sequence:
INSTAGRAM_GET_IG_USER_CONTENT_PUBLISHING_LIMIT - Check remaining publishing quota Required]Key parameters:
ig_user_id: Instagram Business account user IDPitfalls:
When to use: User wants to view comments on a post or children of a carousel
Tool sequence:
INSTAGRAM_GET_IG_MEDIA_COMMENTS - List comments on a media post Required]INSTAGRAM_GET_IG_MEDIA_CHILDREN - List children of a carousel post Optional]Key parameters:
media_id: ID of the media postig_media_id: Alternative media ID parameterPitfalls:
Instagram User ID:
1. Call INSTAGRAM_GET_USER_INFO
2. Extract ig_user_id from response
3. Use in all subsequent API callsMedia Container Status Check:
1. Call INSTAGRAM_CREATE_MEDIA_CONTAINER
2. Extract container_id from response
3. Poll INSTAGRAM_GET_POST_STATUS with container_id
4. Wait until status is 'FINISHED' before publishingMedia URLs:
Rate Limits:
Account Requirements:
Response Parsing:
| Task | Tool Slug | Key Params | |------|-----------|------------| | Get user info | INSTAGRAM_GET_USER_INFO | (none) | | Create media container | INSTAGRAM_CREATE_MEDIA_CONTAINER | image_url/video_url, caption | | Create carousel | INSTAGRAM_CREATE_CAROUSEL_CONTAINER | children, caption | | Publish post | INSTAGRAM_CREATE_POST | ig_user_id, creation_id | | Publish media | INSTAGRAM_POST_IG_USER_MEDIA_PUBLISH | ig_user_id, creation_id | | Check post status | INSTAGRAM_GET_POST_STATUS | ig_container_id | | List user media | INSTAGRAM_GET_IG_USER_MEDIA | ig_user_id | | Get media details | INSTAGRAM_GET_IG_MEDIA | ig_media_id | | Get post insights | INSTAGRAM_GET_POST_INSIGHTS | media_id, metric | | Get user insights | INSTAGRAM_GET_USER_INSIGHTS | ig_user_id, metric, period | | Get publishing limit | INSTAGRAM_GET_IG_USER_CONTENT_PUBLISHING_LIMIT | ig_user_id | | Get media comments | INSTAGRAM_GET_IG_MEDIA_COMMENTS | ig_media_id | | Get carousel children | INSTAGRAM_GET_IG_MEDIA_CHILDREN | ig_media_id |
This skill is applicable to execute the workflow or actions described in the overview.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-09 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-08 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-04 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 20 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +14 percentage points is the difference between those two pass rates over the 20 comparable cases.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.