zurl
Installation
SKILL.md
Zurl Short Link Management
Manage short URLs via the Zurl service API.
Execution Rule
Run the user's requested command directly without pre-checking dependencies, environment variables, or configuration. If something is wrong, the script will fail with a clear error — check and fix only then.
Important Rules
- API URL from env var only —
ZURL_APIURLmust be set; never hardcode the API address. - Auto-generate short code — When the user asks to shorten a URL without specifying a code, the script auto-generates a 4-character random code (letters + digits).
- No title on creation — Pass empty string
""for title on new short links so Zurl auto-fetches the page title. Do NOT fill in a title yourself. - Display all domains — After creating/updating a short link, always show all configured display domains (from
ZURL_DISPLAY_URLS; the script'sshort_linksfield contains the full URLs). - QR code domain — If generating a QR code, use the first domain from
ZURL_DISPLAY_URLSas the QR content (unless the user specifies one).