Affiliate skills
Skill Affitor/affiliate-skills
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.From its SKILL.md
npx -y skills add Affitor/affiliate-skillsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- runs commandsInstructs the agent to run 4 commands, including `if test -x .claude/skills/affiliate-skills/tools/dist/affiliate-check; then` and 3 more.
- fetches URLsInstructs the agent to fetch 1 URL, including https://bun.sh/install.
SKILL.md
3.2 KB, 647 tokens by cl100k_base, as published. Nobody here has run it
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:
- Tell the user: "affiliate-check needs a one-time build (~10 seconds). OK to proceed?"
- If approved, run:
cd <SKILL_DIR> && ./setup - If
bunis 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
What ships with it: 69 files
400.9 KB alongside SKILL.md, 12 of them executable
.claude/
- commands/new-skill.md552 B
- commands/review.md1.1 KB
- commands/test-skill.md964 B
- projects/-Users-sonpiaz-Affitor-main-affiliate-skills/memory/feedback-bio-style.md698 B
- projects/-Users-sonpiaz-Affitor-main-affiliate-skills/memory/feedback-cleanup-test-posts.md629 B
- projects/-Users-sonpiaz-Affitor-main-affiliate-skills/memory/research-skill-distribution.md1.3 KB
.claude-plugin/
- marketplace.json3.4 KB
docs/
- affiliate-funnel-overview.md3.1 KB
- AGENT-SOURCE-OF-TRUTH.md7.4 KB
- distribution-strategy.md13.7 KB
- launch-content/devto-article.md2.6 KB
- launch-content/linkedin-post.md1.1 KB
- launch-content/reddit-claudeai.md1.4 KB
- launch-content/show-hn.md1.2 KB
- launch-content/twitter-thread.md1.6 KB
- pr-templates/awesome-list-pr-body.md818 B
- pr-templates/list-entries.md1.6 KB
- sdd-review-prompt.md12.4 KB
- skill-roadmap.md6.8 KB
drafts/
- devto-v1.2.md5.4 KB
- hn-v1.2.md2.2 KB
- linkedin-v1.2.md1.5 KB
- x-thread-v1.2.md1.9 KB
evals/
- evals.json29.5 KB
platforms/
- chatgpt.md3.1 KB
- cursor.md2.8 KB
- gemini.md3.4 KB
- openclaw.md4.5 KB
prompts/
- bootstrap.md6.1 KB
- API.md6.2 KB
- CHANGELOG.md1.8 KB
- CLAUDE.md5.2 KB
- CONTRIBUTING.md4.3 KB
- .cursorrules2.7 KB
- .gitignore63 B
- LICENSE1.0 KB
- package.json481 B
- PLAN-launch-content.md10.9 KB
- PLAN-social-intelligence-upgrade.md26.8 KB
- PLAN-v2-skills-expansion.md12.4 KB
29 more files not listed here. See all 69 in the repository.