# Send 2Captcha CLI 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": "2captcha",
    "name": "2Captcha CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/adinvadim/2captcha",
    "canonicalUrl": "https://clawhub.ai/adinvadim/2captcha",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/2captcha",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=2captcha",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "2captcha",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T13:01:56.969Z",
      "expiresAt": "2026-04-30T13:01:56.969Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=2captcha",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=2captcha",
        "contentDisposition": "attachment; filename=\"2captcha-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "2captcha"
      },
      "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/2captcha"
    },
    "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/2captcha",
    "downloadUrl": "https://openagent3.xyz/downloads/2captcha",
    "agentUrl": "https://openagent3.xyz/skills/2captcha/agent",
    "manifestUrl": "https://openagent3.xyz/skills/2captcha/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/2captcha/agent.md"
  }
}
```
## Documentation

### 2Captcha Skill

Solve CAPTCHAs programmatically using the 2Captcha human-powered service.

### Installation

# One-line install
curl -fsSL https://raw.githubusercontent.com/adinvadim/2captcha-cli/main/solve-captcha \\
  -o /usr/local/bin/solve-captcha && chmod +x /usr/local/bin/solve-captcha

# Verify
solve-captcha --version

### Configuration

# Save your 2Captcha API key
mkdir -p ~/.config/2captcha
echo "YOUR_API_KEY" > ~/.config/2captcha/api-key

# Or use environment variable
export TWOCAPTCHA_API_KEY="your-key"

Get your API key at https://2captcha.com/enterpage

### Check Balance First

./solve-captcha balance

### Image CAPTCHA

# From file
./solve-captcha image /path/to/captcha.png

# From URL  
./solve-captcha image "https://site.com/captcha.jpg"

# With options
./solve-captcha image captcha.png --numeric 1 --math
./solve-captcha image captcha.png --comment "Enter red letters only"

### reCAPTCHA v2

./solve-captcha recaptcha2 --sitekey "6Le-wvk..." --url "https://example.com"

### reCAPTCHA v3

./solve-captcha recaptcha3 --sitekey "KEY" --url "URL" --action "submit" --min-score 0.7

### hCaptcha

./solve-captcha hcaptcha --sitekey "KEY" --url "URL"

### Cloudflare Turnstile

./solve-captcha turnstile --sitekey "0x4AAA..." --url "URL"

### FunCaptcha (Arkose)

./solve-captcha funcaptcha --public-key "KEY" --url "URL"

### GeeTest

# v3
./solve-captcha geetest --gt "GT" --challenge "CHALLENGE" --url "URL"

# v4
./solve-captcha geetest4 --captcha-id "ID" --url "URL"

### Text Question

./solve-captcha text "What color is the sky?" --lang en

### reCAPTCHA sitekey

Look for:

data-sitekey attribute in HTML
k= parameter in reCAPTCHA iframe URL
Network request to google.com/recaptcha/api2/anchor

### hCaptcha sitekey

Look for:

data-sitekey in hCaptcha div
Network requests to hcaptcha.com

### Turnstile sitekey

Look for:

data-sitekey in Turnstile widget
cf-turnstile class elements

### Workflow for Browser Automation

Detect CAPTCHA - Check if page has captcha element
Extract params - Get sitekey/challenge from page source
Solve via CLI - Call solve-captcha with params
Inject token - Set g-recaptcha-response or callback

### Example: Inject reCAPTCHA Token

// After getting token from solve-captcha
document.getElementById('g-recaptcha-response').value = token;
// Or call callback if defined
___grecaptcha_cfg.clients[0].callback(token);

### Cost Awareness

Check balance before heavy automation
Image: ~$0.001 per solve
reCAPTCHA/hCaptcha/Turnstile: ~$0.003 per solve

### Error Handling

Common errors:

ERROR_ZERO_BALANCE - Top up account
ERROR_NO_SLOT_AVAILABLE - Retry in few seconds
ERROR_CAPTCHA_UNSOLVABLE - Bad image or impossible captcha
ERROR_WRONG_CAPTCHA_ID - Invalid task ID

### Notes

Solving takes 10-60 seconds depending on type
reCAPTCHA v3 may need multiple attempts for high scores
Some sites detect automation - use carefully
Tokens expire! Use within 2-5 minutes
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: adinvadim
- 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-04-23T13:01:56.969Z
- Expires at: 2026-04-30T13:01:56.969Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/2captcha)
- [Send to Agent page](https://openagent3.xyz/skills/2captcha/agent)
- [JSON manifest](https://openagent3.xyz/skills/2captcha/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/2captcha/agent.md)
- [Download page](https://openagent3.xyz/downloads/2captcha)