agentleFS
OpenClaudiaOpenClaudia/openclaudia-skills/skills/referral-program/SKILL.md

referral-program

Skill706 starsChanged 6 months agoMITView on GitHub

Design referral programs and viral growth loops. Use when asked to create referral systems, viral mechanics, word-of-mouth campaigns, or growth loops. Trigger phrases: "referral program", "viral loop", "refer a friend", "word of mouth", "viral coefficient", "referral incentive", "growth loop", "invite system", "ambassador program".

34 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use product-marketing-context, revops and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • xfstudioSkill

    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 `.claude/product-marketing-context.md` that other marketing skills reference.

    Also in 16 projects that use this

  • ukunal91appSkill

    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,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see email-sequence. For pricing decisions, see pricing-strategy.

    Also in 11 projects that use this

  • ukunal91appSkill

    churn-prevention

    When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers or wants to build systems to prevent it. For post-cancel win-back email sequences, see email-sequence. For in-app upgrade paywalls, see paywall-upgrade-cro.

    Also in 11 projects that use this

  • VercelSkill

    site-architecture

    Use when planning or restructuring what pages a site has and how they connect: hierarchy, navigation, URL patterns, breadcrumbs, and internal linking. Not for XML sitemaps, which are in seo-audit.

    Also in 11 projects that use this

  • buildingwithaiSkill

    sales-enablement

    Master world-class sales enablement from foundations to execution. Build comprehensive enablement programs, develop effective training and coaching systems, implement data-driven content strategies, leverage AI and modern technology stacks, establish cross-functional collaboration, measure ROI with precision, and drive revenue growth. Covers sales methodologies (MEDDIC, SPICED, BANT), maturity models (Forrester, Gartner), enablement frameworks, change management, remote enablement, market segment strategies (SMB, Mid-Market, Enterprise), and team building. Based on 2024-2025 industry research from Gartner, Forrester, Product Marketing Alliance, Sales Enablement Collective, and leading practitioners.

    Also in 11 projects that use this

  • AnthropicSkill

    customer-research

    Multi-source research on a customer question or topic with source attribution. Use when a customer asks something you need to look up, investigating whether a bug has been reported before, checking what was previously told to a specific account, or gathering background before drafting a response.

    Also in 3 projects that use this

  • +4 more from ukunal91app

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only the referrer gets rewarded.

    line 21
  2. Distinctive:

    Cons: Only reaches existing users

    line 182
  3. Distinctive:

    Add referral widget to account/settings page

    line 188
  4. Distinctive:

    Mechanic: Wait-list with move-up-the-line incentive + free stock for referrals

    line 263

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Referral Program Design

Design effective referral programs and viral loops that drive sustainable growth.


1. Referral Program Frameworks

One-Sided Incentives

Only the referrer gets rewarded.

Best for:

  • Products with strong organic word-of-mouth
  • Low-friction signups where the referred user needs no extra motivation
  • Cost-sensitive businesses

Examples:

  • Uber: "$10 credit for every friend you refer"
  • Amazon Associates: Commission on referred purchases

Template:

Refer a friend and get [reward].
Share your unique link: [referral_url]

Two-Sided Incentives

Both referrer and referred user get rewarded.

Best for:

  • Products requiring activation effort from new users
  • Competitive markets where new users need a nudge
  • Subscription businesses

Examples:

  • Dropbox: Both get 500MB extra storage
  • Airbnb: Referrer gets $25 credit, friend gets $40 off first stay
  • PayPal: Both get $10 when friend makes first transaction

Template:

Give [friend_reward], get [referrer_reward].
Share your link and you both win: [referral_url]

Tiered Incentives

Rewards increase with number of successful referrals.

Example tier structure:

ReferralsReward
1Free month
3Exclusive feature unlock
5Premium plan for 3 months
10Lifetime premium access
25Cash payout or swag box

Best for:

  • Creating power referrers / ambassadors
  • Products with passionate user bases
  • Building a referral leaderboard culture

