返回顶部
s

spellcheck

USE FOR spell correction. Returns corrected query if misspelled. Most search endpoints have spellcheck built-in; use this only for pre-search query cleanup or "Did you mean?" UI.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
84
下载量
0
收藏
概述
安装方式
版本历史

spellcheck

# Spellcheck Paid Spellcheck proxy via **x402 pay-per-use** (HTTP 402). > **Prerequisites**: This skill requires x402-payment. Complete the [setup steps](https://github.com/springmint/cpbox-skills#prerequisites) before first use. > > **Security**: Documentation only — no executable code or credentials. Wallet/keys stay on your machine; never stored here. ## Service URLs | Role | Domain | |------|--------| | **API Provider** | https://www.cpbox.io | | **Facilitator** | https://www.cppay.finance | ## Endpoint (Agent Interface) ```http GET /api/x402/spellcheck ``` ## Payment Flow (x402 Protocol) 1. **First request** -> `402 Payment Required` with requirements JSON 2. **Sign & retry** with `PAYMENT-SIGNATURE` -> result JSON With `@springmint/x402-payment` or `x402-sdk-go`, payment is **automatic**. ## Quick Start (cURL) ```bash curl -s "https://www.cpbox.io/api/x402/spellcheck" \ -H "Accept: application/json" \ -G \ --data-urlencode "q=artifical inteligence" \ --data-urlencode "lang=en" \ --data-urlencode "country=US" ``` ## Using with x402-payment ```bash npx @springmint/x402-payment \ --url "https://www.cpbox.io/api/x402/spellcheck?q=artifical%20inteligence&lang=en&country=US" \ --method GET ``` ## Parameters | Parameter | Type | Required | Default | Description | |--|--|--|--|--| | `q` | string | **Yes** | — | Query to spell check (1-400 chars, max 50 words) | | `lang` | string | No | `en` | Language preference (2+ char language code, e.g. `en`, `fr`, `de`, `pt-br`, `zh-hans`). 51 codes supported | | `country` | string | No | `US` | Search country (2-letter country code or `ALL`) | ## Response Fields | Field | Type | Description | |--|--|--| | `type` | string | Always `"spellcheck"` | | `query.original` | string | The input query as submitted | | `results` | array | Spell-corrected suggestions. May be empty when no correction is found | | `results[].query` | string | A corrected version of the query | ## Example Response ```json { "type": "spellcheck", "query": { "original": "artifical inteligence" }, "results": [ { "query": "artificial intelligence" } ] } ``` ## Use Cases - **Pre-search query cleanup**: Check spelling before deciding which search endpoint to call - **"Did you mean?" UI**: Show users a corrected suggestion before running the search - **Batch query normalization**: Clean up user inputs in bulk ## Notes - **Built-in alternative**: Web Search and LLM Context have `spellcheck=true` by default — use this standalone endpoint only when you need the correction before searching - **Context-aware**: Corrections consider the full query context, not just individual words

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cpbox-spellcheck-1776124156 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cpbox-spellcheck-1776124156 技能

通过命令行安装

skillhub install cpbox-spellcheck-1776124156

下载 Zip 包

⬇ 下载 spellcheck v1.0.0

文件大小: 2.04 KB | 发布时间: 2026-4-14 13:04

v1.0.0 最新 2026-4-14 13:04
Initial
publish

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

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

p2p_official_large
返回顶部