Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Added an "emoji: 🧠" field under the "clawdbot" metadata section in SKILL.md. - No other changes to functionality or usage.
What This Skill Does
Converts any URL into a Linkfuse affiliate short link using the Linkfuse REST API. If the same URL was shortened before, it returns the existing link instead of creating a duplicate.
Runs the same API used by the official Chrome and Firefox extensions, so you get affiliate link creation directly in your workflow without switching to a browser.
When to use it
- Shorten an Amazon affiliate URL before sharing
- Convert a product link into a trackable affiliate link
- Quickly generate a short link from a long referral URL
- Retrieve an existing Linkfuse short link for a URL you've used before
- Create affiliate links without opening the browser extension
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: /linkfuse https://www.amazon.com/dp/B08N5WRWNW
- 1Read LINKFUSE_TOKEN from environment, halt and prompt user if missing
- 2Run node scripts/create-link.js --url with the provided URL
- 3Parse JSON response to extract short URL and title
- 4Display the short link and title to the user
- 5Offer to copy the short URL to the clipboard
✓ Link created: https://lnkf.se/abc123 Title: Amazon Echo Dot (4th Gen)
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.