2. Viral Coefficient Calculation

The viral coefficient (K-factor) determines whether your referral loop is self-sustaining.

Formula

K = i * c

Where:
  i = number of invites sent per user
  c = conversion rate of each invite

If K > 1: viral growth (each user brings more than one new user)
If K < 1: referrals supplement but don't replace other acquisition

Example Calculation

Users send an average of 5 invites (i = 5)
15% of invites convert to signups (c = 0.15)
K = 5 * 0.15 = 0.75

With 1,000 initial users:
- Cycle 1: 1,000 * 0.75 = 750 new users
- Cycle 2: 750 * 0.75 = 563 new users
- Cycle 3: 563 * 0.75 = 422 new users
- Total after 10 cycles: ~3,570 additional users from referrals

Viral Cycle Time

The speed of the viral loop matters as much as K:

Effective growth = K / cycle_time

A K of 0.5 with a 1-day cycle > K of 0.8 with a 30-day cycle

How to Improve K

LeverAction
Increase invites (i)Make sharing frictionless, prompt at key moments
Increase conversion (c)Better landing page, stronger incentive, social proof
Reduce cycle timeInstant reward delivery, real-time notifications

3. Referral Channels

Email Referral

Pros: High conversion, personal, trackable Cons: Lower volume, requires email access

Template:

Subject: I thought you'd like [Product] -- here's [reward] to try it

Hey [Name],

I've been using [Product] for [time] and it's been great for [specific benefit].

I wanted to share my referral link so you can get [friend_reward]:
[referral_url]

[Your name]

Social Media Sharing

Pros: High reach, low effort, viral potential Cons: Lower conversion rate, less personal

Platform-specific templates:

Twitter/X:

I just [achievement/milestone] with @Product! If you want to try it,
use my link and we both get [reward]: [referral_url]

LinkedIn:

I've been using [Product] to [professional benefit] and the results
have been impressive: [specific metric].

If you're looking for [solution], here's my referral link
(we both get [reward]): [referral_url]

WhatsApp/SMS:

Hey! I've been using [Product] and really like it. They have a
referral deal -- we both get [reward] if you sign up through my link:
[referral_url]

In-App Referral

Pros: Highest intent, contextual, frictionless Cons: Only reaches existing users

Best practices:

  • Show referral prompt after a success moment (completed task, achievement, positive outcome)
  • Pre-populate sharing message
  • Show referral progress and rewards earned
  • Add referral widget to account/settings page

Unique Link vs. Referral Code

MethodProsCons
Unique linkFrictionless, works in any channelHarder to share verbally
Referral codeEasy to remember, shareable verballyExtra step at signup
BothMaximum flexibilityMore complex to implement

4. Referral Landing Page Template

The page a referred user sees when they click the referral link.

Structure

[Hero Section]
- Headline: "[Referrer's name] invited you to [Product]"
- Subheadline: "Sign up now and get [friend_reward]"
- CTA button: "Claim your [reward]"

[Social Proof]
- "[Referrer's name] and X others use [Product]"
- Logos of known customers
- Key metric: "Trusted by X users"

[Value Proposition]
- 3 key benefits with icons
- Brief product description

[How It Works]
- Step 1: Sign up (takes 30 seconds)
- Step 2: [Key activation action]
- Step 3: Enjoy [reward] + the product

[CTA Repeat]
- "Join [Referrer's name] on [Product]"
- Urgency: "This offer expires in [X days]"

[FAQ]
- When do I get my reward?
- What does [Product] do?
- Is there a catch?

5. Case Studies

Dropbox (2008-2010)

  • Mechanic: Two-sided -- both get 500MB extra storage
  • Result: 3,900% growth in 15 months (100K to 4M users)
  • Key insight: The reward (storage) was the product itself, making it self-reinforcing
  • Viral coefficient: Estimated ~0.6-0.7 (supplemental, not purely viral)

