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 nicepkg/ai-workflow --skill instagramgit clone --depth 1 https://github.com/nicepkg/ai-workflowWrote 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/nicepkg/ai-workflow/instagram)<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/instagram"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/instagram/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/instagram"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/instagram.svg" alt="Reviewed on agentmods" width="80" 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.00019 | $0.01758 |
| Opus 5.5 | $0.00008 | $0.00703 |
| Sonnet 5.5 | $0.00004 | $0.00352 |
| Haiku 4.5 | $0.00002 | $0.00176 |
Grade B, and why
instagram scanned grade B with 2 findings 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 2mo 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
bash -c 'curl -s -X POST "https://graph.facebook.com/v21.0/${INSTAGRAM_BUSINESS_ACCOUNT_ID}/media" -H "Content-Type: application/json" -d @/tmp/request.json --header "Authorization: Bearer ${INSTAGRAM_ACCESS_TOKEN}"' Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: Instagram Graph API integration via curl. Use this skill to fetch and publish Instagram media. How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instagram API (Graph API)
Use the Instagram Graph API by directly executing curl commands to read and publish Instagram content.
Official docs:
https://developers.facebook.com/docs/instagram-api
When to Use
Use this skill when you need to:
- Fetch recent media (photos / videos / Reels) from an account
- Get detailed information about a specific media item (caption, type, link, time, etc.)
- Search recent media by hashtag
- Publish image posts via API (with caption)
Prerequisites
- You must have an Instagram Business / Creator account linked to a Facebook Page
- Create an app in Facebook Developers and enable Instagram Basic Display / Instagram Graph API permissions
- Obtain:
INSTAGRAM_ACCESS_TOKEN: a long-lived user access tokenINSTAGRAM_BUSINESS_ACCOUNT_ID: your Instagram Business account ID
Set the environment variables, for example:
export INSTAGRAM_ACCESS_TOKEN="EAAG..."
export INSTAGRAM_BUSINESS_ACCOUNT_ID="1784140xxxxxxx"
These examples use Graph API version v21.0. You can replace this with the latest version if needed.
Required permissions (scopes)
Depending on which endpoints you use, make sure your app has requested and been approved for (at least):
instagram_basicpages_show_listinstagram_content_publish(for publishing media)instagram_manage_insightsand related permissions (for insights / some hashtag use cases)
Important: When using
$VARin a command that pipes to another command, wrap the command containing$VARinbash -c '...'. Due to a Claude Code bug, environment variables are silently cleared when pipes are used directly.bash -c 'curl -s "https://api.example.com" -H "Authorization: Bearer $API_KEY"' | jq '.'
How to Use
All examples below assume you have already set:
INSTAGRAM_ACCESS_TOKEN
INSTAGRAM_BUSINESS_ACCOUNT_ID
1. Fetch recent media for the account
Fetch the most recent media (photos / videos / Reels) for the account:
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.
- 2mo ago First seen · 217 lines · 19 tokens per session scan B 6f5155e6c9ce
instagram is a skill published in the GitHub repository nicepkg/ai-workflow (298 stars, last pushed 10mo ago), licensed MIT. It adds 19 tokens to every session and 1,758 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
instagram compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| instagramnicepkg/ai-workflow | Skill | 298 | 10mo ago | MIT | B | 19 | Claude Code |
| headroomheadroomlabs-ai/headroom | Skill | 81k | today | Apache-2.0 | A | 76 | Claude Code |
| html-artifactslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 52 | Claude Code, Codex |
| hive.slack-notifications-setupaden-hive/hive | Skill | 11k | yesterday | Apache-2.0 | A | 136 | Claude Code, Codex |
| hive.chart-creation-foundationsaden-hive/hive | Skill | 11k | yesterday | Apache-2.0 | A | 133 | Claude Code, Codex |
| browser-edge-casesaden-hive/hive | Skill | 11k | yesterday | Apache-2.0 | A | 40 | Claude Code |
| hive.pdfaden-hive/hive | Skill | 11k | yesterday | Apache-2.0 | A | 98 | Claude Code, Codex |