返回顶部
c

captchas-openclawOpenClaw集成指南

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
2,082
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

captchas-openclaw

CAPTCHAS + OpenClaw

在通过OpenResponses工具或OpenClaw插件工具将CAPTCHAS与OpenClaw集成时,使用此技能。

配置

设置环境变量:

  • - CAPTCHASENDPOINT = https://agent.captchas.co
  • CAPTCHASAPI_KEY =

请求头:

  • - x-api-key:必需(使用CAPTCHASAPIKEY)。
  • x-domain:可选;若提供则进行验证。

注意:

  • - site_key为可选;若省略,则从API密钥或账户默认值中解析。
  • 避免在signals中发送个人身份信息(PII)。

OpenResponses工具架构(OpenClaw网关)

在调用网关/v1/responses端点时,使用OpenClaw的tools数组格式。

json
{
tools: [
{
type: function,
function: {
name: captchasagentverify,
description: 运行CAPTCHAS代理验证并返回决策(允许|拒绝|挑战)。,
parameters: {
type: object,
properties: {
site_key: {type: string},
action: {type: string},
signals: {type: object, additionalProperties: true},
capabilities: {
oneOf: [
{type: object, additionalProperties: true},
{type: array, items: {type: string}}
]
},
verificationmode: {type: string, enum: [backendlinked, agent_only]},
challengesource: {type: string, enum: [bank, aigenerated]},
input_type: {type: string, enum: [choice, image, behavioral]},
media_url: {type: string},
media_type: {type: string}
},
required: [],
additionalProperties: false
}
}
},
{
type: function,
function: {
name: captchasagentchallenge_complete,
description: 完成挑战并在通过时生成验证令牌。,
parameters: {
type: object,
properties: {
challenge_id: {type: string},
site_key: {type: string},
answer: {type: string}
},
required: [challenge_id, answer],
additionalProperties: false
}
}
},
{
type: function,
function: {
name: captchasagenttoken_verify,
description: 在执行敏感操作前验证不透明的CAPTCHAS令牌。,
parameters: {
type: object,
properties: {
token: {type: string},
site_key: {type: string},
domain: {type: string}
},
required: [token],
additionalProperties: false
}
}
}
]
}

OpenClaw插件工具注册

使用api.registerTool(...)注册工具,参数使用与上述相同的JSON Schema。

示例:

js
api.registerTool({
name: captchasagentverify,
description: 运行CAPTCHAS代理验证并返回决策(允许|拒绝|挑战)。,
parameters: {
type: object,
properties: {
site_key: { type: string },
action: { type: string },
signals: { type: object, additionalProperties: true }
},
required: [],
additionalProperties: false
},
async execute(_id, params) {
return { content: [{ type: text, text: JSON.stringify(params) }] };
}
});

参考

  • - 使用/v1/agent/verify、/v1/agent/challenge/:id/complete和/v1/agent/token-verify作为标准API调用。
  • 工作流程指导请参见captchas-human-verification/SKILL.md。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 captchas-openclaw-1776350771 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 captchas-openclaw-1776350771 技能

通过命令行安装

skillhub install captchas-openclaw-1776350771

下载

⬇ 下载 captchas-openclaw v1.0.1(免费)

文件大小: 1.93 KB | 发布时间: 2026-4-17 16:02

v1.0.1 最新 2026-4-17 16:02
- Reference to a user-specific file path was replaced with a generic `captchas-human-verification/SKILL.md` workflow reference.
- No other content changes were made in this version.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部