Airbnb (2014)

  • Mechanic: Two-sided -- $25 travel credit for referrer, $40 off first booking for friend
  • Result: 300% increase in bookings from referral program 2.0
  • Key insight: Redesigned referral page to feel like a gift, not spam. Personalized with referrer's photo and travel history
  • Viral coefficient: Low K but high LTV per referred user

PayPal (1999-2000)

  • Mechanic: Two-sided -- $20 per referral (later reduced to $10, then $5)
  • Result: 7-10% daily growth, reaching 1M users in first year
  • Key insight: Cash incentive drove massive initial growth, then reduced as network effects kicked in
  • Cost: $60-70M in referral bonuses, but each user was worth much more in LTV

Robinhood (2014-2015)

  • Mechanic: Wait-list with move-up-the-line incentive + free stock for referrals
  • Result: 1M waitlist signups before launch
  • Key insight: Scarcity (waitlist) + social proof (your position) + tangible reward (free stock)

6. Implementation Checklist

Technical Setup

  • Generate unique referral links/codes per user
  • Build referral tracking (link clicks, signups, activations, rewards)
  • Set up attribution window (how long after click does signup count?)
  • Implement fraud detection (self-referral, fake accounts, VPN abuse)
  • Build reward fulfillment (automatic credit, manual approval, or hybrid)
  • Create referral dashboard for users (invites sent, pending, completed, rewards earned)

Fraud Prevention

  • Block self-referrals (same IP, same device, same email domain)
  • Require activation action before reward (not just signup)
  • Set daily/weekly referral limits per user
  • Flag suspicious patterns (bulk signups from same IP range)
  • Implement clawback for fraudulent referrals

Program Design Decisions

DecisionOptions
Reward typeCash, credit, product features, swag, charity donation
Reward timingOn signup, on activation, on first purchase
Reward amountTest multiple amounts; higher is not always better
ExpirationReferral links expire after X days? Rewards expire?
LimitMax referrals per user per month?
EligibilityAll users or only paid/active users?

7. Referral Email Sequences

Invite Reminder (to existing users)

Subject: You have [X] invites waiting

Hey [Name],

Did you know you can give your friends [reward] and get [reward] for yourself?

You've invited [0/N] friends so far. Share your link:
[referral_url]

Here's what [Product] users are saying:
"[Testimonial]" -- [Customer name]

Referred User Welcome

Subject: [Referrer] sent you a gift -- [reward] inside

Hey there!

[Referrer's name] thinks you'd love [Product], so they're giving you [reward] to try it.

[CTA: Claim your reward]

What is [Product]?
[1-sentence description]

What you'll get:
- [Benefit 1]
- [Benefit 2]
- [Benefit 3]
- Plus [friend_reward] from [Referrer's name]

This offer expires in [X] days.

Referral Success Notification

Subject: [Friend's name] just signed up -- you earned [reward]!

Great news, [Name]!

[Friend's name] accepted your invitation and signed up for [Product].
Your [reward] has been added to your account.

Keep sharing: you've referred [X] friends so far.
[referral_url]

[Show progress toward next tier if using tiered rewards]

8. Measuring Success

Key Metrics

MetricFormulaGood Benchmark
Participation rateUsers who share / total users15-25%
Shares per userTotal shares / participating users3-5
Click-through rateLink clicks / shares20-40%
Conversion rateSignups / link clicks10-25%
Viral coefficient (K)Invites * conversion rate0.3-0.7 typical
Viral cycle timeAvg days from invite to new user's first invite1-7 days
Referral revenueRevenue from referred usersTrack separately
CAC via referralReward cost / acquired usersCompare to paid CAC

A/B Tests to Run

  1. Reward amount ($10 vs $20 vs $50)
  2. Reward type (credit vs cash vs feature unlock)
  3. One-sided vs two-sided incentive
  4. Referral prompt timing (after signup vs after first success)
  5. Landing page copy (gift framing vs deal framing)
  6. Email subject lines for referral invites
  7. Social sharing copy variations

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.