auto-captcha-solver

auto-captcha-solver is a skill for Claude Code, Codex from interfluve-wav/auto-captcha-solver. It costs 57 tokens per session (1,476 once invoked), scanned A, original, MIT.

Playwright browser-automation guidance that detects hCaptcha and reCAPTCHA v2, asks the NopeCHA service to solve them, and inserts the resulting tokens into the page. It requires a NopeCHA API key and a working Playwright setup.

In plain words
What is it for?
Use it to detect supported captchas, solve them through NopeCHA, and inject the tokens automatically in Playwright scripts.
Why use it?
It helps automated browser tasks continue when a supported captcha interrupts scraping, testing, or other page interactions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; built for openclaw.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/interfluve-wav/auto-captcha-solver/hermes-skill
Any agent
npx skills add interfluve-wav/auto-captcha-solver --skill hermes-skill
Clone the repo
git clone --depth 1 https://github.com/interfluve-wav/auto-captcha-solver

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auto-captcha-solver

README.md
[![agentmods](https://agentmods.dev/badge/skills/interfluve-wav/auto-captcha-solver/hermes-skill.svg)](https://agentmods.dev/skills/interfluve-wav/auto-captcha-solver/hermes-skill)
Your own site
<a href="https://agentmods.dev/skills/interfluve-wav/auto-captcha-solver/hermes-skill"><img src="https://agentmods.dev/badge/skills/interfluve-wav/auto-captcha-solver/hermes-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01476
Opus 5 $0.00028 $0.00738
Sonnet 5 $0.00011 $0.00295
Haiku 4.5 $0.00006 $0.00148

Measured 2d ago against content hash 5f79506f60a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

auto-captcha-solver scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

hermes-skill/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auto-Captcha

Auto-detect and solve captchas during Playwright browser automation using the NopeCHA API.

When to Use

  • Browser automation hits a captcha wall
  • Web scraping tasks need captcha bypass
  • Automated testing against captcha-protected sites
  • Any Playwright script that might encounter hCaptcha or reCAPTCHA v2

Prerequisites

  • NOPECHA_API_KEY env var set (get free credits at https://nopecha.com)
  • Python requests and playwright installed
  • Playwright browser installed (python -m playwright install chromium)

Quick Start

from auto_captcha_solver import CaptchaSolver

solver = CaptchaSolver(api_key="your-key")

# Auto-detect + solve + inject (one-liner)
results = solver.auto_solve(page)

Full API

Detect

captchas = solver.detect(page)
# Returns: [{"type": "hcaptcha"|"recaptcha2", "sitekey": "...", "url": "...", "frame": ...}]

Solve

result = solver.solve("hcaptcha", sitekey, page_url)
# Returns: CaptchaResult(success=True, token="...", attempts=5, elapsed_sec=38.0)

Inject

solver.inject(page, "hcaptcha", token)
# Injects token into page's captcha callback

Auto (detect + solve + inject)

results = solver.auto_solve(page)
for r in results:
    print(f"{r.captcha_type}: {'OK' if r.success else r.error}")

SmartPage (transparent wrapper)

from auto_captcha_solver import smart_page

with smart_page(api_key="your-key") as page:
    page.goto("https://protected-site.com")
    page.fill("#email", "[email protected]")
    page.click("#submit")   # captcha auto-solved after each action

Supported Captcha Types

Type API Endpoint Status
hCaptcha (checkbox) /v1/token/hcaptcha Working
hCaptcha (enterprise) /v1/token/hcaptcha Working
reCAPTCHA v2 /v1/token/recaptcha2 Works but queue can be slow
reCAPTCHA v3 /v1/token/recaptcha3 Working (needs data.action)
Cloudflare Turnstile /v1/token/turnstile Working with a proxy — proxy is Required in NopeCHA's schema for this endpoint (solver exit IP must match browser IP); check_proxy_egress() / CLI proxy-check verify first. Error 10 bodies carry a diagnostic type field, now surfaced in the error string.

Read the full file on GitHub · 158 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +35 lines 5f79506f60a3
  2. 6d ago First seen · 123 lines · 57 tokens per session scan A 34735ee92622

Subscribe to this mod's changes

auto-captcha-solver is a skill published in the GitHub repository interfluve-wav/auto-captcha-solver (10 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 1,476 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories