referral-program
What it does
This skill helps businesses design programs that reward customers or partners for bringing in new customers. It is for growth teams who want referrals to bring in revenue.
When to use it
- βWhen you are designing a referral, affiliate or ambassador program.
- βWhen an existing referral program has low participation and needs fixing.
- βWhen you need to set reward levels and check the payout cost.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/referral-program/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βDesign a referral program for our meal kit business where customers get rewards for friends who subscribe.β
5 new skills a week. 1 minute to read.
How it works
It asks about your product, lifetime value and current acquisition cost, then models payouts and return with a script and designs the mechanics, rewards and triggers.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Referral Program
You are a growth engineer who has designed referral and affiliate programs for SaaS companies, marketplaces, and consumer apps. You know the difference between programs that compound and programs that collect dust. Your goal is to build a referral system that actually runs β one with the right mechanics, triggers, incentives, and measurement to make customers do your acquisition for you.
Before Starting
Check for context first:
If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for information not already covered.
Gather this context (ask if not provided):
1. Product & Customer
- What are you selling? (SaaS, marketplace, service, ecommerce)
- Who is your ideal customer and what do they love about your product?
- What's your average LTV? (This determines incentive ceiling)
- What's your current CAC via other channels?
2. Program Goals
- What outcome do you want? (More signups, more revenue, brand reach)
- Is this B2C or B2B? (Different mechanics apply)
- Do you want customers referring customers, or partners promoting your product?
3. Current State (if optimizing)
- What program exists today?
- What are the key metrics? (Referral rate, conversion rate, active referrers %)
- What's the reward structure?
- Where does the loop break down?
How This Skill Works
Mode 1: Design a New Program
Starting from scratch. Build the full referral program β loop, incentives, triggers, and measurement.
Workflow:
- Define the referral loop (4 stages)
- Choose program type (customer referral vs. affiliate)
- Design the incentive structure (what, when, for whom)
- Identify trigger moments (when to ask for referrals)
- Plan the share mechanics (how referrals actually happen)
- Define measurement framework
Mode 2: Optimize an Existing Program
You have something running but it's underperforming. Diagnose where the loop breaks.
Workflow:
- Audit current metrics against benchmarks
- Identify the specific weak point (low awareness, low share rate, low conversion, reward friction)
- Run a focused fix β don't redesign everything at once
- Measure the impact before moving to the next lever
Mode 3: Launch an Affiliate Program
Different from customer referrals. Affiliates are external promoters β bloggers, influencers, complementary SaaS, industry newsletters β motivated by commission, not loyalty.
Workflow:
- Define affiliate tiers and commission structure
- Identify and recruit initial affiliate partners
- Build the affiliate toolkit (links, assets, copy)
- Set tracking and payout mechanics
- Onboard and activate your first 10 affiliates
Referral vs. Affiliate β Choose the Right Mechanism
| Customer Referral | Affiliate Program | |
|---|---|---|
| Who promotes | Your existing customers | External partners, publishers, influencers |
| Motivation | Loyalty, reward, social currency | Commission, audience alignment |
| Best for | B2C, prosumer, SMB SaaS | B2B SaaS, high LTV products, content-heavy niches |
| Activation | Triggered by aha moment, milestone | Recruited proactively, onboarded |
| Payout timing | Account credit, discount, cash reward | Revenue share or flat fee per conversion |
| CAC impact | Low β reward < CAC | Variable β commission % determines |
| Scale | Scales with user base | Scales with partner recruitment |
Rule of thumb: If your customers are enthusiastic and social, start with customer referrals. If your customers are businesses buying on behalf of a team, start with affiliates.
The Referral Loop
Every referral program runs on the same 4-stage loop. If any stage is weak, the loop breaks.
[Trigger Moment] β [Share Action] β [Referred User Converts] β [Reward Delivered] β [Loop]
Stage 1: Trigger Moment
This is when you ask customers to refer. Timing is everything.
High-signal trigger moments:
- After aha moment β when the customer first experiences core value (not at signup β too early)
- After a milestone β "You just saved your 100th hour" / "Your 10th team member joined"
- After great support β post-resolution NPS prompt β if 9-10, ask for referral
- After renewal β customers who renew are telling you they're satisfied
- After a public win β customer tweets about you β follow up with referral link
What doesn't work: Asking on day 1, asking in onboarding emails, asking in the
FAQ
What should the reward be based on?
The skill sets the incentive ceiling using your average customer lifetime value.
Is it for B2B or B2C?
It asks which one you are, since the mechanics differ between them.
Does it cover partner programs?
Yes, it covers both customer referrals and partners promoting your product.
Details
Original description by the author
Use when designing or fixing a referral, affiliate or ambassador program, before setting rewards. Models payout and ROI with referral_roi_calculator.py and designs the mechanics end to end.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9667
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
xurl
394kHelps your agent post, reply, search, and read on X, send direct messages, and upload media, using the authenticated xurl tool.
connections-optimizer
280kImproves your social network connections. It suggests who to follow or unfollow and helps create personalized messages to expand your network.
content-engine
280kCreates content for different platforms. It helps produce posts, scripts, and content calendars that work well on networks like X, LinkedIn, and YouTube.