URL Toolkit for Openclaw

A comprehensive developer utility for encoding, decoding, parsing, and building URLs and query strings via a streamlined CLI.

freeter226
v1.0.0
Mar 24, 2026
0
823
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install url-toolkit

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 url-toolkit 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 URL Toolkit?

The URL Toolkit is a robust utility designed to simplify the complex task of URL manipulation for modern developers. As a core part of the Openclaw Skills ecosystem, it provides a unified interface for handling percent encoding, component extraction, and query string management. This tool ensures that developers can handle web addresses with precision, avoiding common pitfalls related to character escaping and malformed query structures.

Whether you are building complex API requests or parsing messy data from web crawlers, this skill offers the reliability of a Python-backed logic engine. It transforms raw URL strings into structured JSON data and vice-versa, making it an essential component for any automated workflow involving Openclaw Skills.

URL Toolkit Use Cases

  • API Development: Quickly encode or decode parameters to ensure valid HTTP requests.
  • Web Scraping: Extract hosts, paths, and specific query components from lists of harvested URLs.
  • Debugging: Convert opaque, encoded query strings into readable JSON format for easier inspection.
  • URL Construction: Programmatically build complex query strings from JSON objects to avoid manual string concatenation errors.
  • Data Normalization: Clean and standardize URL formats across large datasets during data processing tasks.

How URL Toolkit Works

  1. Input Reception: The tool accepts a string or JSON object via the --input flag along with a specific action command.
  2. Action Execution: The internal Python engine processes the input based on the chosen method (encode, decode, parse, or build).
  3. Component Analysis: For parsing actions, the toolkit breaks the URL into its RFC-compliant parts including scheme, netloc, path, and fragments.
  4. Transformation: The system applies percent-encoding or decoding logic, with an optional --full flag for aggressive character handling.
  5. Structured Output: The results are returned as a success-wrapped JSON object, ensuring compatibility with other Openclaw Skills and automated pipelines.

URL Toolkit Setup

To integrate this into your environment, ensure you have Python 3 installed. You can run the toolkit directly from your local Openclaw Skills directory:

# Navigate to your skills directory
cd skills/url-toolkit

# Basic usage syntax
python3 scripts/url_toolkit.py <action> --input "your-string-here"

URL Toolkit Data Schema & Taxonomy

The URL Toolkit prioritizes structured data exchange. All outputs follow a consistent JSON schema to facilitate easy integration with other tools.

Field Description
success Boolean indicating if the operation was successful.
result The transformed data (String for encode/decode/build, Object for parse).
scheme (Parse only) The protocol used (e.g., https).
host (Parse only) The domain name or IP address.
query (Parse only) The raw query string or key-value pairs.

URL Toolkit Advanced Features

  • Full Encoding Mode: Toggle between safe encoding and full character escaping using the --full boolean flag.
  • JSON-to-Query Mapping: Directly convert structured JSON objects into URL-compliant query strings.
  • Component-Level Parsing: Deep inspection of URLs including port numbers, fragments, and user authentication data.
  • Native Openclaw Integration: Designed to be called as a sub-process within larger Openclaw Skills automation frameworks.
  • Error Resilient: Includes success/fail wrappers in the output to prevent pipeline breaks during bulk processing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*