A Claude Skill for Claude Code by Corey Haines — run /referral-program in Claude·Updated Apr 10, 2026·v1.1.0
Design a referral or affiliate program that turns customers into growth channels
You run experiments, optimize funnels, and own the numbers from signup to revenue. These skills handle the audit, analysis, and testing setup — so you spend time on strategy, not spreadsheets.
See skills for this roleYou own positioning, launches, and the buyer journey. These skills help you write copy that converts, price for growth, and launch products people actually want.
See skills for this roleYou own pipeline generation — paid ads, email sequences, lead magnets, and form optimization. These skills plan campaigns, write sequences, and optimize every conversion point.
See skills for this roleDesigns the full referral program: incentive structure, sharing mechanics, email templates, and in-app placement strategy
Structures the affiliate program with commission rates, cookie window, creative assets, and onboarding process for new affiliates
Diagnoses why the current program isn't working and recommends incentive, copy, and placement changes to drive adoption
Describe your product, customer base, and what type of program you want
Share existing program details and performance data if iterating
Skill recommends incentive structure and program mechanics
Writes referral copy, email templates, and sharing prompts
Delivers a launch checklist and tracking setup requirements
Choose how to get started.
Install and run this skill locally on your computer.
Open a terminal on your computer and paste this command:
This downloads the skill with all its files to your computer:
Add -g at the end to make it available in all your projects.
Start Claude Code, then type the command:
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.
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):
Best for:
Characteristics:
Best for:
Characteristics:
Trigger Moment → Share Action → Convert Referred → Reward → (Loop)
High-intent moments:
Ranked by effectiveness:
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
If few customers are referring:
If referrals aren't converting:
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
| 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 |
Program health:
Business impact:
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]
For detailed affiliate program design, commission structures, recruitment, and tools: See references/affiliate-programs.md
For implementation, see the tools registry. Key tools for referral programs:
| Tool | Best For | Guide |
|---|---|---|
| Rewardful | Stripe-native affiliate programs | rewardful.md |
| Tolt | SaaS affiliate programs | tolt.md |
| Mention Me | Enterprise referral programs | mention-me.md |
| Dub.co | Link tracking and attribution | dub-co.md |
| Stripe | Payment processing (for commission tracking) | stripe.md |
| Introw | Channel partner programs with tiers, deal registration, QBRs | introw.md |
| PartnerStack | Enterprise partner and affiliate programs | partnerstack.md |
Detailed guidance for building and managing affiliate programs.
Percentage of sale:
Flat fee per action:
Recurring commission:
Tiered commission:
How long after click does affiliate get credit?
| Duration | Use Case |
|---|---|
| 24 hours | High-volume, low-consideration purchases |
| 7-14 days | Standard e-commerce |
| 30 days | Standard SaaS/B2B |
| 60-90 days | Long sales cycles, enterprise |
| Lifetime | Premium affiliate relationships |
Subject: Partnership opportunity — [Your Product]
Hi [Name],
I've been following your content on [topic] — particularly [specific piece] — and think there could be a great fit for a partnership.
[Your Product] helps [audience] [achieve outcome], and I think your audience would find it valuable.
We offer [commission structure] for partners, plus [additional benefits: early access, co-marketing, etc.].
Would you be open to learning more?
[Your name]
Provide affiliates with:
Full-featured platforms:
Built-in options:
Affiliate networks:
Partner Relationship Management (PRM):
Self-hosted:
Consider:
Technical:
Policy:
Structural:
Real-world examples of successful referral programs.
Program: Give 500MB storage, get 500MB storage
Why it worked:
Program: Give $10 ride credit, get $10 when they ride
Why it worked:
Program: Tiered rewards for subscriber referrals
Why it worked:
Program: $10 credit per referral (education)
Why it worked:
| Type | Pros | Cons | Best For |
|---|---|---|---|
| Cash/credit | Universally valued | Feels transactional | Marketplaces, fintech |
| Product credit | Drives usage | Only valuable if they'll use it | SaaS, subscriptions |
| Free months | Clear value | May attract freebie-seekers | Subscription products |
| Feature unlock | Low cost to you | Only works for gated features | Freemium products |
| Swag/gifts | Memorable, shareable | Logistics complexity | Brand-focused companies |
| Charity donation | Feel-good | Lower personal motivation | Mission-driven brands |
Calculate your maximum incentive:
Max Referral Reward = (Customer LTV × Gross Margin) - Target CAC
Example:
Typical referral rewards:
Viral coefficient (K-factor):
K = Invitations × Conversion Rate
K > 1 = Viral growth (each user brings more than 1 new user)
K < 1 = Amplified growth (referrals supplement other acquisition)
Example:
Referral rate:
Referral Rate = (Customers who refer) / (Total customers)
Benchmarks:
Referrals per referrer:
Benchmarks:
Referral Program ROI = (Revenue from referred customers - Program costs) / Program costs
Program costs = Rewards paid + Tool costs + Management time
Track separately: