solve-captcha

Solid

Solve a CAPTCHA on the current browser tab - free checkbox/text paths first, then a configured token service for image challenges. Returns solved or unsolved for the caller to fall back.

AI & Automation 67 stars 17 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Solve CAPTCHA Clear a CAPTCHA on the **current browser tab**. Return **solved** or **unsolved** (the caller falls back). Authorized use only - the user's own applications. `$JOBPILOT_API` / `$JOBPILOT_API_TOKEN` are injected by the terminal host. ## 1. Dispatch + identify If the argument is a URL → `browser_navigate` there first. `browser_resize` to a tall viewport (`1280×1400`) so the widget is fully on-screen, then `browser_snapshot` + `browser_take_screenshot` the captcha and classify: - **checkbox** (reCAPTCHA "I'm not a robot" / hCaptcha / Turnstile) → §2. **Always try this first** - it escalates to the service only if it opens an image challenge. - **text** (distorted characters + answer field) → §3. - **image-grid already open** (no checkbox to click) → §4 directly. - **slider / unknown** → **unsolved**. ## 2. Checkbox (free, first) `browser_click` the control by `ref`, `browser_wait_for`, re-snapshot. Verified → **solved**. An image grid opened instead → escalate to §4. **Never hand-click tiles** - automated clicks get flagged and fail. ## 3. Text (free) `browser_take_screenshot`, read the characters, `browser_type` the answer, submit. Verified → **solved**. ## 4. Image-grid → token service Read the sitekey (`browser_evaluate`, read-only): ```js () => { const el = document.querySelector(".g-recaptcha, [data-sitekey]"); let key = el?.getAttribute("data-sitekey"); if (!key) { const f = [...document.querySelectorAll('iframe[src*="recaptcha"]')] ...

Details

Author
suxrobGM
Repository
suxrobGM/jobpilot
Created
5 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category