referral-program
When the user wants to plan, implement, or optimize referral program strategy. Also use when the user mentions "referral program," "referral marketing," "user referral," "refer-a-friend," "word-of-mouth growth," "referral rewards," "referral tracking," "referral code," "referral incentives," or "viral loop." For referral landing copy, use landing-page-generator.
Best use case
referral-program is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
When the user wants to plan, implement, or optimize referral program strategy. Also use when the user mentions "referral program," "referral marketing," "user referral," "refer-a-friend," "word-of-mouth growth," "referral rewards," "referral tracking," "referral code," "referral incentives," or "viral loop." For referral landing copy, use landing-page-generator.
Teams using referral-program should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/referral-program/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How referral-program Compares
| Feature / Agent | referral-program | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
When the user wants to plan, implement, or optimize referral program strategy. Also use when the user mentions "referral program," "referral marketing," "user referral," "refer-a-friend," "word-of-mouth growth," "referral rewards," "referral tracking," "referral code," "referral incentives," or "viral loop." For referral landing copy, use landing-page-generator.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
Best AI Agents for Marketing
A curated list of the best AI agents and skills for marketing teams focused on SEO, content systems, outreach, and campaign execution.
SKILL.md Source
# Channels: Referral Guides referral program strategy for AI/SaaS products. Leverage existing users to drive growth; 3%-5% conversion vs 1%-2% for ads; CAC 50%-70% lower; referred users LTV 30%-50% higher, retention 20%-30% higher. Referral is necessity in overseas markets, not alternative. **When invoking**: On **first use**, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On **subsequent use** or when the user asks to skip, go directly to the main output. ## Initial Assessment **Check for project context first:** If `.claude/project-context.md` or `.cursor/project-context.md` exists, read it for product, audience, and value proposition. Identify: 1. **Product type**: SaaS, AI tool, subscription 2. **User base**: Size, engagement, retention 3. **Goal**: Signups, purchases, or both ## Referral vs. Affiliate vs. Influencer | Dimension | Referral | Affiliate | Influencer | |-----------|----------|-----------|------------| | **Who** | Existing users | Professional promoters | KOLs | | **Incentive** | Discounts, credits | Commission | Fees, product | | **Barrier** | Low (all users) | Medium | High | | **Conversion** | 3%-5% | Varies | Varies | **Referral vs affiliate**: Referral needs no landing page or application; integrated in dashboard. Affiliate requires landing page and approval. ## Reward Models | Model | Use | |-------|-----| | **Two-way** | Both referrer and referee get rewards; highest participation | | **One-way** | Only referrer rewarded; cost control | | **Tiered** | Rewards increase with referral count (e.g. $10 for 1-5, $15 for 6-10, $20 for 11+); incentivizes volume | **Benchmark**: Rewards typically 10%-30% of product price; ~11% off or ~$21 value; weak incentives = low participation. Triggers: signup, purchase, activation, or sustained use. ## Mechanism Types | Type | Use | |------|-----| | **Link-based** | Unique referral link; easy to implement; accurate tracking; share via email, social, SMS; works for web and app | | **Code-based** | Referral code (e.g. FRIEND20); memorable; offline events; mobile-friendly input | | **Social referral** | Share buttons (Facebook, X, LinkedIn); viral spread; friend trust; young users | ## Tracking & Attribution | Method | Use | |-------|-----| | **Cookie** | Web apps; 30-90 day window | | **URL params** | All platforms; persistent in link | | **Referral code** | Mobile, offline; manual entry | | **Account association** | Long-term tracking; subscription products | **Attribution window**: 30-90 days typical; 180 days for subscription. First-touch attribution to avoid double-counting. ## Fraud Prevention | Risk | Action | |------|--------| | **Self-referral** | Detect same device, payment, IP | | **Fake accounts** | Validate email, payment; monitor patterns | | **Bulk/automation** | Rate limits; anomaly detection | | **Per-user cap** | e.g. Max 10 referrals per user | Use tool anti-fraud features; audit referrals regularly. ## Design Framework 1. **Reward structure**: Type (cash, discount, credits, free service); amount (10%-30% of price); trigger; cap 2. **Tracking**: Choose method; set attribution window; first-touch rule 3. **UX**: One-click share; clear rules; dashboard with referral data; notify on success 4. **Fraud prevention**: See above 5. **Monitor & optimize**: Referral rate, conversion, CAC, LTV; A/B test rewards and flow ## Best Practices - **Run multiple programs**: Target different audiences, stages, goals - **Tiered rewards**: Motivate top performers; progressive incentives - **Friction-free sharing**: Mobile-friendly; one-click share - **Time-boxed incentives**: "Refer this week for $15 off" creates urgency - **Placement**: Web, email, app, in-product touchpoints; dashboard integration primary ## Implementation | Approach | Use | |----------|-----| | **Self-build** | Full control; low cost; URL params or cookie + reward logic + fraud checks; open-source (e.g. RefRef) for faster start | | **Third-party** | Fast launch; Cello, Viral Loops, ReferralCandy (e-commerce), Impact (enterprise); monthly fee | **Placement**: Most programs integrate in product dashboard; no landing page or application needed. Optional landing page for value prop, rewards, and case studies. **Startup cost**: Typically hundreds for tools + dev. ## Tools | Tool | Use | |------|-----| | **Cello** | SaaS; AI-driven automation | | **Viral Loops** | Referral + waitlist + contests | | **ReferralCandy** | Shopify, e-commerce | | **Impact** | Enterprise; unified platform | | **RefRef** | Open-source; self-hosted | ## KPIs Referral rate, conversion, CAC, LTV of referred users, referred-user retention. ## Output Format - **Reward model** and mechanism type (link/code/social) - **Tracking** approach and attribution window - **Placement** (dashboard vs landing page) - **Fraud prevention** measures - **Tool** selection (self-build vs third-party) - **KPI** framework ## Related Skills - **discount-marketing-strategy**: Referral rewards (discounts, credits); 10–30% benchmark; campaign design - **affiliate-marketing**: Different audience; can run both - **influencer-marketing**: Brand building vs. user-driven growth - **directory-submission**: Directory submission for discovery; referral for user-driven growth - **analytics-tracking**: Referral link tracking, UTM
Related Skills
programmatic-seo
When the user wants to create SEO pages at scale using templates and data—including AI-assisted, grounded copy for per-URL differentiation (vs rigid mail-merge templates). Also use when the user mentions "programmatic SEO," "programmatic SEO pages," "template pages," "scale content," "location pages," "city pages," "comparison pages at scale," "X vs Y pages," "integration pages," "pages from data," "automated landing pages," or "programmatic landing pages." Uses a playbook matrix aligned to skills under skills/pages. For user-facing template galleries or marketplaces (browse → use), use template-page-generator.
education-program
When the user wants to plan, implement, or optimize student and education discount programs. Also use when the user mentions "student discount," "education discount," "student plan," "for students," ".edu discount," "academic pricing," "student verification," "SheerID," "UNiDAYS," or "education program." For startup pricing page, use startups-page-generator.
creator-program
When the user wants to plan, implement, or optimize creator program strategy. Also use when the user mentions "creator program," "creator partnership," "content co-creation," "creator ambassador," "creator economy," "creator collaboration," "UGC program," "creator incentives," or "creator community." For influencers, use influencer-marketing.
website-structure
When the user wants to plan website structure, decide which pages to build, or prioritize pages for a new or existing site. Also use when the user mentions "website structure," "site structure," "which pages do I need," "page planning," "sitemap planning," "Must Have pages," "website architecture," or "site hierarchy." For a specific page template (e.g. homepage), use homepage-generator or landing-page-generator as appropriate. Not for organic SEO roadmap alone; use seo-strategy.
seo-strategy
When the user wants to plan SEO strategy, prioritize SEO work, or understand the SEO workflow. Also use when the user mentions "SEO strategy," "SEO plan," "SEO roadmap," "SEO priority," "SEO audit," "SEO workflow," "where to start SEO," "SEO approach," "organic growth strategy," "why SEO," "SEO value," or "search strategy." For technical/crawl audit execution, use seo-audit. For keyword research, use keyword-research. For AI search visibility, use generative-engine-optimization.
seo-audit
When the user wants to run an SEO audit, technical SEO audit, or site health check. Also use when the user mentions "SEO audit," "technical audit," "site audit," "crawl audit," "indexing audit," "SEO health," or "fix SEO issues." For prioritization and organic strategy, use seo-strategy. For GSC data analysis, use google-search-console.
retention-strategy
When the user wants to reduce churn, improve customer retention, or plan lifecycle marketing. Also use when the user mentions "retention," "churn," "customer lifecycle," "churn prevention," "at-risk customers," or "loyalty program." For lifecycle, use growth-funnel.
research-sources
When the user wants to find information sources for content ideation, competitor monitoring, or industry tracking. Also use when the user mentions "research sources," "information sources," "content ideation," "industry monitoring," "competitor monitoring," "market intelligence," "content research," or "topic research." For keywords, use keyword-research.
product-launch
When the user wants to plan a product launch, execute launch channels, or create a launch checklist. Also use when the user mentions "product launch," "launch strategy," "product announcement," "launch channels," or "market launch." For GTM motion and positioning, use gtm-strategy. For cold start and first users, use cold-start-strategy. For Product Hunt day-of, use product-hunt-launch.
pmf-strategy
When the user wants to validate product-market fit, measure PMF, or plan before scaling. Also use when the user mentions "PMF," "product-market fit," "product market fit," "Sean Ellis test," "very disappointed," "vitamin vs painkiller," "PMF validation," "premature scaling," or "validate before scale." For GTM after validation, use gtm-strategy.
indie-hacker-strategy
When the user wants indie hacker or bootstrapping founder strategy—growth, channels, Build in Public, or solo founder tactics. Also use when the user mentions "indie hacker," "indie developer," "bootstrapping," "bootstrapped founder," "solo founder," "Build in Public," "scratch your own itch," "Micro-SaaS," "first 100 users," or "solo company." For cold start, use cold-start-strategy.
gtm-strategy
When the user wants to plan go-to-market strategy, GTM framework, or market entry. Also use when the user mentions "GTM," "go-to-market," "market entry," "new market," "repositioning," "PLG," "sales-led," "product-led," "marketing-led," "ICP," "buyer persona," "GTM motion," or "market expansion." For launch checklist, use product-launch.