Office Tools v1.0.2

data-validate

Validate URLs and JSON schemas against format rules.

cutthemustard 更新于 2026-03-04 1 浏览
下载 SKILL

技能说明

Validate URLs and JSON schemas against format rules.

使用场景

Validate data formats: URL parsing, JSON Schema (draft-07) validation, email syntax (RFC 5322), and phone format (E.164).

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/data-validate
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: data-validate
description: Validate URLs and JSON schemas against format rules.
version: 1.0.2
metadata:
  openclaw:
    emoji: "✅"
    homepage: https://validate.agentutil.net
    always: false
---

# data-validate

Validate data formats: URL parsing, JSON Schema (draft-07) validation, email syntax (RFC 5322), and phone format (E.164).

## Important: User Consent Required

Before validating any user-provided data, **always confirm with the user** that they consent to sending the data to an external validation service. Do not autonomously validate data that may contain personally identifiable information (PII) without explicit user approval.

## Endpoints

### URL Validation

```bash
curl -X POST https://validate.agentutil.net/v1/url \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/path"}'
```

### JSON Schema Validation

```bash
curl -X POST https://validate.agentutil.net/v1/json-schema \
  -H "Content-Type: application/json" \
  -d '{"data": {"name": "test"}, "schema": {"type": "object", "required": ["name"]}}'
```

### Email Syntax Check

Validates RFC 5322 structure only — no SMTP connection, no inbox verification.

```bash
curl -X POST https://validate.agentutil.net/v1/email \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com"}'
```

### Phone Format Check

Validates E.164 format structure only.

```bash
curl -X POST https://validate.agentutil.net/v1/phone \
  -H "Content-Type: application/json" \
  -d '{"phone": "+1-555-0100"}'
```

## Response Format

```json
{
  "valid": true,
  "url": "https://example.com/path",
  "protocol": "https:",
  "hostname": "example.com",
  "errors": [],
  "request_id": "abc-123",
  "service": "https://validate.agentutil.net"
}
```

## Pricing

- Free tier: 10 queries/day, no authentication required
- Paid tier: $0.001/query via x402 protocol (USDC on Base)

## Privacy

All validation is **syntax/format checking only**. No data is stored or logged beyond the immediate response. No SMTP probing, no payment network contact, no third-party forwarding. Rate limiting uses IP hashing only.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。