← Back to Skills Marketplace
40
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install dinghaibin-url-shortener
Description
Create and manage short URLs with custom aliases and tracking. Use when user needs to shorten long URLs, create memorable custom links, track click statistic...
README (SKILL.md)
URL Shortener
Create and manage short URLs with custom aliases and tracking.
Quick Start
# Shorten a URL
python scripts/shorten.py https://example.com/very/long/url
# Custom alias
python scripts/shorten.py https://example.com --alias mylink
Usage
python scripts/shorten.py URL [OPTIONS]
Options:
--alias TEXT Custom short alias
--qr Generate QR code
--qr-file PATH Save QR code to file
--list List saved URLs
--stats ALIAS Show click statistics
Examples
# Basic shortening
python scripts/shorten.py https://github.com/openclaw/openclaw
# Custom alias
python scripts/shorten.py https://example.com --alias mysite
# Generate QR code
python scripts/shorten.py https://example.com --qr
# List saved URLs
python scripts/shorten.py --list
# Show stats
python scripts/shorten.py --stats mysite
Features
- URL shortening
- Custom aliases
- QR code generation
- Local URL storage
- Click tracking (simulated)
- Export/import URLs
Usage Guidance
This skill looks safe to use as a local helper. Be aware that it does not appear to create hosted public short links, it saves URL history in ~/.url_shortener.json, and QR generation may require installing the qrcode package.
Capability Analysis
Type: OpenClaw Skill
Name: dinghaibin-url-shortener
Version: 1.0.0
The skill is a straightforward local URL shortener and QR code generator. It manages a local JSON database in the user's home directory (`~/.url_shortener.json`) and uses the legitimate `qrcode` library for image generation. The code in `scripts/shorten.py` is clean, lacks any dangerous execution sinks (like eval or system calls), and strictly follows the functionality described in `SKILL.md`.
Capability Assessment
Purpose & Capability
The artifacts are coherent for a local URL alias/QR utility; the documentation discloses local URL storage and simulated click tracking, and the code does not show hidden network calls or credential use.
Instruction Scope
The instructions show user-invoked Python commands and options; there are no prompt overrides, hidden autonomous workflows, or forced high-impact actions.
Install Mechanism
There is no install spec, but the documented workflow requires Python and the QR feature may require a manual, unpinned qrcode package install.
Credentials
The script writes a local URL database in the user's home directory and can write QR images to a default or user-supplied path, which is expected for the purpose but should be noticed.
Persistence & Privilege
Submitted URLs persist across runs in ~/.url_shortener.json; no elevated privileges, credentials, background process, or account access are shown.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install dinghaibin-url-shortener - After installation, invoke the skill by name or use
/dinghaibin-url-shortener - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Url Shortener?
Create and manage short URLs with custom aliases and tracking. Use when user needs to shorten long URLs, create memorable custom links, track click statistic... It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.
How do I install Url Shortener?
Run "/install dinghaibin-url-shortener" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Url Shortener free?
Yes, Url Shortener is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Url Shortener support?
Url Shortener is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Url Shortener?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.
More Skills