Install the "instagram" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/video-creator-workflow/.claude/skills/instagram into .claude/skills/instagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instagram", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add nicepkg/ai-workflow --skill instagram -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "instagram" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/video-creator-workflow/.claude/skills/instagram into .agents/skills/instagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instagram", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add nicepkg/ai-workflow --skill instagram -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "instagram" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/video-creator-workflow/.claude/skills/instagram into .cursor/skills/instagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instagram", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add nicepkg/ai-workflow --skill instagram -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "instagram" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/video-creator-workflow/.claude/skills/instagram into .gemini/skills/instagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instagram", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
GitHub CLI
$ gh skill install nicepkg/ai-workflow instagram
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add nicepkg/ai-workflow --skill instagram -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "instagram" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/video-creator-workflow/.claude/skills/instagram into .github/skills/instagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instagram", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add nicepkg/ai-workflow --skill instagram -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "instagram" agent skill from https://github.com/nicepkg/ai-workflow/tree/main/workflows/video-creator-workflow/.claude/skills/instagram into .opencode/skills/instagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "instagram", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
instagram
GitHub stars
285
Token cost
~1.8k tokens
SKILL.md length
709 words
Files
1
Skills in repo
61
Repo updated
First seen
Licence
MIT
At a glance
Instagram Graph API integration via curl. An agent skill from nicepkg/ai-workflow.
Works in 5 steps: Fetch recent media for the account → Get details for a single media → Search media by hashtag → …
Fetch and publish Instagram media
SKILL.md covers When to Use, Prerequisites, How to Use and Guidelines
Calls bash; reaches graph.facebook.com and developers.facebook.com; needs INSTAGRAM_ACCESS_TOKEN and API_KEY
What it does
Instagram is an agent skill from nicepkg/ai-workflow. Instagram Graph API integration via curl. Use this skill to fetch and publish Instagram media.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Third-party API integration. It works with Instagram and Bash. The repository describes itself as: 🚀 170+ pre-built skills for Claude Code, Cursor, Codex & 14+ AI tools. Stop re-teaching your AI the same things. One command → instant domain expertise. Marketing, SEO, Trading… The licence is MIT.
When your agent uses it
Fetch and publish Instagram media
Tasks that involve Third-party API integration
Example prompts
“/instagram”
Requirements
A credential in INSTAGRAM_ACCESS_TOKEN
A credential in API_KEY
Workflow steps
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d167b41. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Shell commands in SKILL.md call:
bash
From the folder's file list and the shell code blocks in SKILL.md.
Network
Hosts in commands or code, which the agent is likely to contact:
graph.facebook.com
developers.facebook.com
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names these keys or tokens, usually read from environment variables:
INSTAGRAM_ACCESS_TOKEN
API_KEY
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Instagram loads about 1.8k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 709 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~26
When it runs· the whole SKILL.md, loaded when a task matches
~1.8k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
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_basic
pages_show_list
instagram_content_publish (for publishing media)
instagram_manage_insights and related permissions (for insights / some hashtag use cases)
Important: When using $VAR in a command that pipes to another command, wrap the command containing $VAR in bash -c '...'. Due to a Claude Code bug, environment variables are silently cleared when pipes are used directly.
Each item in the returned JSON represents a media object
Common fields:
id: media ID (used for details / insights later)
caption: caption text
media_type: IMAGE / VIDEO / CAROUSEL_ALBUM
media_url: direct URL to the media
permalink: Instagram permalink
timestamp: creation time
2. Get details for a single media
If you already have a media id, you can fetch more complete information. Replace <your-media-id> with the id field from the "Get User Media" response (section 1 above):
If successful, the response will contain the final media id:
json
{
"id": "1791yyyyyyyyyyyy"
}
You can then use the "Get details for a single media" command to fetch its permalink.
5. Common errors and troubleshooting
Permissions / OAuth errors
Typical error message: (#10) Application does not have permission for this action
Check:
Whether the app has been reviewed / approved
Whether the required Instagram permissions are enabled
Whether INSTAGRAM_ACCESS_TOKEN is a valid long-lived token
Unsupported account type
Most Graph API features require Business / Creator accounts
Make sure the Instagram account type is correct and linked to a Facebook Page
Rate limits
Too many requests in a short period may hit rate limits; add delays for bulk operations
Guidelines
Do not log tokens: INSTAGRAM_ACCESS_TOKEN is sensitive; avoid printing it in logs or chat transcripts
Validate curl commands in a test environment first: confirm flows before wiring them into automation / agents
Keep API version up to date: periodically check Facebook docs and update the v21.0 version in URLs to the latest
Use placeholder text for IDs: all examples use placeholder text like <your-media-id> instead of shell variables in URLs to avoid dependencies and make examples self-contained
Instagram next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Searches TikHub's social media API endpoints and calls them from the command line for TikTok, Douyin, Xiaohongshu, Instagram, YouTube, Reddit and more.
Turns an API description, such as an OpenAPI file or a Postman collection, into a connector plugin for ToolJet's marketplace and checks it with the repo's validator.
Instagram Graph API integration via curl. An agent skill from nicepkg/ai-workflow. Instagram is an agent skill from nicepkg/ai-workflow. Instagram Graph API integration via curl.
When should I use Instagram?
Instagram fits situations like: fetch and publish Instagram media; tasks that involve Third-party API integration.
How do I install Instagram in Claude Code?
Run `npx skills add nicepkg/ai-workflow --skill instagram -a claude-code`. Or copy the skill folder (workflows/video-creator-workflow/.claude/skills/instagram in nicepkg/ai-workflow) into .claude/skills/instagram in your project. Claude Code loads it when a task matches its description.
How do I install Instagram in Codex?
Run `npx skills add nicepkg/ai-workflow --skill instagram -a codex`. Or copy the skill folder (workflows/video-creator-workflow/.claude/skills/instagram in nicepkg/ai-workflow) into .agents/skills/instagram in your project. Codex loads it when a task matches its description.
Can I use Instagram in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nicepkg/ai-workflow --skill instagram -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/instagram, .gemini/skills/instagram, .github/skills/instagram and .opencode/skills/instagram in your project.
What does Instagram need to run?
Going by SKILL.md and its folder, Instagram needs the command-line tools its instructions call (bash) and credentials named INSTAGRAM_ACCESS_TOKEN and API_KEY. Our summary lists: A credential in INSTAGRAM_ACCESS_TOKEN; A credential in API_KEY.
Does Instagram access the network?
SKILL.md names 2 domains. In commands or code: graph.facebook.com and developers.facebook.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Is Instagram safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Instagram use?
Instagram is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Instagram use?
About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Instagram?
Skills that share tags, products or a category with Instagram: TikHub API Helper (liangdabiao/tikhub_api_skill, 129 stars), Instagram Profile Meta (browser-act/skills, 6.1k stars), Hugging Face API Tool Builder (huggingface/skills, 11k stars) and Sub2API Admin (Wei-Shaw/sub2api, 43k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Instagram?
nicepkg (a GitHub organization) maintains it in nicepkg/ai-workflow, which has 285 GitHub stars. The repository holds 61 skills in this directory. The repository was last updated on January 20, 2026.
Source: nicepkg/ai-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.