Install
openclaw skills install auto-replyClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Instagram DM auto-reply system. DM monitoring, reading, replying, security check (injection rejection). Use when checking Instagram DMs, reading unread messages, replying to DMs, setting up DM monitoring cron jobs, or handling DM auto-reply workflows. Triggers on: Instagram DM, DM check, DM reply, DM auto-reply, dm-alert.
openclaw skills install auto-replyv2.js (Internal API) based. 0 browser snapshots, CDP cookie extraction → Instagram REST API direct calls.
ws npm package (npm i -g ws or local)| Script | Purpose |
|---|---|
scripts/v2.js | DM CLI (inbox, unread, check, read, reply) |
scripts/auto-reply.js | Read dm-alert.json, security check, return reply metadata |
scripts/check-notify.js | Check new DM notifications (for cron, state file based) |
scripts/dm-watcher.js | Real-time DM detection daemon (15s polling) |
node scripts/v2.js check # unread count (lightest)
node scripts/v2.js unread # unread DM list
node scripts/v2.js inbox # full DM list
node scripts/v2.js read "<username>" -l 5
node scripts/v2.js reply "<username>" "message content"
On API failure, returns JSON with method: "use_browser" + threadUrl → fallback to browser tool.
node scripts/check-notify.js
📩 새 DM N건: ...no_newdm-state.json to prevent duplicatesnode scripts/auto-reply.js
dm-alert.json (created by dm-watcher)needs_reply / security_alert / skippedneeds_reply DMs → send via v2.js replynode scripts/dm-watcher.js # detection only
node scripts/dm-watcher.js --auto-reply # includes Discord notification
Polls v2.js check every 15s. On new DM detection, writes dm-alert.json + Discord DM notification.
auto-reply.js's SECURITY_PATTERNS detects:
On threat detection → don't reply, return security_alert. Separate notification sent.
# Check DMs every 5 minutes
- schedule: "*/5 * * * *"
command: "node /path/to/scripts/check-notify.js"
systemEvent: true
# Or dm-watcher daemon for continuous monitoring
- schedule: "@reboot"
command: "node /path/to/scripts/dm-watcher.js --auto-reply"
background: true
🐧 Built by 무펭이 — Mupengism ecosystem skill