Shorten URLs via tinyurl or bitly API
Shorten URLs via tinyurl or bitly API
Shorten URLs via tinyurl or bitly API. Requires BITLYTOKEN env var for bitly; falls back to tinyurl if not set.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: url-shorten
description: "Shorten URLs via tinyurl or bitly API"
metadata:
{
"openclaw":
{
"emoji": "🔗",
"requires": { "bins": ["curl"] },
"install": [],
},
}
---
# URL Shorten
Shorten URLs via tinyurl or bitly API. Requires `BITLY_TOKEN` env var for bitly; falls back to tinyurl if not set.
## Commands
```bash
# Shorten a URL (uses tinyurl by default, bitly if BITLY_TOKEN is set)
url-shorten "https://example.com/very/long/path/to/resource"
```
## Install
No installation needed. `curl` is always present on the system. Optionally set `BITLY_TOKEN` environment variable to use the bitly API instead of tinyurl.
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。