← Back to Skills Marketplace
dinghaibin

Urlencode Tool

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
46
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install urlencode-tool
Description
URL-encode or decode text for safe transmission in URLs and query strings, with support for form data, partial encoding, and batch file processing.
README (SKILL.md)

URL Encode/Decode Tool — Percent-Encoding Utility

Encode and decode URL components per RFC 3986. Handles query strings, path segments, form bodies (application/x-www-form-urlencoded), and partial encoding where only unsafe characters are escaped.

Quick Start

# Encode a string for URL use
urlencode-tool --encode "hello world & more"

# Decode a percent-encoded string
urlencode-tool --decode "hello%20world%20%26%20more"

# Encode a full query string
urlencode-tool --encode "name=Alice & age=30" --query

Usage

urlencode-tool [COMMAND] [TEXT] [OPTIONS]

Commands:
  --encode TEXT   Percent-encode the input string
  --decode TEXT   Decode percent-encoded input

Options:
  --query         Encode as form query (spaces → +)
  --path-safe     Only encode unsafe chars for path segment
  --component     Encode entire URI component (default, full RFC 3986)
  --charset UTF-8 Character encoding (default: UTF-8)
  --batch FILE    Encode/decode lines from a file
  --json          Output as JSON

Examples

# Basic encoding
urlencode-tool --encode "user input with spaces & symbols"

# Decode back
urlencode-tool --decode "user%20input%20with%20spaces%20%26%20symbols"

# Form-encoded query string (spaces as +)
urlencode-tool --encode "name=Alice Smith&city=New York" --query

# Path-segment safe (preserves /)
urlencode-tool --encode "dir/sub dir/file name.txt" --path-safe

# Batch process a file of URLs
urlencode-tool --encode --batch urls.txt --json

Features

  • Encode & decode full RFC 3986 percent-encoding
  • 3 encoding modes: component, query (form), path-safe
  • UTF-8 encoding standard (configurable charset)
  • Batch processing from file input
  • JSON output for script pipelines
  • Round-trip safety: decode(encode(x)) === x for valid Unicode
  • Unicode safe: handles CJK, emoji, and multi-byte characters
Usage Guidance
This skill looks safe for simple local URL encoding and decoding. Before relying on it, check which options are actually supported, because the documentation describes features that are not present in the bundled Python script.
Capability Analysis
Type: OpenClaw Skill Name: urlencode-tool Version: 1.0.0 The skill provides standard URL encoding and decoding functionality using Python's built-in `urllib.parse` library. The implementation in `scripts/urlcode.py` is safe and lacks any high-risk behaviors such as network access, file system manipulation, or shell execution. While there is a discrepancy between the documentation in `SKILL.md` and the actual code (the docs claim features like `--batch` and `--json` which are not implemented), this appears to be an incomplete implementation rather than a malicious attempt to deceive the agent or user.
Capability Assessment
Purpose & Capability
The purpose is coherent and low-risk, but SKILL.md advertises options such as batch processing, JSON output, charset selection, query mode, and path-safe mode that are not implemented in the included script.
Instruction Scope
Instructions are limited to user-invoked URL encoding/decoding examples and do not attempt to override user intent, force tool use, or hide behavior.
Install Mechanism
There is no install spec even though the documentation uses a `urlencode-tool` command; users may need to verify how the bundled script is exposed before relying on the examples.
Credentials
No environment variables, credentials, required binaries, network calls, or broad local access are declared or shown in the code.
Persistence & Privilege
The artifacts show no persistence, background execution, privilege escalation, account access, or stored state.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install urlencode-tool
  3. After installation, invoke the skill by name or use /urlencode-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug urlencode-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Urlencode Tool?

URL-encode or decode text for safe transmission in URLs and query strings, with support for form data, partial encoding, and batch file processing. It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install Urlencode Tool?

Run "/install urlencode-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Urlencode Tool free?

Yes, Urlencode Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Urlencode Tool support?

Urlencode Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Urlencode Tool?

It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.

💬 Comments