Logo Referral Program

Referral Program

Cộng đồng
MoizIbnYousaf
referral-program

Designs viral referral programs with incentive structures, sharing mechanics, and tracking. Covers one-sided, two-sided, tiered, and milestone models with viral coefficient calculations. Use when someone wants word-of-mouth growth, viral loops, invite programs, or says 'referral', 'viral loop', 'word of mouth', 'invite program', 'refer a friend', 'growth loop', 'referral incentive', 'affiliate program', 'ambassador program', 'get users to invite friends', or 'organic growth'. Even casual mentions like 'how do I get my users to spread the word' or 'can users invite others' should trigger this. Includes anti-fraud measures and copy templates for both referrer and referee. Use this whenever user-driven acquisition or viral mechanics are discussed.

Tổng quan

Nhà phát hànhMoizIbnYousaf
Kho mãmarketing-cli
Tên kỹ năngreferral-program
Sao
35
Bản fork
5
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được MoizIbnYousaf công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Referral Program trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/referral-program
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MoizIbnYousaf/marketing-cli.git /tmp/marketing-cli
mkdir -p .claude/skills
cp -r /tmp/marketing-cli/skills/referral-program .claude/skills/referral-program
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Referral Program trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Referral Program ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Referral Program không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Referral Program Design

Purpose

Design a referral program that turns existing users into an acquisition channel. Define the incentive model, sharing mechanics, copy, and launch plan. Focus on programs that actually get used — not "refer a friend" links that collect dust.

Reads

  • brand/audience.md — Personas, what they value, their networks
  • brand/positioning.md — Value props, pricing context for incentive sizing
  • brand/voice-profile.md — Brand voice for all referral copy

Brand Integration

  • audience.md — Incentive type depends on audience. B2B audiences prefer account credits. B2C audiences prefer discounts or free months. Developer audiences prefer swag or extended trials.
  • positioning.md — Referral messaging reinforces the brand's positioning angle, not generic 'share with a friend' copy. If positioning is around simplicity, the referral CTA is 'Know someone drowning in complexity?'
  • voice-profile.md — All referral copy (dashboard prompts, share text, emails) should match the brand voice. A casual brand writes "Your friend's gonna love this" while a professional brand writes "Share a professional recommendation."

Workflow

Step 1: Choose Referral Model

Evaluate and recommend the right model:

One-Sided (Referrer only gets reward)

  • Best for: High-value products, enterprise, low-frequency purchases
  • Pros: Simple, lower cost per referral
  • Cons: Less motivation for referee to convert
  • Example: "Give your friend our link, you get $50 credit"

Two-Sided (Both get reward)

  • Best for: SaaS, marketplaces, subscription products
  • Pros: Higher conversion (referee has incentive), feels fair
  • Cons: Higher cost per referral
  • Example: "Give $20, get $20"

Tiered (Rewards increase with referral count)

  • Best for: Products with power users, community-driven products
  • Pros: Creates referral champions, gamification
  • Cons: Complex to communicate, top-heavy rewards
  • Example: "1 referral = 1 month free. 5 = premium forever."

Milestone (Unlock rewards at specific counts)

  • Best for: Products wanting viral moments
  • Pros: Creates sharing bursts, clear goals
  • Cons: Can feel like a grind
  • Example: "3 friends = swag. 10 friends = lifetime access."

Selection criteria:

  • Product price point and margins
  • Customer lifetime value (can you afford the incentive?)
  • Network effects (does the product get better with more users?)
  • Purchase frequency (one-time vs recurring)

Step 2: Define the Incentive

Incentive Types
TypeBest WhenExample
Account creditRecurring subscription"$20 off next month"
Extended trialFreemium model"+7 days of Pro"
Feature unlockGated features exist"Unlock advanced analytics"
Cash/gift cardHigh LTV, B2B"$50 Amazon card"
DiscountE-commerce, one-time"25% off next purchase"
DonationMission-driven brand"$10 to charity of choice"
Exclusive accessWaitlist/beta"Skip the waitlist"
Physical swagCommunity brand"Free branded merch"
Incentive Sizing Rules
  • Referrer reward should be 10-25% of first-year LTV
  • Referee reward should lower the barrier to first purchase
  • Two-sided: referee reward can be smaller than referrer reward
  • Always test: the "right" incentive is discovered, not guessed
  • Stack with existing promotions cautiously — don't train discount hunters

