referrals
Helps your agent create and optimize referral and affiliate marketing programs. It enables your agent to analyze strategies for getting more customers to refer others.
What it does
This tool helps create and improve programs where your customers refer new customers or partners. It can be used for referral programs, affiliate programs, or word-of-mouth strategies.
When to use it
- ✓When you want your current customers to refer friends.
- ✓When you want to work with influencers or partners to promote your product.
- ✓When you want to understand why few people are referring your product.
Example of what to ask your AI
“How can I create a referral program for my fitness app?”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool analyzes your product and customers to suggest the best way to encourage referrals. It considers the program type (referral or affiliate), what to offer as a reward, and where to ask people to refer.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add coreyhaines31/marketingskills --skill referralsOr download just the file:
curl -L https://raw.githubusercontent.com/coreyhaines31/marketingskills/main/skills/referrals/SKILL.md -o SKILL.mdTechnical 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. 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?
Should You Engineer Virality First?
Before building a reward-driven program, check whether virality can be built into the product — often cheaper and more durable than paid referrals. But don't force virality where it doesn't naturally fit.
Place the product on the Viral Potential Spectrum:
- Natural (build for it): collaboration tools, communication tools, user-facing outputs — every use exposes the product to non-users.
- Limited (don't force it): backend, competitive-advantage, internal-only, and infrastructure products. Invest in referral programs, content, and partnerships instead.
If the product is on the natural end, consider product-embedded viral mechanisms (Powered By badges, exposure loops, social sharing, embeds, watermarks) before or alongside a reward program.
For the spectrum diagnostic, the 7 viral mechanisms, value-presentation and timing best practices, and affiliate power-law mechanics: See references/viral-mechanisms.md
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
For partner recruitment/activation, cohort economics, executable terms, reconciliation, and measured incremental growth, load the operating playbook. This expands the existing affiliate branch instead of creating an overlapping skill.
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
Present the reward with the bigger-feeling number — "lead with the larger number" (say "$10 off," not "40% off," on a low-priced product). Reward at the aha moment or milestone, not signup. Reduce friction: one-click share, pre-written messages.
For examples and incentive sizing: See references/program-examples.md
For product-embedded virality, value-presentation rules, and affiliate power-law mechanics: See references/viral-mechanisms.md
Program Optimization
Improving Referral Rate
If few customers are referring:
- Ask at better moments
- Simplify sharing process
…
FAQ
What's the difference between a referral program and an affiliate program?
A referral program is when your existing customers refer friends. An affiliate program is when partners (who may not be customers) promote your product in exchange for a commission.
What is 'virality'?
Virality is when using your product naturally leads to more people discovering it, without needing paid ads. Examples include collaboration tools or sharing features.
How do I know if my product is good for referrals?
Your product is good for referrals if customers naturally talk about it, if it has benefits for group use, or if using it creates something that others see.
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,' 'partner program,' 'referral incentive,' 'how to get referrals,' 'customers referring customers,' 'affiliate payout,' 'get more reviews,' 'G2 reviews,' 'review ca
Popularity
- GitHub stars
- 55k
- Ranking position
- #1792
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
ab-testing
Helps your agent plan and run A/B tests. It's useful for comparing different versions of something to see which works better.
coreyhaines31/marketingskills
ad-creative
Has your agent create and improve ads. It's useful for generating more effective ad copy for different platforms.
coreyhaines31/marketingskills
ads
Helps your agent with paid advertising campaigns. It's useful for managing ads on platforms like Google and Facebook.
coreyhaines31/marketingskills
ai-seo
Helps your agent optimize content for AI searches. It's useful for getting your content to appear in AI-generated answers.
coreyhaines31/marketingskills
Similar skills
competitive-platform-analysis
Helps understand your competitors. It identifies, categorizes, and filters competing companies before any deeper analysis.
affaan-m/ECC
competitive-report-structure
Creates comprehensive competitor reports. It combines information to show the overall landscape, recommendations, and helps align the team.
affaan-m/ECC
lead-intelligence
Helps your agent find and contact important people. It analyzes leads, suggests approaches, and manages outreach via email and social media.
affaan-m/ECC