ericrisco/rsc-harness / skills/instagram-api
instagram-api
VerifiedUse when wiring an agent into Instagram's Graph API: publishing a Reel through the create/poll/publish container dance, reading per-media insights, checking the 24h publish cap, or ingesting Reel metrics into 02-DOCS/wiki/shortform. NOT TikTok (that is `tiktok-api`), NOT YouTube (that is `youtube-api`), NOT cross-platform cadence (that is `social-publisher`).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.3 KB |
| evals/README.md | markdown | 1.0 KB |
| evals/cases.yaml | config | 2.6 KB |
| references/insights-metrics.md | markdown | 4.5 KB |
| references/publish-reel.md | markdown | 3.7 KB |
| scripts/verify.shexecutable | script | 5.5 KB |
evals/cases.yaml
View on GitHubskill: instagram-api
should_trigger:
- prompt: "Publish this Reel from a video URL to our IG professional account via the API"
why: Core publish flow — the 3-step container dance on the Graph API.
- prompt: "Pull reach and average watch time for these Instagram media IDs"
why: Core insights read using the valid Reels metric set.
- prompt: "My /insights call started returning an error when I ask for metric=plays"
why: Non-obvious — the deprecated-metric trap; plays was retired 2025-04-21, swap to views.
- prompt: "How many posts do we have left in the 24-hour Instagram publish window?"
why: content_publishing_limit check before a batch; the 50/24h cap.
- prompt: "Ingesta el rendimiento de los Reels en el wiki de shortform"
why: Spanish — ingest IG performance into 02-DOCS/wiki/shortform, the checkable artifact.
- prompt: "My media container is stuck IN_PROGRESS and never publishes"
why: Non-obvious — status_code polling and the EXPIRED/ERROR branch, IG-specific.
should_not_trigger:
- prompt: "Post this same clip to TikTok via their Content Posting API"
route_to: tiktok-api
why: TikTok publishing is a different platform connector.
- prompt: "Build me a weekly multi-platform posting calendar across IG, TikTok and YouTube"
route_to: social-publisher
why: Cadence and cross-channel scheduling, not IG API mechanics.
- prompt: "Upload this video to YouTube and get its view stats"
route_to: youtube-api
why: YouTube Data API uploads and stats live in the YouTube connector.
- prompt: "Write the hook and on-screen captions for this Reel"
route_to: video-shorts
why: Editing and scripting the asset, not posting it.
capability:
- scenario: >
Given a public video_url, a caption, and an IG_USER_ID, produce the end-to-end
publish-then-measure flow plus a wiki artifact under 02-DOCS/wiki/shortform/.
must_include:
- "container create with media_type=REELS and the public video_url"
- "poll status_code until FINISHED (with ERROR/EXPIRED handling and a ~5min ceiling)"
- "media_publish using creation_id, persisting the returned published media id"
- "insights pull using only valid metrics (reach, views, ig_reels_video_view_total_time, saved, shares, total_interactions)"
- "no deprecated metrics requested (no plays / impressions / clips_replays_count)"
- "content_publishing_limit check before batch publishing"
- "GRAPH_VERSION pinned to v25.0 in every call"
- "artifact written to 02-DOCS/wiki/shortform/ig-reel-<media_id>.md with front-matter (media_id, permalink, published_at, graph_version, pulled_at, metrics)"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file). | Stars: 198k | Updated | Claude CodeCodex | Unverified | Install |
| doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |