Task Router Skill
Task Router
URL shortener, QR code generator, and link analytics API. Create short links, generate QR codes, and track click analytics.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install anandrathnas/jo4打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Jo4 is a modern URL shortening service with QR code generation and detailed link analytics.
All protected endpoints require an API key. Set your API key as an environment variable:
export JO4_API_KEY="your-api-key"
Get your API key from: https://jo4.io/api-keys
https://jo4-api.jo4.io/api/v1
curl -X POST "https://jo4-api.jo4.io/api/v1/protected/url" \
-H "X-API-Key: $JO4_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"longUrl": "https://example.com/very-long-url",
"title": "My Link"
}'
Request Body:
longUrl (required) - The destination URL (max 2048 chars)title (optional) - Link title (max 200 chars)description (optional) - Link description (max 500 chars)shortUrl (optional) - Custom alias (max 16 chars, alphanumeric/hyphen/underscore)expirationTime (optional) - Unix timestamp for link expirationpasswordProtected (optional) - Boolean to enable password protectionpassword (optional) - Password if protected (4-128 chars)UTM Parameters:
utmSource, utmMedium, utmCampaign, utmTerm, utmContent
Response:
{
"response": {
"id": 123,
"slug": "abc123",
"shortUrl": "abc123",
"fullShortUrl": "https://jo4.io/a/abc123",
"longUrl": "https://example.com/very-long-url",
"title": "My Link",
"qrCodeUrl": "https://jo4.io/qr/abc123"
}
}
curl -X POST "https://jo4-api.jo4.io/api/v1/public/url" \
-H "Content-Type: application/json" \
-d '{"longUrl": "https://example.com"}'
Limited features, no analytics access.
curl -X GET "https://jo4-api.jo4.io/api/v1/protected/url/{slug}" \
-H "X-API-Key: $JO4_API_KEY"
curl -X GET "https://jo4-api.jo4.io/api/v1/protected/url/{slug}/...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
🔗 jo4.io - Modern URL shortening with QR codes and detailed analytics.
# Shorten a URL
curl -X POST "https://jo4-api.jo4.io/api/v1/protected/url" \
-H "X-API-Key: $JO4_API_KEY" \
-H "Content-Type: application/json" \
-d '{"longUrl": "https://example.com", "title": "My Link"}'
# Get analytics
curl "https://jo4-api.jo4.io/api/v1/protected/url/{slug}/stats" \
-H "X-API-Key: $JO4_API_KEY"
# Jo4 - URL Shortener & Analytics API
Jo4 is a modern URL shortening service with QR code generation and detailed link analytics.
## Authentication
All protected endpoints require an API key. Set your API key as an environment variable:
```bash
export JO4_API_KEY="your-api-key"
```
Get your API key from: https://jo4.io/api-keys
## API Base URL
```
https://jo4-api.jo4.io/api/v1
```
## Endpoints
### Create Short URL (Authenticated)
```bash
curl -X POST "https://jo4-api.jo4.io/api/v1/protected/url" \
-H "X-API-Key: $JO4_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"longUrl": "https://example.com/very-long-url",
"title": "My Link"
}'
```
**Request Body:**
- `longUrl` (required) - The destination URL (max 2048 chars)
- `title` (optional) - Link title (max 200 chars)
- `description` (optional) - Link description (max 500 chars)
- `shortUrl` (optional) - Custom alias (max 16 chars, alphanumeric/hyphen/underscore)
- `expirationTime` (optional) - Unix timestamp for link expiration
- `passwordProtected` (optional) - Boolean to enable password protection
- `password` (optional) - Password if protected (4-128 chars)
**UTM Parameters:**
- `utmSource`, `utmMedium`, `utmCampaign`, `utmTerm`, `utmContent`
**Response:**
```json
{
"response": {
"id": 123,
"slug": "abc123",
"shortUrl": "abc123",
"fullShortUrl": "https://jo4.io/a/abc123",
"longUrl": "https://example.com/very-long-url",
"title": "My Link",
"qrCodeUrl": "https://jo4.io/qr/abc123"
}
}
```
### Create Anonymous Short URL (No Auth Required)
```bash
curl -X POST "https://jo4-api.jo4.io/api/v1/public/url" \
-H "Content-Type: application/json" \
-d '{"longUrl": "https://example.com"}'
```
Limited features, no analytics access.
### Get URL Details
```bash
curl -X GET "https://jo4-api.jo4.io/api/v1/protected/url/{slug}" \
-H "X-API-Key: $JO4_API_KEY"
```
### Get URL Analytics
```bash
curl -X GET "https://jo4-api.jo4.io/api/v1/protected/url/{slug}/...# Jo4 - URL Shortener & Analytics
🔗 **[jo4.io](https://jo4.io)** - Modern URL shortening with QR codes and detailed analytics.
## Features
- **Short URLs** - Custom aliases, branded links
- **QR Codes** - Auto-generated for every link
- **Analytics** - Clicks, geography, devices, referrers
- **UTM Tracking** - Built-in campaign parameters
- **Password Protection** - Secure sensitive links
- **Expiring Links** - Time-limited access
## Quick Examples
```bash
# Shorten a URL
curl -X POST "https://jo4-api.jo4.io/api/v1/protected/url" \
-H "X-API-Key: $JO4_API_KEY" \
-H "Content-Type: application/json" \
-d '{"longUrl": "https://example.com", "title": "My Link"}'
# Get analytics
curl "https://jo4-api.jo4.io/api/v1/protected/url/{slug}/stats" \
-H "X-API-Key: $JO4_API_KEY"
```
## Links
- **Website**: https://jo4.io
- **API Docs**: https://jo4-api.jo4.io/swagger-ui/index.html
- **Get API Key**: https://jo4.io/api-keysTask Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.