← 返回
效率工具 Key

Linkfuse

Create a Linkfuse affiliate short link from any URL. Trigger this skill when the user wants to create a Linkfuse link, shorten an affiliate URL, or says "/li...
从任意URL创建Linkfuse联盟短链接。当用户要创建Linkfuse链接、缩短联盟URL或说“/li...”时触发此技能。
oliverw
效率工具 clawhub v1.0.4 1 版本 99917.5 Key: 需要
★ 0
Stars
📥 1,211
下载
💾 10
安装
1
版本
#latest

概述

Linkfuse Skill

Creates an affiliate short link via the Linkfuse REST API — same API used by the Chrome and Firefox extensions.

Trigger Conditions

Use this skill when the user:

  • Says /linkfuse [url]
  • Asks to "create a Linkfuse link" for a URL
  • Wants to shorten an affiliate/Amazon URL via Linkfuse

Authentication

This skill reads the Bearer token exclusively from the LINKFUSE_TOKEN environment variable. If it is not set, tell the user:

> LINKFUSE_TOKEN is not set. Get your token from https://app.linkfuse.net/user/external-token and add it to your environment:

> ```

> export LINKFUSE_TOKEN=your_token_here

> ```

> Then retry.

Do not proceed without a token.

Workflow

Step 1 — Get the URL

If the user did not provide a URL, ask for one before proceeding.

Step 2 — Create the link

node scripts/create-link.js --url "<url>"
  • Exit 0: stdout contains JSON { "url": "...", "title": "..." } — proceed to Step 3.
  • Exit 2 (Unauthorized): Tell the user their LINKFUSE_TOKEN is invalid or expired and they should update it.
  • Exit 1: Display the stderr error message to the user.

Step 3 — Display result

Show the user:

✓ Link created: <short-url>
  Title: <title>

Offer to copy the short URL to the clipboard:

echo -n "<short-url>" | xclip -selection clipboard 2>/dev/null || echo -n "<short-url>" | pbcopy 2>/dev/null || true

Notes

  • allowRecycle: true is sent with every request — if the same URL was shortened before, the existing link is returned rather than creating a duplicate.
  • The X-API-CLIENT: claude-skill header identifies this client to the server.

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-03-29 06:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 447 📥 226,568
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 433 📥 103,909
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 148,463