Install
openclaw skills install shlink-cliUse this skill when the user wants to install, configure, or troubleshoot the Shlink CLI from GitHub and manage short URLs, tags, visits, domains, and health...
openclaw skills install shlink-cliUse this skill when users need practical help installing and using the Shlink CLI binary from GitHub.
Use this skill when the user asks to:
Repository:
Install from source:
git clone https://github.com/ParinLL/shlink-cli.git
cd shlink-cli
go mod tidy
go build -o shlink-cli .
Optional global install:
sudo install shlink-cli /usr/local/bin/
Set required credentials:
export SHLINK_BASE_URL="https://your-shlink-instance.example.com"
export SHLINK_API_KEY="your-api-key-here"
List short URLs:
shlink-cli short-url list --page 1 --per-page 20
Create a short URL:
shlink-cli short-url create https://example.com --slug example --tags demo,docs
Inspect service health:
shlink-cli health --json
Use debug mode for troubleshooting:
shlink-cli --debug short-url list
SHLINK_BASE_URL or SHLINK_API_KEY
echo.401 or 403 API errors
command not found: shlink-cli
./shlink-cli) or ensure /usr/local/bin is in PATH.