affiliate-check: Live Affiliate Program Data

| Live affiliate program data from openaffiliate.dev.

How to use it

  1. Hit Copy the whole skill.
  2. Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
    ChatGPT: make a Project and paste it into Instructions.
    Neither? Paste it at the top of a new chat — it works for that chat.
  3. Describe your job in plain words. The AI follows the skill from there.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Show the full text108 lines
skill-3/SKILL.md108 lines3.2 KBpushed 100d agoRawView on GitHub

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
1---
2name: affiliate-check
3version: 1.0.0
4description: |
5 Live affiliate program data from openaffiliate.dev. Search programs, compare commissions,
6 check cookie days, find top performers. Use when researching affiliate programs,
7 comparing options, or checking program details. Persistent daemon with cache — first call
8 starts server (~2s), subsequent calls ~100ms.
9allowed-tools:
10 - Bash
11 - Read
12---
13 
14# affiliate-check: Live Affiliate Program Data
15 
16Query affiliate program data from openaffiliate.dev in real-time. Persistent daemon
17with in-memory cache — first call auto-starts the server, every subsequent call is instant.
18 
19## SETUP (run this check BEFORE any affiliate-check command)
20 
21Before using any command, find the skill and check if the binary exists:
22 
23```bash
24# Check project-level first, then user-level
25if test -x .claude/skills/affiliate-skills/tools/dist/affiliate-check; then
26 A=.claude/skills/affiliate-skills/tools/dist/affiliate-check
27elif test -x ~/.claude/skills/affiliate-skills/tools/dist/affiliate-check; then
28 A=~/.claude/skills/affiliate-skills/tools/dist/affiliate-check
29else
30 echo "NEEDS_SETUP"
31fi
32```
33 
34Set `A` to whichever path exists and use it for all commands.
35 
36If `NEEDS_SETUP`:
371. Tell the user: "affiliate-check needs a one-time build (~10 seconds). OK to proceed?"
382. If approved, run: `cd <SKILL_DIR> && ./setup`
393. If `bun` is not installed: `curl -fsSL https://bun.sh/install | bash`
40 
41## Quick Reference
42 
43```bash
44A=~/.claude/skills/affiliate-skills/tools/dist/affiliate-check
45 
46# Search programs
47$A search "AI video tools"
48$A search --recurring --tags ai
49 
50# Top programs
51$A top
52$A top --sort trending
53 
54# Program details
55$A info heygen
56 
57# Compare programs side-by-side
58$A compare heygen synthesia
59 
60# Server management
61$A status
62$A stop
63```
64 
65## Commands
66 
67### Search
68```
69affiliate-check search <query> Search by name/keyword
70affiliate-check search --recurring Filter recurring commissions
71affiliate-check search --tags ai,video Filter by tags
72affiliate-check search --min-cookie 30 Min cookie days
73affiliate-check search --sort new Sort: trending | new | top
74affiliate-check search --limit 20 Result limit
75```
76 
77### Discovery
78```
79affiliate-check top Top programs by stars
80affiliate-check top --sort trending Trending programs
81affiliate-check top --sort new Newest programs
82```
83 
84### Details
85```
86affiliate-check info <name> Detailed program card
87affiliate-check compare <name1> <name2> [name3] Side-by-side comparison
88```
89 
90### Server
91```
92affiliate-check status Uptime, cache, API key status
93affiliate-check stop Shutdown daemon
94affiliate-check help Full help
95```
96 
97## Environment
98 
99No environment variables required. The openaffiliate.dev API is fully public — no API key, no auth, no rate limits.
100 
101## Architecture
102 
103- Persistent Bun daemon on localhost (port 9500-9510)
104- In-memory cache with 5-minute TTL
105- State file: `/tmp/affiliate-check.json`
106- Auto-shutdown after 30 min idle
107- Server crash → auto-restarts on next command
108 

Discussion

Alternatives

Also in Affiliate programs
Affiliate Program ListerResearch an affiliate program and create a verified listing for openaffiliate.dev. Use this skill when the user asks anything about listing a program, adding an affiliate program to the directory, submitting a program to list, creating a listing, documenting an affiliate program, sharing an affiliate program, writing a program profile, posting a program to openaffiliate.dev, or contributing a new program. Also trigger for: "list a program", "add affiliate program", "submit program to list", create listing for X", "document affiliate program", "share affiliate program", write a listing", "post to openaffiliate.dev", "add X to the directory", register an affiliate program", "publish affiliate program", "new program listing", profile this affiliate program", "catalog this program".Marketing · MITReferral & Affiliate ProgramsWhen the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' 'partner program,' 'referral incentive,' 'how to get referrals,' 'customers referring customers,' or 'affiliate payout.' Use this whenever someone wants existing users or partners to bring in new customers. For launch-specific virality, see launch.Marketing · MITAffiliate program searchResearch and evaluate affiliate programs to find the best ones to promote. Use this skill when the user asks anything about finding affiliate programs, comparing commission rates, evaluating affiliate opportunities, searching for products to promote, picking a niche, or mentions openaffiliate.dev. Also trigger for: "which SaaS should I promote", "best affiliate programs for X", high commission programs", "recurring commission affiliate", "compare these affiliate programs", "is X affiliate program worth it", "find me something to promote", what pays the most", "affiliate programs with long cookie duration".Marketing · MITCommission calculatorCalculate realistic affiliate earnings projections before committing to a program. Use this skill when the user asks about affiliate earnings, projecting income, calculating commissions, estimating how much they can make, comparing program payouts, or says "how much can I make promoting X", "calculate my affiliate income", is this commission worth it", "how long to first $1000", "compare earnings between programs", "traffic to income calculator", "what conversion rate should I expect", "earnings estimate for affiliate program", "how many sales do I need".Marketing · MIT