Skip to main content
skill CX Codex

referral-program · manojbajaj95 — Claude Code skill: design referral and affiliate programs

The referral-program skill helps you design and optimize referral and affiliate programs: selecting the right type, structuring incentives, identifying share moments, and defining success metrics.

MIT 215 installs ★ 114 updated 2026-09-18

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manojbajaj95/claude-gtm-plugin --skill referral-program -a claude-code
Open on GitHub

What referral-program does

The skill walks through the core steps: gather context (program type, customer LTV, current CAC), identify high-intent trigger moments, choose a share mechanism (in-product link, personalized URL, email, code), and design incentive structures (single-sided, double-sided, tiered). It includes pre-launch and first-30-day checklists, email sequence templates, a troubleshooting table for common friction points, and metrics for program health (active referrers, conversion rate, impact on CAC and churn).

The skill asks clarifying questions up front to stay focused and hands off adjacent work—go-to-market strategy, email automation, attribution tracking—to other skills. Works for B2B and B2C, but assumes your product is shareable or you already have a baseline to optimize from.

What it helps with

  • design an incentive structure for a referral program
  • identify the best moments to ask customers to share
  • choose a share mechanism: in-app link, code, email invitation
  • diagnose why referral conversion is low and fix it
  • plan and run A/B tests on incentive type, messaging, and placement

Example prompts for the agent

  • Design a referral program for a SaaS product with 5000 LTV and 800 CAC
  • When should we prompt customers to refer—right after onboarding or after a milestone?
  • Compare double-sided vs. single-sided rewards for our use case

How to install referral-program

1Skills CLI (Vercel)

npx skills add manojbajaj95/claude-gtm-plugin --skill referral-program -a claude-code

2Manually: put the files in place

~/.claude/skills/referral-program/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/referral-program/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about referral-program

How do I install referral-program in Claude Code?

Run npx skills add manojbajaj95/claude-gtm-plugin --skill referral-program -a claude-code, then open ~/.claude/skills/referral-program/SKILL.md.

What does the referral-program skill do?

It guides you through designing and optimizing referral and affiliate programs: selecting program type, structuring rewards, identifying trigger moments, choosing share mechanisms, and measuring success with A/B tests and key metrics.

What's the difference between a referral program and an affiliate program?

Referral programs engage existing customers to recommend to their network, typically with a one-time reward. Affiliate programs recruit content creators and influencers who may not be customers, with ongoing commissions and higher volume.

Source text

SKILL.md · MIT
---
name: referral-program
description: "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."
---

# Referral & Affiliate Programs

## Workspace Context

Read bootstrap context before asking questions: `strategy/brand.md` for brand, audience, offer, channels, tools, constraints, and metrics; `about/me.md` for personal voice; `content/ideas.md` and `content/calendar.md` for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to `content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md`, and route durable learnings back to `strategy/brand.md`, `about/me.md`, or `content/ideas.md`.

## Operating Contract

This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.



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

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:**
1. In-product sharing (highest conversion)
2. Personalized link
3. Email invitation
4. Social sharing
5. 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](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](references/affiliate-programs.md)

---

## Task-Specific Questions

1. What type of program (referral, affiliate, or both)?
2. What's your customer LTV and current CAC?
3. Existing program or starting from scratch?
4. What tools/platforms are you considering?
5. What's your budget for rewards/commissions?
6. Is your product naturally shareable?

---

## Related Skills

- **go-to-market-strategy**: For launching referral programs effectively
- **marketing-automation**: For referral nurture campaigns
- **copywriting-core**: For referral motivation and message framing
- **data-and-funnel-analytics**: For tracking referral attribution

© manojbajaj95 · MIT · manojbajaj95/claude-gtm-plugin

Similar skills

All skills for Marketing and content →

referral-program by other authors comes first.

