referral-program
When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' or 'partner program.' This skill covers program design, incentive structure, and growth optimization.
Best use case
referral-program is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' or 'partner program.' This skill covers program design, incentive structure, and growth optimization.
Teams using referral-program should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/referral-program/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How referral-program Compares
| Feature / Agent | referral-program | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' or 'partner program.' This skill covers program design, incentive structure, and growth optimization.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Referral & Affiliate Programs You are an expert in viral growth and referral marketing. Your goal is to help design and optimize programs that turn customers into growth engines. ## Before Starting **Check for product marketing context first:** If `.agents/product-marketing-context.md` exists (or `.claude/product-marketing-context.md` in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. Gather this context (ask if not provided): ### 1. Program Type - Customer referral program, affiliate program, or both? - B2B or B2C? - What's the average customer LTV? - What's your current CAC from other channels? ### 2. Current State - Existing referral/affiliate program? - Current referral rate (% who refer)? - What incentives have you tried? ### 3. Product Fit - Is your product shareable? - Does it have network effects? - Do customers naturally talk about it? ### 4. Resources - Tools/platforms you use or consider? - Budget for referral incentives? --- ## Referral vs. Affiliate ### Customer Referral Programs **Best for:** - Existing customers recommending to their network - Products with natural word-of-mouth - Lower-ticket or self-serve products **Characteristics:** - Referrer is an existing customer - One-time or limited rewards - Higher trust, lower volume ### Affiliate Programs **Best for:** - Reaching audiences you don't have access to - Content creators, influencers, bloggers - Higher-ticket products that justify commissions **Characteristics:** - Affiliates may not be customers - Ongoing commission relationship - Higher volume, variable trust --- ## Referral Program Design ### The Referral Loop ``` Trigger Moment → Share Action → Convert Referred → Reward → (Loop) ``` ### Step 1: Identify Trigger Moments **High-intent moments:** - Right after first "aha" moment - After achieving a milestone - After exceptional support - After renewing or upgrading ### Step 2: Design Share Mechanism **Ranked by effectiveness:** 1. In-product sharing (highest conversion) 2. Personalized link 3. Email invitation 4. Social sharing 5. Referral code (works offline) ### Step 3: Choose Incentive Structure **Single-sided rewards** (referrer only): Simpler, works for high-value products **Double-sided rewards** (both parties): Higher conversion, win-win framing **Tiered rewards**: Gamifies referral process, increases engagement **For examples and incentive sizing**: See [references/program-examples.md](references/program-examples.md) --- ## Program Optimization ### Improving Referral Rate **If few customers are referring:** - Ask at better moments - Simplify sharing process - Test different incentive types - Make referral prominent in product **If referrals aren't converting:** - Improve landing experience for referred users - Strengthen incentive for new users - Ensure referrer's endorsement is visible ### A/B Tests to Run **Incentive tests:** Amount, type, single vs. double-sided, timing **Messaging tests:** Program description, CTA copy, landing page copy **Placement tests:** Where and when the referral prompt appears ### Common Problems & Fixes | Problem | Fix | |---------|-----| | Low awareness | Add prominent in-app prompts | | Low share rate | Simplify to one click | | Low conversion | Optimize referred user experience | | Fraud/abuse | Add verification, limits | | One-time referrers | Add tiered/gamified rewards | --- ## Measuring Success ### Key Metrics **Program health:** - Active referrers (referred someone in last 30 days) - Referral conversion rate - Rewards earned/paid **Business impact:** - % of new customers from referrals - CAC via referral vs. other channels - LTV of referred customers - Referral program ROI ### Typical Findings - Referred customers have 16-25% higher LTV - Referred customers have 18-37% lower churn - Referred customers refer others at 2-3x rate --- ## Launch Checklist ### Before Launch - [ ] Define program goals and success metrics - [ ] Design incentive structure - [ ] Build or configure referral tool - [ ] Create referral landing page - [ ] Set up tracking and attribution - [ ] Define fraud prevention rules - [ ] Create terms and conditions - [ ] Test complete referral flow ### Launch - [ ] Announce to existing customers - [ ] Add in-app referral prompts - [ ] Update website with program details - [ ] Brief support team ### Post-Launch (First 30 Days) - [ ] Review conversion funnel - [ ] Identify top referrers - [ ] Gather feedback - [ ] Fix friction points - [ ] Send reminder emails to non-referrers --- ## Email Sequences ### Referral Program Launch ``` Subject: You can now earn [reward] for sharing [Product] We just launched our referral program! Share [Product] with friends and earn [reward] for each signup. They get [their reward] too. [Unique referral link] 1. Share your link 2. Friend signs up 3. You both get [reward] ``` ### Referral Nurture Sequence - Day 7: Remind about referral program - Day 30: "Know anyone who'd benefit?" - Day 60: Success story + referral prompt - After milestone: "You achieved [X]—know others who'd want this?" --- ## Affiliate Programs **For detailed affiliate program design, commission structures, recruitment, and tools**: See [references/affiliate-programs.md](references/affiliate-programs.md) --- ## Task-Specific Questions 1. What type of program (referral, affiliate, or both)? 2. What's your customer LTV and current CAC? 3. Existing program or starting from scratch? 4. What tools/platforms are you considering? 5. What's your budget for rewards/commissions? 6. Is your product naturally shareable? --- ## Tool Integrations For implementation, see the [tools registry](../../tools/REGISTRY.md). Key tools for referral programs: | Tool | Best For | Guide | |------|----------|-------| | **Rewardful** | Stripe-native affiliate programs | [rewardful.md](../../tools/integrations/rewardful.md) | | **Tolt** | SaaS affiliate programs | [tolt.md](../../tools/integrations/tolt.md) | | **Mention Me** | Enterprise referral programs | [mention-me.md](../../tools/integrations/mention-me.md) | | **Dub.co** | Link tracking and attribution | [dub-co.md](../../tools/integrations/dub-co.md) | | **Stripe** | Payment processing (for commission tracking) | [stripe.md](../../tools/integrations/stripe.md) | --- ## Related Skills - **launch-strategy**: For launching referral program effectively - **email-sequence**: For referral nurture campaigns - **marketing-psychology**: For understanding referral motivation - **analytics-tracking**: For tracking referral attribution
Related Skills
programmatic-seo
When the user wants to create SEO-driven pages at scale using templates and data. Also use when the user mentions "programmatic SEO," "template pages," "pages at scale," "directory pages," "location pages," "[keyword] + [city] pages," "comparison pages," "integration pages," or "building many pages for SEO." For auditing existing SEO issues, see seo-audit.
social-content
When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' or 'viral content.' This skill covers content creation, repurposing, and platform-specific strategies.
site-architecture
When the user wants to plan, map, or restructure their website's page hierarchy, navigation, URL structure, or internal linking. Also use when the user mentions "sitemap," "site map," "visual sitemap," "site structure," "page hierarchy," "information architecture," "IA," "navigation design," "URL structure," "breadcrumbs," "internal linking strategy," or "website planning." NOT for XML sitemaps (that's technical SEO — see seo-audit). For SEO audits, see seo-audit. For structured data, see schema-markup.
signup-flow-cro
When the user wants to optimize signup, registration, account creation, or trial activation flows. Also use when the user mentions "signup conversions," "registration friction," "signup form optimization," "free trial signup," "reduce signup dropoff," or "account creation flow." For post-signup onboarding, see onboarding-cro. For lead capture forms (not account creation), see form-cro.
seo-audit
When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," or "SEO health check." For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema-markup.
schema-markup
When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data," "JSON-LD," "rich snippets," "schema.org," "FAQ schema," "product schema," "review schema," or "breadcrumb schema." For broader SEO issues, see seo-audit.
sales-enablement
When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'ROI calculator,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' or 'buyer persona card.' For competitor battle cards and comparison pages, see competitor-alternatives. For marketing website copy, see copywriting. For cold outreach emails, see cold-email.
revops
When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' or 'data hygiene.' For cold outreach emails, see cold-email. For email drip campaigns, see email-sequence. For pricing decisions, see pricing-strategy.
product-marketing-context
When the user wants to create or update their product marketing context document. Also use when the user mentions 'product context,' 'marketing context,' 'set up context,' 'positioning,' or wants to avoid repeating foundational information across marketing tasks. Creates `.agents/product-marketing-context.md` that other marketing skills reference.
pricing-strategy
When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' or 'monetization.' This skill covers pricing research, tier structure, and packaging strategy.
popup-cro
When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," or "overlay." For forms outside of popups, see form-cro. For general page conversion optimization, see page-cro.
paywall-upgrade-cro
When the user wants to create or optimize in-app paywalls, upgrade screens, upsell modals, or feature gates. Also use when the user mentions "paywall," "upgrade screen," "upgrade modal," "upsell," "feature gate," "convert free to paid," "freemium conversion," "trial expiration screen," "limit reached screen," "plan upgrade prompt," or "in-app pricing." Distinct from public pricing pages (see page-cro) — this skill focuses on in-product upgrade moments where the user has already experienced value.