360 Secure SkillHub
360 安全技能中心

Shorten

该 Skill 提供一个 shell 脚本,接收命令行传入的 URL,通过 curl 调用 is.gd 公开接口(format=simple,无需 API key 或账号)返回永久短链接,仅支持基础缩短,不含自定义别名与分析统计。

kesslerio
kesslerio
热度 92.12
最近更新 2026-05-01 12:51:41
分类:效率依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add shorten
Metadata
name
shorten
description
Shorten URLs using is.gd (no auth required). Returns a permanent short link.

Shorten

Quickly shorten URLs using the is.gd service. No API key or account required.

Usage

/home/art/clawd/skills/shorten/shorten.sh "https://example.com/very/long/url"

Examples

Standard usage:

shorten "https://google.com"
# Output: https://is.gd/O5d2Xq

With custom alias (if supported by script extension later): Currently basic shortening only.

Notes

  • Links are permanent.
  • No analytics dashboard (simple redirect).
  • Rate limits apply (be reasonable).