Install
openclaw skills install url-toolkitURL encoding, decoding, parameter parsing, and URL manipulation toolkit for developers.
openclaw skills install url-toolkitA comprehensive URL manipulation tool for developers.
python3 skills/url-toolkit/scripts/url_toolkit.py <action> [options]
| Action | Description |
|---|---|
encode | URL encode a string |
decode | URL decode a string |
parse | Parse URL into components |
query-parse | Parse query string to JSON |
query-build | Build query string from JSON |
| Option | Type | Default | Description |
|---|---|---|---|
--input | string | - | Input string or URL |
--full | bool | false | Full encoding (all chars) vs safe encoding |
# URL encode
python3 skills/url-toolkit/scripts/url_toolkit.py encode --input "hello world"
# Output: {"success": true, "result": "hello%20world"}
# URL decode
python3 skills/url-toolkit/scripts/url_toolkit.py decode --input "hello%20world"
# Output: {"success": true, "result": "hello world"}
# Parse URL
python3 skills/url-toolkit/scripts/url_toolkit.py parse --input "https://example.com:8080/path?q=test&id=123#section"
# Output: {"success": true, "result": {"scheme": "https", "host": "example.com", ...}}
# Parse query string
python3 skills/url-toolkit/scripts/url_toolkit.py query-parse --input "q=test&id=123&name=hello+world"
# Output: {"success": true, "result": {"q": "test", "id": "123", "name": "hello world"}}
# Build query string
python3 skills/url-toolkit/scripts/url_toolkit.py query-build --input '{"q":"test","id":123,"name":"hello world"}'
# Output: {"success": true, "result": "q=test&id=123&name=hello%20world"}
Ready for testing.