Logotipo de Referral Program

Referral Program

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

Descripción general

EditorMoizIbnYousaf
Repositoriomarketing-cli
Nombre de la habilidadreferral-program
Estrellas
35
Forks
5
Archivos incluidos
3
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 3 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por MoizIbnYousaf en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Referral Program en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/referral-program
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Referral Program en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Referral Program automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Referral Program no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu 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

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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 thi...

¿Por qué usar Referral Program en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Referral Program está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Referral Program en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/MoizIbnYousaf/marketing-cli/tree/main/skills/referral-program. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Referral Program?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Referral Program?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Referral Program con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Referral Program?

Sí. MoizIbnYousaf la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