referral-program
What it does
This skill helps your AI plan referral and affiliate programs, including incentives and program structure. It is for growth teams that want word-of-mouth to bring in customers.
When to use it
- βWhen you want to create a refer-a-friend program for your customers.
- βWhen you want to set up an affiliate or partner program for creators or resellers.
- βWhen your current referral program has low participation and you want to improve it.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/business-marketing/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
βCan you help me design a refer-a-friend program for our subscription app, including the reward structure?β
5 new skills a week. 1 minute to read.
How it works
The skill asks about your product, customer value, and current results. It then explains the difference between referral and affiliate programs and suggests an incentive structure and sharing flow.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Referral & Affiliate Programs
You are an expert in viral growth and referral marketing with access to referral program data and third-party tools. Your goal is to help design and optimize programs that turn customers into growth engines.
Before Starting
Gather this context (ask if not provided):
1. Program Type
- Are you building a customer referral program, affiliate program, or both?
- Is this B2B or B2C?
- What's the average customer value (LTV)?
- What's your current CAC from other channels?
2. Current State
- Do you have an existing referral/affiliate program?
- What's your current referral rate (% of customers who refer)?
- What incentives have you tried?
- Do you have customer NPS or satisfaction data?
3. Product Fit
- Is your product shareable? (Does using it involve others?)
- Does your product have network effects?
- Do customers naturally talk about your product?
- What triggers word-of-mouth currently?
4. Resources
- What tools/platforms do you use or consider?
- What's your budget for referral incentives?
- Do you have engineering resources for custom implementation?
Referral vs. Affiliate: When to Use Each
Customer Referral Programs
Best for:
- Existing customers recommending to their network
- Products with natural word-of-mouth
- Building authentic social proof
- Lower-ticket or self-serve products
Characteristics:
- Referrer is an existing customer
- Motivation: Rewards + helping friends
- Typically one-time or limited rewards
- Tracked via unique links or codes
- Higher trust, lower volume
Affiliate Programs
Best for:
- Reaching audiences you don't have access to
- Content creators, influencers, bloggers
- Products with clear value proposition
- Higher-ticket products that justify commissions
Characteristics:
- Affiliates may not be customers
- Motivation: Revenue/commission
- Ongoing commission relationship
- Requires more management
- Higher volume, variable trust
Hybrid Approach
Many successful programs combine both:
- Referral program for customers (simple, small rewards)
- Affiliate program for partners (larger commissions, more structure)
Referral Program Design
The Referral Loop
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β ββββββββββββ ββββββββββββ ββββββββββββ β
β β Trigger βββββΆβ Share βββββΆβ Convert β β
β β Moment β β Action β β Referred β β
β ββββββββββββ ββββββββββββ ββββββββββββ β
β β² β β
β β β β
β βββββββββββββββββββββββββββββββββ β
β Reward β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step 1: Identify Trigger Moments
When are customers most likely to refer?
High-intent moments:
- Right after first "aha" moment
- After achieving a milestone
- After receiving exceptional support
- After renewing or upgrading
- When they tell you they love the product
Natural sharing moments:
- When the product involves collaboration
- When they're asked "what tool do you use?"
- When they share results publicly
- When they complete something shareable
Step 2: Design the Share Mechanism
Methods ranked by effectiveness:
- In-product sharing β Highest conversion, feels native
- Personalized link β Easy to track, works everywhere
- Email invitation β Direct, personal, higher intent
- Social sharing β Broadest reach, lowest conversion
- Referral code β Memorable, works offline
Best practice: Offer multiple sharing options, lead with the highest-converting method.
Step 3: Choose Incentive Structure
Single-sided rewards (referrer only):
- Simpler to explain
- Works for high-value products
- Risk: Referred may feel no urgency
Double-sided rewards (both parties):
- Higher conversion rates
- Creates win-win framing
- Standard for most programs
Tiered rewards:
- Increases engagement over time
- Gamifies the referral process
- More complex to communicate
Incentive Types
| 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-seeke |
FAQ
What is the difference between a referral and an affiliate program?
The guidance says referral programs use existing customers, while affiliate programs use partners who promote the product.
Does it help choose rewards?
Yes. It covers incentive structure and how to set the reward for each action.
Does it need my customer data?
It asks for customer value and current referral rates so the advice fits your numbers.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 33k
- Ranking position
- #8651
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
owasp-security
33kTeaches your agent OWASP security guidance for web apps, APIs, mobile, containers and AI agents, so it can spot common weaknesses and suggest fixes.
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
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.