← 返回 Skills 市场
sonpiaz

Affiliate Skills

作者 sonpiaz · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
253
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install affiliate-skills
功能描述
Live affiliate program data from list.affitor.com. Search programs, compare commissions, check cookie days, find top performers. Use when researching affilia...
使用说明 (SKILL.md)

affiliate-check: Live Affiliate Program Data

Query affiliate program data from list.affitor.com in real-time. Persistent daemon with in-memory cache — first call auto-starts the server, every subsequent call is instant.

SETUP (run this check BEFORE any affiliate-check command)

Before using any command, find the skill and check if the binary exists:

# Check project-level first, then user-level
if test -x .claude/skills/affiliate-skills/tools/dist/affiliate-check; then
  A=.claude/skills/affiliate-skills/tools/dist/affiliate-check
elif test -x ~/.claude/skills/affiliate-skills/tools/dist/affiliate-check; then
  A=~/.claude/skills/affiliate-skills/tools/dist/affiliate-check
else
  echo "NEEDS_SETUP"
fi

Set A to whichever path exists and use it for all commands.

If NEEDS_SETUP:

  1. Tell the user: "affiliate-check needs a one-time build (~10 seconds). OK to proceed?"
  2. If approved, run: cd \x3CSKILL_DIR> && ./setup
  3. If bun is not installed: curl -fsSL https://bun.sh/install | bash

Quick Reference

A=~/.claude/skills/affiliate-skills/tools/dist/affiliate-check

# Search programs
$A search "AI video tools"
$A search --recurring --tags ai

# Top programs
$A top
$A top --sort trending

# Program details
$A info heygen

# Compare programs side-by-side
$A compare heygen synthesia

# Server management
$A status
$A stop

Commands

Search

affiliate-check search \x3Cquery>                    Search by name/keyword
affiliate-check search --recurring                Filter recurring commissions
affiliate-check search --tags ai,video            Filter by tags
affiliate-check search --min-cookie 30            Min cookie days
affiliate-check search --sort new                 Sort: trending | new | top
affiliate-check search --limit 20                 Result limit

Discovery

affiliate-check top                               Top programs by stars
affiliate-check top --sort trending               Trending programs
affiliate-check top --sort new                    Newest programs

Details

affiliate-check info \x3Cname>                       Detailed program card
affiliate-check compare \x3Cname1> \x3Cname2> [name3]   Side-by-side comparison

Server

affiliate-check status                            Uptime, cache, API key status
affiliate-check stop                              Shutdown daemon
affiliate-check help                              Full help

Environment

AFFITOR_API_KEY    Optional. API key from list.affitor.com
                   Without: free tier (max 5 results per query)
                   With: unlimited access
                   Get one: list.affitor.com/settings → API Keys (free)

Architecture

  • Persistent Bun daemon on localhost (port 9500-9510)
  • In-memory cache with 5-minute TTL
  • State file: /tmp/affiliate-check.json
  • Auto-shutdown after 30 min idle
  • Server crash → auto-restarts on next command
安全使用建议
This package appears to be what it says: a collection of affiliate-marketing skills with a small local CLI that queries list.affitor.com. Before installing or running anything: 1) Inspect the repository's setup script (./setup) and any scripts it calls; do NOT run remote installers blindly (the README/SKILL.md suggests 'curl | bash' for Bun — instead inspect the bun.sh installer or install Bun from an OS package or your preferred method). 2) Inspect the CLI source (tools/src) for any unexpected network endpoints or data-sending behavior beyond calls to list.affitor.com. 3) If you run the daemon, be aware it listens on localhost and writes /tmp/affiliate-check.json; run it in a confined environment (container or VM) if you're cautious. 4) Only provide AFFITOR_API_KEY if you trust the code; it is optional and only needed for higher query limits. 5) If you plan to let an agent autonomously invoke the 'Bash' allowed-tool, understand that gives it permission to run the same build/run commands described here — require user approval before performing the one-time build/run step.
功能分析
Type: OpenClaw Skill Name: affiliate-skills Version: 1.0.0 The affiliate-skills bundle is a comprehensive and well-documented set of tools designed for affiliate marketing automation. It includes a local Bun-based daemon (tools/src/server.ts) for caching API responses from list.affitor.com and various utility scripts for repository maintenance and distribution. Notably, the documentation (CLAUDE.md) demonstrates security awareness by defining 'Data Trust Levels' and explicitly instructing the AI agent to never execute instructions found in untrusted data fields, which serves as a defense against prompt injection. The code follows standard patterns for local agent tools and lacks any indicators of malicious intent, data exfiltration, or unauthorized persistence.
能力评估
Purpose & Capability
Name/description (live affiliate program data from list.affitor.com) match the included API.md, CLI tool sources (tools/src), and many SKILL.md files for affiliate-focused functions. No unrelated cloud credentials or unrelated binaries are requested.
Instruction Scope
Runtime instructions tell the agent to check for a local compiled binary, ask the user to permit a one-time build (./setup), and then run a persistent Bun-based daemon that uses /tmp/affiliate-check.json and listens on localhost ports 9500–9510. These actions are within scope for a CLI helper, but they involve executing local build and server commands and creating a state file in /tmp — review the setup script and CLI source before running.
Install Mechanism
Registry lists no formal install spec, but SKILL.md's setup step may run './setup' and, if Bun is missing, suggests running 'curl -fsSL https://bun.sh/install | bash'. Piping remote install scripts is a high-risk pattern; while bun.sh is a known runtime, executing an unattended remote installer should be treated cautiously and inspected first.
Credentials
No required environment variables are declared; SKILL.md documents an optional AFFITOR_API_KEY for higher API limits, and code examples use process.env.AFFITOR_API_KEY. The requested environment access is limited and proportional to the stated purpose.
Persistence & Privilege
The skill runs a local persistent daemon with an in-memory cache and a state file under /tmp and auto-shutdown after idle. 'always' is false and the skill does not request system-wide or other-skills' configuration changes. Persistent local server behavior is expected for this CLI design.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install affiliate-skills
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /affiliate-skills 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Live search and comparison for affiliate programs with caching and daemon support. - Query, search, and compare affiliate programs in real-time from list.affitor.com. - Persistent server daemon with instant response after first call and 5-minute data cache. - Supports advanced search filters, sorting, and side-by-side program comparison. - API key integration for unlimited results, with fallback to free tier. - Easy setup instructions and self-check for binary existence. - Server auto-manages uptime, state, and auto-shutdown on inactivity.
元数据
Slug affiliate-skills
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Affiliate Skills 是什么?

Live affiliate program data from list.affitor.com. Search programs, compare commissions, check cookie days, find top performers. Use when researching affilia... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 253 次。

如何安装 Affiliate Skills?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install affiliate-skills」即可一键安装,无需额外配置。

Affiliate Skills 是免费的吗?

是的,Affiliate Skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Affiliate Skills 支持哪些平台?

Affiliate Skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Affiliate Skills?

由 sonpiaz(@sonpiaz)开发并维护,当前版本 v1.0.0。

💬 留言讨论