# Send Doppleganger 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "doppleganger",
    "name": "Doppleganger",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/RuneweaverStudios/doppleganger",
    "canonicalUrl": "https://clawhub.ai/RuneweaverStudios/doppleganger",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/doppleganger",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=doppleganger",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "config.json",
      "scripts/doppleganger.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "doppleganger",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T04:38:37.813Z",
      "expiresAt": "2026-05-08T04:38:37.813Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=doppleganger",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=doppleganger",
        "contentDisposition": "attachment; filename=\"doppleganger-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "doppleganger"
      },
      "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/doppleganger"
    },
    "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/doppleganger",
    "downloadUrl": "https://openagent3.xyz/downloads/doppleganger",
    "agentUrl": "https://openagent3.xyz/skills/doppleganger/agent",
    "manifestUrl": "https://openagent3.xyz/skills/doppleganger/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/doppleganger/agent.md"
  }
}
```
## Documentation

### Description

Prevents duplicate subagent sessions running the same task. Saves tokens and reduces lag—no more "multiple Spidermen" doing the same work.

### Doppleganger

One task, one agent. Doppleganger stops duplicate subagent sessions from running the same task. That prevents token overspend, UI lag, and the chaos of five identical "task completed" announcements.

### Usage

The orchestrator already runs a duplicate check before sessions_spawn (see delegate rule); Doppleganger is the named skill for that behavior.
User says: "prevent duplicate agents", "stop dopplegangers", "why are so many agents doing the same thing?"
You want a single entry point to check whether a task is already running before spawning.

python3 /Users/ghost/.openclaw/workspace/skills/doppleganger/scripts/doppleganger.py check "<task string>" [--json]
python3 /Users/ghost/.openclaw/workspace/skills/doppleganger/scripts/doppleganger.py guard --task "<task>" [--json]

JSON output:

{"duplicate": false, "doppleganger_ok": true} → safe to spawn.
{"duplicate": true, "reason": "running", "sessionId": "...", "key": "...", "doppleganger_ok": true} → do not spawn; reply that the task is already running.

Exit codes: 0 = no duplicate (or check ok). 1 = error. 2 = duplicate detected.

### What it does

check / guard — Given a task string (the same one you would pass to sessions_spawn), returns whether that task is already running. If yes, the orchestrator must not spawn again.
Uses the subagent-tracker's check-duplicate under the hood (one source of truth for runs/sessions).

### Orchestrator

The delegate rule runs a duplicate check before every sessions_spawn; that check can be implemented by calling Doppleganger (or subagent-tracker check-duplicate) with the router's task string. If duplicate: true, do not call sessions_spawn.

### Name

"Doppleganger" = the duplicate agent doing the same thing. One Spiderman is enough.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: RuneweaverStudios
- 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-01T04:38:37.813Z
- Expires at: 2026-05-08T04:38:37.813Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/doppleganger)
- [Send to Agent page](https://openagent3.xyz/skills/doppleganger/agent)
- [JSON manifest](https://openagent3.xyz/skills/doppleganger/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/doppleganger/agent.md)
- [Download page](https://openagent3.xyz/downloads/doppleganger)