Logo de Referral Program

Referral Program

Comunidade
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.

Visão geral

Publicado porMoizIbnYousaf
Repositóriomarketing-cli
Nome da habilidadereferral-program
Estrelas
35
Forks
5
Arquivos incluídos
3
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 3 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por MoizIbnYousaf no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Referral Program no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/referral-program
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Referral Program em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Referral Program automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Referral Program não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Referral Program faz?

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...

Por que usar Referral Program no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Referral Program é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Referral Program no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/referral-program. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Referral Program?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Referral Program?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Referral Program com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Referral Program é gratuita?

Sim. A habilidade é publicada no GitHub por MoizIbnYousaf sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