affiliate-check
Skill757 starsChanged 8 months agoMITView on GitHub
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.
- Pipes a download into a shell
In this repository55 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ab-test-generatorSkill
- conversion-trackerSkill
- internal-linking-optimizerSkill
- performance-reportSkill
- seo-auditSkill
- content-repurposerSkill
- email-automation-builderSkill
- multi-program-managerSkill
- paid-ad-copy-writerSkill
- proprietary-data-generatorSkill
- affiliate-blog-builderSkill
- comparison-post-writerSkill
- content-decay-detectorSkill
- content-moat-calculatorSkill
- how-to-tutorial-writerSkill
- keyword-cluster-architectSkill
- listicle-generatorSkill
- content-pillar-atomizerSkill
- content-research-briefSkill
- infographic-generatorSkill
- reddit-post-writerSkill
- tiktok-script-writerSkill
- twitter-thread-writerSkill
- viral-post-writerSkill
- bio-link-deployerSkill
- email-drip-sequenceSkill
- github-pages-deployerSkill
- social-media-schedulerSkill
- bonus-stack-builderSkill
- grand-slam-offerSkill
- guarantee-generatorSkill
- landing-page-creatorSkill
- product-showcase-pageSkill
- squeeze-page-builderSkill
- value-ladder-architectSkill
- webinar-registration-pageSkill
- category-designerSkill
- compliance-checkerSkill
- create-skillSkill
- funnel-plannerSkill
- self-improverSkill
- skill-finderSkill
- affiliate-program-searchSkill
- commission-calculatorSkill
- competitor-spySkill
- content-angle-rankerSkill
- find-and-verify-affiliate-programSkill
- monopoly-niche-finderSkill
- niche-opportunity-finderSkill
- purple-cow-auditSkill
- submit-programSkill
- traffic-analyzerSkill
- trending-content-scoutSkill
- your-skill-nameSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Before using any command, find the skill and check if the binary exists:
- Very specific: line 38
If approved, run: cd <SKILL_DIR> && ./setup
- Very specific: line 39
If bun is not installed: curl -fsSL https://bun.sh/install | bash
- Distinctive: line 99
No environment variables required.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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"
fiSet 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 stopCommands
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 limitDiscovery
affiliate-check top Top programs by stars
affiliate-check top --sort trending Trending programs
affiliate-check top --sort new Newest programsDetails
affiliate-check info <name> Detailed program card
affiliate-check compare <name1> <name2> [name3] Side-by-side comparisonServer
affiliate-check status Uptime, cache, API key status
affiliate-check stop Shutdown daemon
affiliate-check help Full helpEnvironment
No environment variables required. The openaffiliate.dev API is fully public — no API key, no auth.
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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

