Data Format Encoder for Openclaw

An essential data transformation tool that allows AI agents to encode, decode, escape, and convert text between Base64, URL percent-encoding, HTML entities, JSON, Hexadecimal, Binary, ROT13, and Unicode formats.

agentpmt
v1.0.0
Jun 11, 2026
0
505
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install data-format-encoder

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-encoder 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 Encoder?

The Data Format Encoder is a versatile text conversion utility designed to assist developers and autonomous agents in converting strings between various encoding formats commonly used in modern web development, API communication, and low-level data processing. By leveraging this tool inside Openclaw Skills, your AI agents can seamlessly perform bidirectional base64 encoding and decoding, safe URL percent-encoding, HTML entity escaping to prevent cross-site scripting (XSS) vulnerabilities, and JSON character escaping for nested string handling.

In addition to standard web standards, this skill supports low-level formats such as hexadecimal byte representation, binary conversion, Unicode escape sequences, and ROT13 text obfuscation. Utilizing Openclaw Skills for data format conversion ensures that your workflow automated agents can process raw network payloads, construct clean API requests, and safely parse external data structures without needing locally executed scripts.

Data Format Encoder Use Cases

  • Convert binary files or image buffers to base64 strings for direct API transmissions or inline data URL creation.
  • Escape unsafe characters in URLs using percent-encoding before appending query strings or parameters to external requests.
  • Protect web pages and sanitize user-generated inputs by converting active HTML scripts into safe HTML entities.
  • Format raw text for embedding inside JSON structures by escaping tabs, double quotes, and line breaks.
  • Inspect raw bytes or translate text into space-separated binary and hexadecimal strings for debugging or cryptographic use.

How Data Format Encoder Works

  1. Trigger Action: The AI agent selects the appropriate encoder action (such as encode-base64-encode or encode-url-encode) based on the target system requirements.
  2. Provide Input Payload: The agent supplies the target string inside the text parameter in a structured JSON payload.
  3. Validation & Conversion: The Openclaw Skills runner validates the parameters and uses UTF-8 encoding to execute the transformation rules requested (e.g., converting 'Hello' to '48656c6c6f' via hex translation).
  4. Receive Structured Output: The tool returns the transformed string value alongside size metadata, allowing the agent to safely use the encoded text in subsequent downstream tasks.

Data Format Encoder Setup

To enable this skill, you first need to connect your main AgentPMT account via the core setup skills. You can install the required dependencies using the following commands:

npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup

Once setup is complete, you can invoke the Data Format Encoder via the Openclaw Skills framework by specifying the product slug data-format-encoder and the corresponding action.

Data Format Encoder Data Schema & Taxonomy

The Data Format Encoder defines a consistent data structure across 15 actions. Every request requires a text parameter, and actions return structured JSON objects containing the transformed string.

Core Actions & Parameters

Action Slug Description Required Parameter Example Input Example Output
encode-base64-encode Encode plain text to Base64 text (string) "Hello world!" "SGVsbG8gd29ybGQh"
encode-base64-decode Decode Base64 string to plain text text (string) "SGVsbG8gd29ybGQh" "Hello world!"
encode-url-encode Percent-encode text for URLs text (string) "hello world & goodbye" "hello%20world%20%26%20goodbye"
encode-url-decode Decode percent-encoded text text (string) "hello%20world%20%26%20goodbye" "hello world & goodbye"
encode-html-entity-encode Escape special characters to HTML text (string) "<div class=\"main\">Hello</div>" "&lt;div class=&quot;main&quot;&gt;Hello&lt;/div&gt;"
encode-escape-json Escape special characters for JSON text (string) "Line 1\nLine 2" "Line 1\\nLine 2"
encode-text-to-hex Convert text to hex representation text (string) "Hello" "48656c6c6f"
encode-hex-to-text Convert hex to plain text text (string) "48 65 6c 6c 6f" "Hello"
encode-rot13-encode Apply ROT13 substitution text (string) "Hello World" "Uryyb Jbeyq"

Data Format Encoder Advanced Features

  • Flexible Hex Cleaning: Hex decoding actions automatically strip spacing characters like colons, hyphens, and spaces, permitting standard raw formats like 48:65:6c:6c:6f directly.
  • UTF-8 Standards Compliance: All transformations natively support UTF-8 encoding patterns, ensuring that complex multi-byte characters do not break under URL, base64, or JSON transformations.
  • Inverse ROT13 Execution: Simple obfuscation handling is streamlined; applying encode-rot13-encode twice automatically acts as the decoder without requiring a separate decryption action.
  • Integrated Discovery Schema: Easily query live formatting instructions using get_schema and get_instructions via the main AgentPMT MCP server to sync action changes in real time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*