Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/axfinn/devtools --skill shorturl명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | shorturl |
| description | 短链生成 — 创建/管理短链接、自定义ID、点击统计。触发:短链、短网址、缩短链接、生成短链 |
| triggers | ["短链","短网址","缩短链接","生成短链","shorturl"] |
通过 DevTools 后端 API 创建短链接。后端默认运行在 https://t.jaxiu.cn。
curl -s -X POST https://t.jaxiu.cn/api/shorturl \
-H "Content-Type: application/json" \
-d '{
"original_url": "https://example.com/very/long/url/that/needs/shortening",
"expires_in": 30,
"max_clicks": 1000
}'
# 返回: {"id":"abc12345","short_url":"https://t.jaxiu.cn/s/abc12345"}
限流: 10次/IP/小时
curl -s -X POST https://t.jaxiu.cn/api/shorturl \
-H "Content-Type: application/json" \
-d '{
"original_url": "https://example.com",
"custom_id": "my-link",
"password": "your_shorturl_password"
}'
# 返回: {"id":"my-link","short_url":"https://t.jaxiu.cn/s/my-link"}
参数说明:
original_url: 必填,原始链接expires_in: 可选,过期天数(默认30天)max_clicks: 可选,最大点击次数(默认1000)custom_id: 需要密码,自定义短链IDpassword: 配置文件中的 shorturl.passwordcurl -s https://t.jaxiu.cn/api/shorturl/list
curl -s https://t.jaxiu.cn/api/shorturl/{id}/stats
# 返回: {"id":"xxx","original_url":"...","clicks":42,...}
# 更新(需密码)
curl -s -X PUT https://t.jaxiu.cn/api/shorturl/{id} \
-H "Content-Type: application/json" \
-d '{"password":"xxx","original_url":"https://new-url.com","expires_in":60}'
# 删除(需密码)
curl -s -X DELETE "https://t.jaxiu.cn/api/shorturl/{id}?password=xxx"
浏览器访问: https://t.jaxiu.cn/s/{id} 自动 302 跳转到原始链接。
当用户说"把这个链接缩短"时,调用创建短链 API。
短链格式: https://t.jaxiu.cn/s/{id}
Base URL: https://t.jaxiu.cn