affitor/affiliate-check
| 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 skills add https://github.com/Affitor/affiliate-skills --skill affiliate-check
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.
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:
cd <SKILL_DIR> && ./setupbun is not installed: curl -fsSL https://bun.sh/install | bashA=~/.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
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
affiliate-check top Top programs by stars
affiliate-check top --sort trending Trending programs
affiliate-check top --sort new Newest programs
affiliate-check info <name> Detailed program card
affiliate-check compare <name1> <name2> [name3] Side-by-side comparison
affiliate-check status Uptime, cache, API key status
affiliate-check stop Shutdown daemon
affiliate-check help Full help
No environment variables required. The openaffiliate.dev API is fully public — no API key, no auth, no rate limits.
/tmp/affiliate-check.jsonTake affitor/affiliate-check from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.