referrals
π―SkillHelps you plan referral and affiliate programs, where customers or partners bring in new users for a reward. It helps you decide what to reward, how much to pay, and whether to build sharing into the product, like 'made with' badges.
Installation
npx skills add coreyhaines31/marketingskills --skill referralsRun it in a terminal; it asks which AI coding tools to install it for (Claude Code, Codex, Cursor and more).
Uses skills.sh Β· Node.js 22.20+
After installing
Ask for related work and the agent uses it on its own, or call it yourself.
/referralsInstall by hand
Copy the whole skill folder from GitHub to the place below. Copying only SKILL.md can leave out files the skill uses.
Open the skill folder β- This project
.claude/skills/referrals/ - All projects
~/.claude/skills/referrals/
These paths are for Claude Code. For other tools, the command above puts it in the right place.
SKILL.md
View on GitHub βWhen the user wants referral and affiliate programs or word of mouth, or asks what to reward, how much to pay, or which loop to start with: refer-a-friend incentives, commissions and payouts, partner programs, 'made with' badges, review campaigns. For launch virality, see launch. For creator deals, see influencer-marketing.
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
- 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
For affiliate power-law mechanics (buyout clauses ~12Γ monthly commission, the 20/80 super-promoter rule, launch-affiliate tactics): See references/viral-mechanisms.md
Review Programs
Reviews are the other half of customer advocacy. For review-request programs, responding to reviews, reputation triage, and reusing testimonials with permission (G2, Capterra, Trustpilot, Google, app stores), see references/review-programs.md. Platform rules differ, so check references/review-platform-rules.md before proposing incentives or automation.
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
More from this repository10
Helps you write or rewrite the text on website pages such as homepages, landing pages, and pricing pages. It keeps your own voice, writes only claims you can back up, and avoids phrases that sound like AI.
A skill that finds out why your website does not show up well in Google search and tells you what to fix first. It checks how search engines find your pages, then speed, titles and content.
Acts as a content strategist to plan content that drives traffic and leads, using topic clusters, buyer-stage keyword research and editorial priorities tied to customers and search. Helps decide what to write and why posts are not bringing customers.
Applies psychological principles and mental models to marketing, explaining why buyers behave as they do and how to influence decisions ethically. Covers biases like anchoring, social proof, scarcity, loss aversion and framing, plus strategic thinking models.
Helps brands get cited and recommended in AI-generated answers from Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini and Copilot. Covers AEO and GEO, AI visibility audits, content structure, llms.txt and agent-readable sites.
Edits, tightens and proofreads existing marketing copy without rewriting it from scratch, using a Seven Sweeps framework and an AI-tell check. Requests to fix a single line get a focused point edit to that line only.
Acts as a marketing strategist that draws on a library of 139 marketing ideas to suggest the most relevant growth tactics for a software product based on its stage, budget and goals.
Writes and evaluates ad creative such as headlines, primary text, and variations for Google, Meta, LinkedIn, TikTok, and X, checked against each platform's character limits. It can iterate from performance data, produce grounded static batches, and plan which ads to make next.
Helps create B2B sales collateral that reps actually use, including decks, one-pagers, objection handling, demo scripts, battle cards, proposals and win-loss analysis. It emphasizes scannable, outcome-focused content and claims reps can defend.
Helps run and synthesize customer research, from analyzing transcripts, surveys and reviews to mining Reddit and review sites and running interviews. It extracts jobs to be done, pains, triggers and customer language, and labels each insight with a confidence level.