
Referral & Affiliate Programs
FreeOptimize your customer growth through referrals.
Free · Opens the source repo
What Referral & Affiliate Programs does
The Referral & Affiliate Programs skill is designed to assist users in creating, optimizing, and analyzing referral and affiliate marketing strategies. This skill is particularly valuable for businesses looking to leverage their existing customers or partners to drive new customer acquisition. By focusing on viral growth tactics, it helps users transform customers into advocates who can effectively promote their products to their networks.
To use this skill effectively, users should first gather relevant product marketing context. This includes understanding the type of program they wish to implement (referral, affiliate, or both), their customer lifetime value (LTV), and their customer acquisition cost (CAC). The skill provides structured guidance on how to design referral loops, identify trigger moments for referrals, and select appropriate incentive structures to motivate both referrers and new customers.
The skill differentiates between customer referral programs, which are best suited for existing customers recommending products, and affiliate programs, which engage content creators and influencers to reach broader audiences. It outlines the characteristics and best practices for each type, helping users choose the right approach based on their specific business needs.
In addition to program design, the skill offers insights into optimizing referral rates and measuring success through key performance indicators. Users can learn how to run A/B tests to refine their strategies and troubleshoot common issues that may arise during implementation. This comprehensive approach makes the skill a valuable resource for marketers and business owners aiming to enhance their referral marketing efforts.
When to use it
Use this skill when you want to establish or improve a referral or affiliate marketing strategy to leverage existing customers for growth.
When not to use it
This skill may not be suitable for businesses without a clear product-market fit or those not interested in leveraging customer referrals for growth.
What you can build with it
Launching a New Referral Program
You want to create a referral program from scratch to encourage your existing customers to refer new users.
Optimizing an Existing Affiliate Program
You have an affiliate program in place but need to improve conversion rates and engagement from affiliates.
Analyzing Referral Program Performance
You need to measure the effectiveness of your referral program and identify areas for improvement based on key metrics.
How to install Referral & Affiliate Programs
View source1. Install with the skills CLI
npx skills add coreyhaines31/marketingskills/referrals --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by coreyhaines31Referral & 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.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, 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:
- In-product sharing (highest conversion)
- Personalized link
- Email invitation
- Social sharing
- 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
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
Task-Specific Questions
- What type of program (referral, affiliate, or both)?
- What's your customer LTV and current CAC?
- Existing program or starting from scratch?
- What tools/platforms are you considering?
- What's your budget for rewards/commissions?
- Is your product naturally shareable?
Tool Integrations
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 |
Related Skills
- launch: For launching referral program effectively
- emails: For referral nurture campaigns
- marketing-psychology: For understanding referral motivation
- analytics: For tracking referral attribution
Frequently asked questions about Referral & Affiliate Programs
Similar skills
Guideline Generation
Transform brand materials into actionable voice guidelines.
Landing Page Conversion Audit
Identify and fix conversion leaks on landing pages.
0-to-1 Launch
Accelerate your product launch to find early customers.
Competitor Ad Intelligence
Analyze and reverse-engineer competitor ad strategies.
Content Strategy
Generate data-driven content plans for your business.
Webinar Marketing
Optimize your webinars for better engagement and conversion.