Step 3: Design Sharing Mechanics

Sharing Methods (Offer All, Optimize for Top 2)

Unique referral link (required, baseline)

  • Personal URL: product.com/ref/[username] or product.com/r/[code]
  • One-click copy button
  • Auto-populated share text

Referral code (supplement to link)

  • Short, memorable: 4-6 characters
  • Personalizable: user's name or custom code
  • Easy to share verbally

Email invite (high-intent channel)

  • Import contacts option (Google, Outlook)
  • Or manual email entry
  • Pre-written message, editable by user

Social sharing (volume channel)

  • Twitter/X: Pre-populated tweet with link
  • LinkedIn: Professional framing for B2B
  • WhatsApp/SMS: Direct message with link
  • Platform-native share sheet on mobile

In-product prompts (highest conversion trigger)

  • Post-success moment: "You just [achievement]! Share with a friend?"
  • Milestone celebration: "You've been using [Product] for 30 days!"
  • Team detection: "Looks like [colleague] could use this too"
Friction Reduction Checklist
  • One-click sharing (no extra steps)
  • Pre-written share text (editable)
  • Referral link visible in dashboard at all times
  • Mobile-optimized sharing flow
  • No login required for referee to see the offer
  • Referee landing page explains the incentive immediately

Step 4: Write Referral Copy

Referrer-Facing Copy

Dashboard prompt:

Give [incentive], Get [incentive]

Share [Product] with friends and you both get rewarded.
You've earned [X] so far from [Y] referrals.

[Copy Your Link]  [Invite by Email]

Post-achievement trigger:

Nice — you just [achievement]!

Know someone who'd love this too?
Share your link and you both get [incentive].

[Share Now]  [Maybe Later]

Email nudge:

Subject: You have $[X] in referral rewards waiting

You've been using [Product] for [X] weeks and
[specific achievement]. Know someone who'd benefit?

Share your personal link and you both get [incentive]:
[referral link]

[Share via Email]  [Copy Link]
Referee-Facing Copy

Referral landing page:

[Referrer name] invited you to [Product]

[Referrer] thinks you'd love [Product] — and they're
giving you [incentive] to try it.

[What Product Does — one sentence]

[Claim Your [Incentive]]

[Social proof: X users, rating, testimonial]

Referee welcome email:

Subject: [Referrer] gifted you [incentive] for [Product]

Welcome! [Referrer name] shared [Product] with you
and you've got [incentive] waiting.

Here's how to get started:
1. [Quick start step]
2. [Quick start step]
3. [Quick start step]

[Get Started with [Incentive]]

Step 5: Plan Launch Strategy

Pre-Launch (1 week before)
  • Seed with top 10% most active users first
  • Personal email from founder: "You're getting early access to our referral program"
  • Goal: Get first 50 referrals to validate mechanics
Launch (Week 1)
  • In-app announcement banner for all users
  • Email blast to full user base
  • Social media announcement
  • Add referral link to user dashboard permanently
Sustained Growth (Ongoing)
  • Trigger-based prompts (post-achievement, milestone, NPS 9-10)
  • Monthly referral leaderboard (optional, for tiered/milestone)
  • Seasonal boost: "Double rewards this month"
  • New user onboarding: mention referral program during setup

Viral Coefficient Calculation

Viral Coefficient (K) = i x c

i = invitations sent per user
c = conversion rate of invitations

K > 1 = viral growth (each user brings >1 new user)
K = 0.5 = healthy referral supplement
K < 0.2 = program needs work

Example:
- Average user sends 5 invites
- 15% of invites convert
- K = 5 x 0.15 = 0.75 (strong, not viral)

To improve K:
- Increase i: More sharing triggers, easier sharing mechanics
- Increase c: Better referee landing page, stronger incentive

Referral Program Metrics

