Data Format Validation for Openclaw

A multi-domain data format validation tool for AI agents that ensures clean input processing for JSON, network configurations, financial identifiers, and general strings.

agentpmt
v1.0.0
Jun 11, 2026
0
499
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install data-format-validation

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install data-format-validation using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Data Format Validation?

The Data Format Validation skill is an advanced utility designed to handle complex verification tasks across multiple domains. From checking JSON syntax to validating RFC-compliant emails, UUIDs, and network configurations (IPv4/v6/MAC), this skill ensures AI agents parse and ingest pristine data. Integrating this capability into workflows using Openclaw Skills helps developers ensure high-quality database ingestion, prevent execution errors from malformed input patterns, and improve transaction processing integrity.

From validating nested JSON syntax to running Luhn checksums on credit cards or calculating mod-97 checksums for IBANs, this utility abstracts complex validation logic. It returns structured payloads with detailed error locations, parsed sub-components, and loopback/private flags, making it a critical asset for modern agentic applications built on Openclaw Skills.

Data Format Validation Use Cases

  • Ingestion pipeline security checking to prevent JSON syntax issues and processing errors.
  • Automated contact form screening via RFC-compliant email, phone, and URL validation.
  • Network infrastructure audit verification using IP and MAC address checks.
  • E-commerce cart processing using Luhn checksum pre-checks for credit card validation.
  • Book catalog and inventory management through robust ISBN check-digit parsing.

How Data Format Validation Works

  1. The AI agent sends a text string alongside a desired validator action (e.g., validate-json-syntax or validate-iban).
  2. The utility pre-processes inputs by stripping irrelevant whitespace, formatting marks, and punctuation where needed.
  3. A backend checking engine executes algorithms like the Luhn checksum, mod-97 IBAN calculations, or regex syntax compilation.
  4. The skill returns a JSON response containing an overall validity status alongside specific extracted metadata parameters.

Data Format Validation Setup

To enable this tool, install the foundational AgentPMT connector skills using the command line with Openclaw Skills:

# Install required AgentPMT helper tools
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup

Once configured, you can call the tool via an MCP server or directly through REST endpoints. Here is a sample MCP tool call payload:

{
  "method": "tools/call",
  "params": {
    "name": "Data-Format-Validation",
    "arguments": {
      "action": "validate-email",
      "text": "[email protected]"
    }
  }
}

Data Format Validation Data Schema & Taxonomy

This skill takes a straightforward schema format where every validator action relies on a primary text input. The configuration structure is defined below:

Action Input Parameter Expected Output Metadata
validate-json text (string) Boolean validity, parsed object type
validate-email text (string) Validity status, local_part, domain
validate-uuid text (string) Validity status, UUID version (1-5), variant
validate-base64 text (string) Validity status, decoded byte length
validate-url text (string) Scheme, domain, path parsing, query flags
validate-ipv4 text (string) Octet ranges, private and loopback flags
validate-ipv6 text (string) Loopback status, link-local and compression flags
validate-mac-address text (string) Colon/hyphen formats, octets, canonical form
validate-credit-card text (string) Luhn checksum check, detected card type (Visa/Mastercard/Amex/Discover)
validate-phone text (string) International prefix, clean format, digit count
validate-hex-color text (string) RGB values, hex length variant
validate-isbn text (string) ISBN-10/13 checksum match, cleaned ISBN string
validate-iban text (string) ISO 13616 check digits, country code, BBAN parsing
validate-regex text (string) Compilability check, specific compiler error messages

Every payload response returns a standard structured response containing at minimum:

  • valid (boolean): Overall status indicator.
  • message (string): Helpful diagnostic feedback or parsing error trace if validation failed.

Data Format Validation Advanced Features

  • Smart Pre-Processing: Automatically handles messy inputs by stripping out spaces, hyphens, and formatting brackets for sensitive types (such as credit cards and IBANs) before execution.
  • Granular Diagnostics: Emits character-offset syntax errors for broken JSON files and exact regex compilation failure logs to assist agent debugging.
  • Comprehensive Network & Financial Specs: Embedded validation logic covering complex standards like mod-97 checksums for IBANs, the Luhn algorithm for cards, and link-local classification for IPv6 addresses.
  • Seamless Openclaw Skills Compatibility: Fully designed to integrate into automated workflows managed through Openclaw Skills configuration systems, optimizing developer toolchains.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*