# Send auto-reply to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "auto-reply",
    "name": "auto-reply",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/mupengi-bot/auto-reply",
    "canonicalUrl": "https://clawhub.ai/mupengi-bot/auto-reply",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/auto-reply",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auto-reply",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/auto-reply.js",
      "scripts/check-notify.js",
      "scripts/dm-watcher.js",
      "scripts/v2.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "auto-reply",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T16:26:10.438Z",
      "expiresAt": "2026-05-18T16:26:10.438Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auto-reply",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=auto-reply",
        "contentDisposition": "attachment; filename=\"auto-reply-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "auto-reply"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/auto-reply"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/auto-reply",
    "downloadUrl": "https://openagent3.xyz/downloads/auto-reply",
    "agentUrl": "https://openagent3.xyz/skills/auto-reply/agent",
    "manifestUrl": "https://openagent3.xyz/skills/auto-reply/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/auto-reply/agent.md"
  }
}
```
## Documentation

### Instagram DM Auto-Reply 🐧

v2.js (Internal API) based. 0 browser snapshots, CDP cookie extraction → Instagram REST API direct calls.

### Prerequisites

OpenClaw browser running (port 18800)
Instagram tab open and logged in
ws npm package (npm i -g ws or local)

### Script List

ScriptPurposescripts/v2.jsDM CLI (inbox, unread, check, read, reply)scripts/auto-reply.jsRead dm-alert.json, security check, return reply metadatascripts/check-notify.jsCheck new DM notifications (for cron, state file based)scripts/dm-watcher.jsReal-time DM detection daemon (15s polling)

### 1. Check DMs

node scripts/v2.js check        # unread count (lightest)
node scripts/v2.js unread       # unread DM list
node scripts/v2.js inbox        # full DM list

### 2. Read Messages

node scripts/v2.js read "<username>" -l 5

### 3. Reply

node scripts/v2.js reply "<username>" "message content"

On API failure, returns JSON with method: "use_browser" + threadUrl → fallback to browser tool.

### 4. Notification Check (cron integration)

node scripts/check-notify.js

If new DMs: outputs 📩 새 DM N건: ...
If none: outputs no_new
Uses state file dm-state.json to prevent duplicates

### 5. Auto-Reply Flow

node scripts/auto-reply.js

Read dm-alert.json (created by dm-watcher)
Run security check on each DM
Return results: needs_reply / security_alert / skipped
AI generates replies for needs_reply DMs → send via v2.js reply

### 6. Real-time Detection Daemon

node 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.

### Security Check (Injection Rejection)

auto-reply.js's SECURITY_PATTERNS detects:

Prompt Injection: "ignore previous", "system prompt", "you are now", "act as", "pretend"
Jailbreak Attempts: "override", "jailbreak", "DAN mode", "bypass"
Sensitive Info Requests: "secret key", "private key", "seed phrase", "wallet address"
Code Execution Attempts: "execute command", "run script", "eval(", "rm -rf", "sudo"
Social Engineering: "simulation mode", zero-width characters

On threat detection → don't reply, return security_alert. Separate notification sent.

### Cron Setup Example

# 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

### Token Efficiency

inbox/check: exec 1 call (~500 tokens)
reply: exec 1 call (~200 tokens)
browser snapshots: 0

🐧 Built by 무펭이 — Mupengism ecosystem skill
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mupengi-bot
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-11T16:26:10.438Z
- Expires at: 2026-05-18T16:26:10.438Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/auto-reply)
- [Send to Agent page](https://openagent3.xyz/skills/auto-reply/agent)
- [JSON manifest](https://openagent3.xyz/skills/auto-reply/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/auto-reply/agent.md)
- [Download page](https://openagent3.xyz/downloads/auto-reply)