MetricFormulaHealthy Range
Participation rateUsers who shared / Total users10-25%
Shares per userTotal shares / Participating users3-8
Invite conversion rateSignups / Total shares10-25%
Referral revenue %Referred revenue / Total revenue15-35%
Time to first referralAvg days from signup to first share<30 days
Viral coefficientInvites x Conversion rate>0.3
Referral CACProgram cost / Referred customers<Paid CAC

Anti-Patterns

  • Referral link buried in settings — if users can't find it, they won't share. It needs to be visible in the main dashboard, not hidden three clicks deep.
  • Requiring both parties to be paid users before reward triggers — this kills conversion because the referee has no incentive to sign up, and the referrer waits forever for credit.
  • Complex reward rules nobody understands — if the incentive takes more than one sentence to explain, participation drops. Simplicity drives sharing.
  • Rewards that expire too quickly (<30 days) — referrers who discover the program after a few weeks feel cheated. Give at least 90 days.
  • No tracking dashboard for referrers — without visibility into "how many people clicked, how many signed up," referrers lose motivation to keep sharing.
  • Generic share text that sounds corporate — "Check out this tool" gets ignored. Pre-written text should sound like something a real person would say.
  • Making the referee create an account before seeing the product — the referee should see the value (and their incentive) before being asked to commit.

Edge Cases

  • B2B enterprise: End-users often aren't the buyers. Referral must target decision-makers. Consider "recommend to your network" framing instead of "invite a friend." Reward the referrer's company, not just the individual.
  • Marketplaces (two-sided): Design separate referral programs for each side (e.g., rider referral vs. driver referral). Each side needs different incentives and copy.
  • Pre-launch / no existing users: Use waitlist-style referrals (Morning Brew model). "Refer friends to move up the waitlist" or "Unlock early access by inviting 3 friends."
  • Low-price products: Cash incentives may exceed product value. Use product-based rewards (extra storage, extended trial, feature unlock) instead of money.

Launch Measurement Milestones

  • Week 2: Check participation rate (target: >5% of active users sharing) and shares per user (target: >2). If below, the prompt timing or incentive needs adjustment.
  • Month 1: Evaluate invite conversion rate (target: >10%) and K-factor (target: >0.3). If conversion is low, the referee landing page or incentive needs work.
  • Month 3: Full program review — referral CAC vs. paid CAC, referred customer LTV vs. average LTV, fraud rate. Decide whether to scale, adjust incentives, or restructure the model.

Output

Each referral program design produces:

  • Recommended model with justification
  • Incentive structure (type, size, trigger conditions)
  • Sharing mechanics spec (channels, copy, UX flow)
  • Referrer and referee copy for all touchpoints
  • Launch plan (pre-launch, launch, sustained)
  • Metrics dashboard spec
  • Viral coefficient projection

Quality Checks

  • Incentive is ROI-positive (reward < LTV margin)
  • Sharing flow is 2 clicks or fewer
  • Copy provided for both referrer and referee touchpoints
  • Anti-fraud measures defined (at minimum: email verification, delayed payout)
  • Referee landing page has clear incentive + product value + CTA
  • Referral link is visible in user dashboard, not buried in settings
  • Copy matches brand voice (if voice-profile.md exists)
  • Launch plan includes measurement milestones with specific targets

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Referral Program làm được gì?

Designs viral referral programs with incentive structures, sharing mechanics, and tracking. Covers one-sided, two-sided, tiered, and milestone models with viral coefficient calculations. Use when someone wants word-of-mouth growth, viral loops, invite programs, or says 'referral', 'viral loop', 'word of mouth', 'invite program', 'refer a friend', 'growth loop', 'referral incentive', 'affiliate program', 'ambassador program', 'get users to invite friends', or 'organic growth'. Even casual mentions like 'how do I get my users to spread the word' or 'can users invite others' should trigger thi...

Vì sao nên dùng Referral Program trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Referral Program là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Referral Program trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/referral-program. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Referral Program?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Referral Program với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Referral Program với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Referral Program có miễn phí không?

Có. Kỹ năng này được MoizIbnYousaf phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