OpenClaw Skill
instagram-poster
Post images to Instagram automatically via Telegram. Generates images with WaveSpeed or uses your own. Bypasses Instagram bot detection using residential proxy. Use when: user wants to post to Instagram, auto-post image, share photo on Instagram, instagram autoposter, schedule instagram post, publish to instagram, post reel image. Requires IG_USERNAME + IG_PASSWORD env vars or a saved session. Needs human-browser skill for residential proxy.
Install
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_PASSWORDPost 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 ๐
"Created by
@al1enjesusPersistent memory
Give your OpenClaw agent a memory layer
Mem0 remembers users and context across sessions so you send fewer tokens and get better answers.
Try Mem0Mem0 + OpenClaw guide