Referral program

From borghei/Claude-Skills · View interactive version

Referral program is an AI agent skill from the GitHub repository borghei/Claude-Skills. Referral and affiliate program design covering referral loop architecture, incentive design, trigger moment optimization, viral coefficient modeling, affiliate program structure, and optimization playbook.

How to use this skill

Skill file

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

When to Use

Clarify First

Before designing the referral program, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick Start

  1. Pick the program type — use the Referral vs Affiliate Decision table (enthusiastic/social customers → referral; team buyers → affiliate).
  2. Build the loop in order — trigger → share → convert → reward; a broken Stage 1 can't be fixed by a bigger reward at Stage 4.
  3. Size the incentive — cap reward at <30% of first payment; go double-sided if referral rate <1%.
  4. Model and validate — run the scripts (referral_economics_calculator.py, referral_funnel_analyzer.py, affiliate_commission_modeler.py) to size rewards, find the weakest stage, and model affiliate tiers.
  5. Optimize by priority — fix awareness first, then share flow, then referred experience, then the incentive.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

Scope & Limitations

In scope: Customer referral program design (4-stage loop), incentive structure (single-sided, double-sided, tiered), trigger moment architecture, share mechanics, referral landing page specifications, viral coefficient modeling, affiliate program framework (commission models, tier systems, recruitment), and systematic optimization playbook.

Out of scope: Referral landing page visual design and CRO (use page-cro), signup flow optimization for referred users (use signup-flow-cro), post-signup onboarding for referred users (use onboarding-cro), churn prevention for referred customers (use churn-prevention), and reward pricing alignment (use pricing-strategy). Scripts operate on local data only -- no integrations with referral platforms (ReferralHero, Viral Loops, PartnerStack, etc.).

Limitations: K-factor benchmarks assume consumer or prosumer SaaS; B2B enterprise referral programs have different dynamics (lower K but higher per-referral value). Affiliate commission benchmarks (20-30% recurring) are SaaS-specific; marketplace and e-commerce commissions follow different models. Attribution windows (30-90 day cookies) face increasing limitations from browser privacy features (Safari ITP, Chrome third-party cookie deprecation). Revenue projections are estimates based on provided conversion rates.

Integration Points

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.