← 返回 Skills 市场
40
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dinghaibin-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...
使用说明 (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
安全使用建议
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.
功能分析
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`.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dinghaibin-url-shortener - 安装完成后,直接呼叫该 Skill 的名称或使用
/dinghaibin-url-shortener触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。
如何安装 Url Shortener?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dinghaibin-url-shortener」即可一键安装,无需额外配置。
Url Shortener 是免费的吗?
是的,Url Shortener 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Url Shortener 支持哪些平台?
Url Shortener 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Url Shortener?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills