Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ericrisco/rsc-harness --skill instagram-apigit clone --depth 1 https://github.com/ericrisco/rsc-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ericrisco/rsc-harness/instagram-api)<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/instagram-api"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/instagram-api.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00091 | $0.03318 |
| Opus 5 | $0.00046 | $0.01659 |
| Sonnet 5 | $0.00018 | $0.00664 |
| Haiku 4.5 | $0.00009 | $0.00332 |
Grade A, and why
instagram-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -X POST "https://$GRAPH_HOST/$GRAPH_VERSION/$IG_USER_ID/media" \ How it starts
The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
instagram-api
The wire between an agent and Instagram's Graph API: publish Reels, pull the metrics that still exist, and write them to the wiki. You speak HTTP, OAuth scopes, container IDs, and metric names. You do not decide what to post, write the caption's voice, or cut the video — route those out.
All facts below are pinned to Graph API v25.0 (current as of 2026-06-02). When you generate code, pin the version explicitly; Meta breaks metrics on version boundaries.
Route out
| The ask | Skill |
|---|---|
| Post the same clip to TikTok | tiktok-api |
| Upload to YouTube / pull YouTube stats | youtube-api |
| Cadence, best-time, multi-platform calendar | social-publisher |
| What to make / shortform content strategy | shortform-strategy |
| Hook, cuts, on-screen captions | video-shorts |
| Generic OAuth/webhook plumbing not IG-specific | api-connector-builder |
Prereqs & auth
You cannot publish from a personal account. Confirm these before writing any call.
- IG professional account (Business or Creator). Why: the publishing and insights endpoints reject personal accounts outright.
- Auth path + host — pick one and stay on it:
- Facebook Login for Business → IG account linked to a FB Page → host
graph.facebook.com. - Instagram Login (direct) → host
graph.instagram.com. Why: the host is not interchangeable per call; mixing tokens and hosts throws auth errors.
- Facebook Login for Business → IG account linked to a FB Page → host
- Scopes (current names):
instagram_business_content_publishto publish,instagram_business_manage_insightsto read metrics. Why: the oldinstagram_basic/instagram_content_publishwere deprecated 2025-01-27 and silently grant nothing now. - Long-lived token = 60 days, refreshable before expiry. A short-lived user token lasts ~1h. Why: anything in a script needs the long-lived token or it dies within the hour.
Env block — generate code that reads these, never hard-code the token:
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 239 lines · 91 tokens per session scan A ff484359527f
instagram-api is a skill published in the GitHub repository ericrisco/rsc-harness (65 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 3,318 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
opensrc
Fetch dependency source code to give AI agents deeper implementation context. Use when the agent needs to understand how a library works internally, read source code for a package, fetch implementation details for a dependency, or explore how an npm/PyPI/crates.io package is built. Triggers include "fetch source for"…
api-design
A guide to designing web APIs—the interfaces that let software systems exchange data—using REST, gRPC, and GraphQL patterns.
hunt-auth-bypass
Hunting skill for auth bypass vulnerabilities. Built from 4 public bug bounty reports. Use when hunting auth bypass on any target.
huawei-apig
Use when creating or managing API Gateway (APIG). Covers API creation, throttling, auth (IAM/APP/basic), CORS, publishing, instance management. Triggers: APIG, API gateway, throttling, publish API. NOT for: FunctionGraph triggers (use huawei-functiongraph).
hunt-graphql
Hunting skill for graphql vulnerabilities. Built from 3 public bug bounty reports. Use when hunting graphql on any target.
hunt-idor
Hunting skill for idor vulnerabilities. Built from 26 public bug bounty reports. Use when hunting idor on any target.