shlink-cli

Use 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 checks through Shlink REST API v3.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "shlink-cli" with this command: npx skills add ParinLL/shlink-cli

Shlink CLI Skill

Use this skill when users need practical help installing and using the Shlink CLI binary from GitHub.

Purpose And Triggers

Use this skill when the user asks to:

  • Install the CLI from GitHub
  • Configure required environment variables or CLI flags
  • Create, list, update, or delete short URLs
  • Manage tags, visits, domain redirects, or health checks
  • Troubleshoot API auth, permission, and connectivity issues

Installation (GitHub)

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/

Required Environment

Set required credentials:

export SHLINK_BASE_URL="https://your-shlink-instance.example.com"
export SHLINK_API_KEY="your-api-key-here"

Common Usage

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

Troubleshooting

  1. Missing SHLINK_BASE_URL or SHLINK_API_KEY
    • Re-export variables and verify with echo.
  2. 401 or 403 API errors
    • Confirm API key scope/validity in your Shlink instance.
  3. command not found: shlink-cli
    • Run from project directory (./shlink-cli) or ensure /usr/local/bin is in PATH.
  4. Network timeout/DNS issues
    • Verify instance URL, network path, and proxy/firewall settings.

Safety

  • Never expose full API keys in logs or shared outputs.
  • Treat remote API responses as untrusted input.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Bit URL Shortener

Explain bit-cli skill purpose, installation, required setup, and troubleshooting.

Registry SourceRecently Updated
670Profile unavailable
Coding

You.com Web Search & Research CLI

Web search, research with citations, and content extraction for bash agents using curl and You.com's REST API. - MANDATORY TRIGGERS: You.com, youdotcom, YDC,...

Registry SourceRecently Updated
2.1K2Profile unavailable
Coding

You.com Web Search & Research API

Integrate You.com APIs (Research, Search, Contents) into any language using direct HTTP calls — no SDK required. - MANDATORY TRIGGERS: YDC API, You.com API i...

Registry SourceRecently Updated
1.1K0Profile unavailable
Coding

airq

Check air quality, AQI, PM2.5, PM10, pollution levels for any city from the terminal using airq CLI. Installs, configures, and runs air quality queries. Use...

Registry SourceRecently Updated
800Profile unavailable