referral-program appeeky referral-program is a Claude Code skill for planning in-app referral programs, from reward design to fraud controls. It activates for requests about invite links, refer-and-earn mechanics, or viral growth. CX Codex +1 1,900installs referral-program Alireza Rezvani referral-program plans referral or affiliate programs and diagnoses weak points in an existing referral loop. CX Codex +1 587installs referral-program kostja94 referral-program is a Claude Code skill for planning and setting up referral programs. It activates on requests about referral rewards, codes, tracking, or word-of-mouth growth. CX Codex +1 1,100installs referral-program OpenClaudia Guides AI agents in designing referral programs and viral loops. It covers incentive structures, viral coefficient math, and invite copy. CX Codex +1 437installs referral-incentive-design Maya-Beth Finotti referral-incentive-design works out the reward structure for a customer refer-a-friend program: who gets paid, in what form, how much. Useful when you need a bonus amount and a payout moment. CX Codex +1 17,000installs referrals coreyhaines31 The referrals Claude Code skill helps plan referral and affiliate programs. It comes into play when choosing incentives, setting up a sharing loop, or diagnosing referral conversion. CX Codex +1 83,500installs referral-growth vivy-yi referral-growth provides growth playbooks for Xiaohongshu through share triggers, viral challenges, and follower referral programs. CX Codex +1 164installs referral-abuse-guardrails Maya-Beth Finotti referral-abuse-guardrails is a Claude Code skill that creates a guardrail spec for refer-a-friend programs, covering reward caps, hold windows, eligibility, verification, and enforcement. CX Codex +1 17,100installs design-referral gtmagents design-referral is a Claude Code command that designs referral programs with incentives, rules, and governance, producing a charter, stakeholder deck, and risk log. CX Codex +1 ★ 450repo stars media-use heygen-com media-use is a Claude Code skill that finds and generates media for HyperFrames projects, saving files to assets. It handles HeyGen search, voice generation, background audio, and video grading. CX Codex +1 1,500,000installs copywriting coreyhaines31 copywriting — a skill for Claude Code, Codex, Cursor and other platforms that helps write and rewrite page text—homepage, landing, pricing, feature descriptions. CX Codex +1 257,800installs seo-audit coreyhaines31 A skill for Claude Code, Codex, and Cursor that guides technical SEO audits. Diagnoses traffic drops, indexing issues, canonical tags, and multilingual setups. CX Codex +1 257,200installs

From the same set41

The whole set →
challenge-funnel Builds multi-day challenge funnels: five-day bootcamps, launches with live sessions, daily tasks, and a flagship offer pitch at the end. CX Codex +1 224installs x-impact-checker x-impact-checker scores X (Twitter) drafts across 19 engagement factors and suggests edits before you post. CX Codex +1 219installs youtube-content youtube-content is a Claude Code skill that creates or reviews video hooks, compares title and thumbnail ideas, and builds research-based YouTube plans. CX Codex +1 218installs free-tool-strategy free-tool-strategy is a skill for planning a free calculator, generator, or other tool to attract leads and organic traffic, from idea validation through launch planning. CX Codex +1 217installs crm-integration crm-integration is a Claude Code skill with integration patterns for Close CRM, HubSpot, and Salesforce, covering lead sync, deal creation, and webhook handlers. CX Codex +1 211installs ph-content-recycling ph-content-recycling repurposes Product Hunt launch assets into blog posts, documentation, social threads, and emails. Saves drafts directly to your workspace. CX Codex +1 208installs youtube-research youtube-research — a skill for Claude Code, Codex, Cursor and other agents that searches YouTube, pulls channel and video stats from the YouTube Data API v3, and breaks down transcripts for hooks and retention patterns. CX Codex +1 200installs content-strategy-and-planning content-strategy-and-planning organizes content pillars, editorial schedules, and AI search visibility. Generates drafts and buyer-stage messaging directly inside your project files. CX Codex +1 157installs

Project sponsors

Companies that keep this analytics open