Agent skill · marketing growth · borghei

referral-program

Referral and affiliate program design covering referral loop architecture, incentive design, trigger moment optimization, viral coefficient modeling, affiliate program structure, and optimization playbook.

Why this skill is useful

Provides a systematic optimization playbook and three Python tools for modeling referral program effectiveness that the AI wouldn't reliably generate on its own.

What it needs

Requires python installed locally. About 4k tokens when loaded. Last updated 2026-07-21. 462 stars on the source repository.

What this skill does

Referral Program Production-grade referral and affiliate program framework covering the 4-stage referral loop, incentive design methodology, trigger moment optimization, share mechanics, viral coefficient modeling, affiliate program architecture, and systematic optimization playbook. Designed to build programs that compound, not collect dust. Core Capabilities Program type & loop design — referral vs affiliate decision, plus the 4-stage loop (trigger → share → convert → reward) Incentive design — single- vs double-sided, reward types, tiered gamification, reward economics against LTV/CAC Trigger & share mechanics — in-product and email trigger points, share channel priority, first-person share copy Referred-user experience — referral landing page, attribution rules, program copy set (prompts, emails, dashboards) Growth math — K-factor modeling, revenue impact models, and lever-by-lever K improvement Affiliate framework — commission models, tier systems, partner toolkit, recruitment Optimization — diagnose-before-optimize playbook, metric benchmarks, troubleshooting, and three Python tools When to Use The user asks to "design a referral program", "launch an affiliate program", or "improve viral growth" The decision between customer referral vs affiliate program needs to be made An existing referral program has stalled (K-factor <1, low share rate, low referred-user conversion) Reward structure needs sizing against CAC, margin, or LTV Trigger moments need to be identified (when to ask, which in-product events, which lifecycle emails) The user says "word-of-mouth isn't working" or "we want to add a refer-a-friend flow" Clarify First Before designing the referral program, confirm these inputs. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills borghei/referral-program

View the source on GitHub

Browse the @skills marketplace