/install instagram-poster
instagram-poster
Post images to Instagram directly from your AI agent — bypasses bot detection with a real residential IP.
Quick start
node {baseDir}/scripts/post.js \
--image ./photo.jpg \
--caption "Good morning 🌅 #photography" \
--user YOUR_USERNAME \
--pass YOUR_PASSWORD
Post a WaveSpeed-generated image:
# 1. Generate image
node /workspace/.agents/skills/wavespeed/scripts/wavespeed.js generate \
--model flux-schnell --prompt "sunset over mountains" --output /tmp/post.png
# 2. Post to Instagram
node {baseDir}/scripts/post.js \
--image /tmp/post.png \
--caption "Golden hour 🏔️ #nature #photography"
Options
| Flag | Env | Description |
|---|---|---|
--image |
IG_IMAGE |
Local file path or HTTPS URL |
--caption |
IG_CAPTION |
Post caption (optional) |
--user |
IG_USERNAME |
Instagram username |
--pass |
IG_PASSWORD |
Instagram password |
--session |
IG_SESSION_PATH |
Cookie session file (default: ~/.openclaw/ig-session.json) |
Session caching
On first run, logs in and saves cookies to ~/.openclaw/ig-session.json.
Subsequent runs reuse the session — no re-login needed.
Config in openclaw.json
{
skills: {
entries: {
"instagram-poster": {
env: {
IG_USERNAME: "your_username",
IG_PASSWORD: "your_password"
}
}
}
}
}
How it works
- Launches a stealth browser with a Romanian residential IP (via human-browser)
- Logs into Instagram as a real iPhone user — passes all bot checks
- Uploads your image and submits the caption
- Saves session cookies so you stay logged in
Requirements
- human-browser skill installed
- Human Browser subscription (residential proxy) → humanbrowser.dev
- Instagram account credentials
Agent usage example
User: Post this sunset photo to Instagram with caption "Golden hour 🌅"
Agent: node {baseDir}/scripts/post.js --image /tmp/sunset.jpg --caption "Golden hour 🌅"
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install instagram-poster - After installation, invoke the skill by name or use
/instagram-poster - Provide required inputs per the skill's parameter spec and get structured output
What is Instagram Poster?
Post images to Instagram automatically via Telegram. Generates images with WaveSpeed or uses your own. Bypasses Instagram bot detection using residential pro... It is an AI Agent Skill for Claude Code / OpenClaw, with 1780 downloads so far.
How do I install Instagram Poster?
Run "/install instagram-poster" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Instagram Poster free?
Yes, Instagram Poster is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Instagram Poster support?
Instagram Poster is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).
Who created Instagram Poster?
It is built and maintained by Ilya (@al1enjesus); the current version is v1.0.0.