‹ 首页

affiliate-check

@affitor · 收录于 2 天前 · 上游提交 1 个月前

Live affiliate program data from openaffiliate.dev. Search programs, compare commissions, check cookie days, find top performers. Use when researching affiliate programs, comparing options, or checking program details. Persistent daemon with cache — first call starts server (~2s), subsequent calls ~100ms.

适合你,如果你需要比较不同联盟项目的佣金和规则

/ 通过 npx 安装 校验哈希
npx oh-my-skill add affitor/affiliate-skills/affiliate-check
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- affitor/affiliate-skills/affiliate-check
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify affitor/affiliate-skills/affiliate-check
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
576GitHub stars
~611最小装载
~611含声明引用
~249.5K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 ed17ef3 · 表述以原文为准
它做什么

这个技能让Claude能实时查询openaffiliate.dev上的联盟计划数据,包括搜索计划、比较佣金、检查cookie时长、查看热门计划等。

什么时候触发

当用户要求搜索或比较联盟计划,例如询问“有哪些AI工具的联盟计划”或“对比两个计划的佣金”时触发。

装好后可以这样说
返回匹配的计划列表及佣金信息
并排显示两者的佣金、cookie天数等信息
按热度排序展示前几个计划
技能原文 SKILL.md作者撰写 · MIT · ed17ef3

affiliate-check: Live Affiliate Program Data

Query affiliate program data from openaffiliate.dev 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 <SKILL_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 <query>                    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 <name>                       Detailed program card
affiliate-check compare <name1> <name2> [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

No environment variables required. The openaffiliate.dev API is fully public — no API key, no auth, no rate limits.

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
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。