# Send Captcha Relay 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": "captcha-relay",
    "name": "Captcha Relay",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/0xclanky/captcha-relay",
    "canonicalUrl": "https://clawhub.ai/0xclanky/captcha-relay",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/captcha-relay",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=captcha-relay",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "ARCHITECTURE.md",
      "README.md",
      "SKILL.md",
      "TAILSCALE.md",
      "browser-relay-cli.js",
      "fallback/screenshot.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "captcha-relay",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T07:06:19.720Z",
      "expiresAt": "2026-05-08T07:06:19.720Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=captcha-relay",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=captcha-relay",
        "contentDisposition": "attachment; filename=\"captcha-relay-2.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "captcha-relay"
      },
      "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/captcha-relay"
    },
    "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/captcha-relay",
    "downloadUrl": "https://openagent3.xyz/downloads/captcha-relay",
    "agentUrl": "https://openagent3.xyz/skills/captcha-relay/agent",
    "manifestUrl": "https://openagent3.xyz/skills/captcha-relay/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/captcha-relay/agent.md"
  }
}
```
## Documentation

### CAPTCHA Relay v2

Solve CAPTCHAs by relaying them to a human. Two modes available.

### Screenshot Mode (default) — No infrastructure needed

Grid overlay screenshot → send image to human via Telegram → human replies with cell numbers → inject clicks.

Zero setup beyond the skill itself. No Tailscale, no tunnels, no relay server.
Works for any CAPTCHA type (reCAPTCHA, hCaptcha, sliders, text, etc.)
Uses sharp for image processing + CDP for screenshots and click injection.

node index.js                       # screenshot mode (default)
node index.js --mode screenshot     # explicit
node index.js --screenshot          # legacy alias

const { solveCaptchaScreenshot } = require('./index');
const capture = await solveCaptchaScreenshot({ cdpPort: 18800 });
// capture.imagePath — annotated screenshot to send to human
// capture.prompt — text prompt for the human

### Token Relay Mode — Requires network access

Detects CAPTCHA type + sitekey → serves real widget on relay page → human solves natively → token injected via CDP.

Requires Tailscale or a tunnel (localtunnel/cloudflared) so the human's device can reach the relay server.
Produces a proper CAPTCHA token — more reliable for reCAPTCHA v2, hCaptcha, Turnstile.
Best when you have Tailscale already set up.

node index.js --mode relay              # with localtunnel
node index.js --mode relay --no-tunnel  # with Tailscale/LAN

const { solveCaptcha } = require('./index');
const result = await solveCaptcha({ cdpPort: 18800, useTunnel: false });
// result.relayUrl — URL to send to human
// result.token — solved CAPTCHA token

### When to Use Each

ScenarioModeQuick & easy, no setupscreenshotAny CAPTCHA type (sliders, text, etc.)screenshotKnown CAPTCHA with sitekey (reCAPTCHA, hCaptcha, Turnstile)relayTailscale already configuredrelayNo network access to hostscreenshot

### CLI Flags

FlagDefaultDescription--mode screenshot|relayscreenshotSelect solving mode--screenshot—Alias for --mode screenshot--no-injectinjectReturn token without injecting into browser--no-tunneltunnelSkip tunnel, use local/Tailscale IP (relay mode)--timeout N120Timeout in seconds--cdp-port N18800Chrome DevTools Protocol port

### Screenshot mode (simplest)

Call solveCaptchaScreenshot({ cdpPort })
Send capture.imagePath to human via message tool with capture.prompt
Human replies with cell numbers (e.g. "1,3,5,7")
Call injectGridClicks(cdpPort, capture, selectedCells) to click those cells

### Relay mode

Call solveCaptcha({ useTunnel: false }) (Tailscale) or solveCaptcha() (tunnel)
Send result.relayUrl to human via message tool
Wait — resolves when human completes the CAPTCHA
Token is auto-injected; continue automation

### Requirements

Chrome/Chromium with --remote-debugging-port=18800
Node.js 18+ and npm install (deps: ws, sharp)
Relay mode only: Tailscale or internet for tunnel
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 0xclanky
- Version: 2.1.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-01T07:06:19.720Z
- Expires at: 2026-05-08T07:06:19.720Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/captcha-relay)
- [Send to Agent page](https://openagent3.xyz/skills/captcha-relay/agent)
- [JSON manifest](https://openagent3.xyz/skills/captcha-relay/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/captcha-relay/agent.md)
- [Download page](https://openagent3.xyz/downloads/captcha-relay)