ohmycaptcha

GitHub

提供OhMyCaptcha验证码解决服务的部署、配置与集成指南,涵盖本地SGLang模型搭建、云API对接及19种任务类型支持。

skills/ohmycaptcha/SKILL.md shenhao-stu/ohmycaptcha

触发场景

部署或配置OhMyCaptcha服务 集成YesCaptcha风格API或reCAPTCHA/hCaptcha/Turnstile 请求OhMyCaptcha的API调用示例

安装

npx skills add shenhao-stu/ohmycaptcha --skill ohmycaptcha -g -y
更多选项

不安装直接使用

npx skills use shenhao-stu/ohmycaptcha@ohmycaptcha

指定 Agent (Claude Code)

npx skills add shenhao-stu/ohmycaptcha --skill ohmycaptcha -a claude-code -g -y

安装 repo 全部 skill

npx skills add shenhao-stu/ohmycaptcha --all -g -y

预览 repo 内 skill

npx skills add shenhao-stu/ohmycaptcha --list

SKILL.md

Frontmatter
{
    "name": "ohmycaptcha",
    "description": "Deploy, configure, validate, and integrate the OhMyCaptcha captcha-solving service. Use when working with YesCaptcha-style APIs, flow2api integration, reCAPTCHA\/hCaptcha\/Turnstile task creation, image classification, SGLang local model deployment, Render\/Hugging Face cloud deployment, or OpenAI-compatible multimodal model setup. Also use when the user asks how to self-host a captcha-solving service or wants request\/response examples for OhMyCaptcha."
}

OhMyCaptcha Skill

Operational guidance for deploying and integrating the OhMyCaptcha service.

Model architecture

OhMyCaptcha uses two model backends:

  • Local model — self-hosted via SGLang/vLLM (e.g. Qwen/Qwen3.5-2B). Handles image recognition and classification tasks. Configured via LOCAL_BASE_URL, LOCAL_API_KEY, LOCAL_MODEL.
  • Cloud model — remote OpenAI-compatible API (e.g. gpt-5.4). Handles audio transcription and complex reasoning. Configured via CLOUD_BASE_URL, CLOUD_API_KEY, CLOUD_MODEL.

Supported task types (19 total)

Browser-based (12)

RecaptchaV3TaskProxyless, RecaptchaV3TaskProxylessM1, RecaptchaV3TaskProxylessM1S7, RecaptchaV3TaskProxylessM1S9, RecaptchaV3EnterpriseTask, RecaptchaV3EnterpriseTaskM1, NoCaptchaTaskProxyless, RecaptchaV2TaskProxyless, RecaptchaV2EnterpriseTaskProxyless, HCaptchaTaskProxyless, TurnstileTaskProxyless, TurnstileTaskProxylessM1

Image recognition (3)

ImageToTextTask, ImageToTextTaskMuggle, ImageToTextTaskM1

Image classification (4)

HCaptchaClassification, ReCaptchaV2Classification, FunCaptchaClassification, AwsClassification

Local model setup (SGLang)

pip install "sglang[all]>=0.4.6.post1"
# From ModelScope (China):
export SGLANG_USE_MODELSCOPE=true
python -m sglang.launch_server --model-path Qwen/Qwen3.5-2B --port 30000

Then configure OhMyCaptcha:

export LOCAL_BASE_URL="http://localhost:30000/v1"
export LOCAL_MODEL="Qwen/Qwen3.5-2B"

Startup checklist

  1. Install dependencies: pip install -r requirements.txt && playwright install --with-deps chromium
  2. Start local model server (SGLang on port 30000)
  3. Set env vars: LOCAL_BASE_URL, CLOUD_BASE_URL, CLOUD_API_KEY, CLIENT_KEY
  4. Start service: python main.py
  5. Verify: curl http://localhost:8000/api/v1/health
  6. Test: create a reCAPTCHA v3 task against https://antcpt.com/score_detector/ with key 6LcR_okUAAAAAPYrPe-HK_0RULO1aZM15ENyM-Mf

Response rules

  1. Prefer the repository's documented behavior over assumptions.
  2. Use placeholder credentials only. Never expose real secrets.
  3. Be explicit about limitations:
    • minScore is compatibility-only
    • Task storage is in-memory with 10-min TTL
    • reCAPTCHA v2 and hCaptcha may require image classification fallback in headless environments
  4. For deployment help, reference docs/deployment/local-model.md, docs/deployment/render.md, docs/deployment/huggingface.md.
  5. For API usage, reference docs/api-reference.md and the usage guides under docs/usage/.

版本历史

  • 0b543d5 当前 2026-08-16 15:42

同 Skill 集合

skills/ohmycaptcha-image/SKILL.md

元信息

文件数
0
版本
0b543d5
Hash
c607eba1
收录时间
2026-08-16 15:42

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 06:32
浙ICP备14020137号-1 $访客地图$