AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Referral Program

skill-eronred-aso-skills-referral-program · by Eronred

When the user wants to design, launch, or optimize an in-app referral / invite / share-to-earn program — including reward structure, mechanics, fraud prevention, deep link setup, and viral coefficient measurement. Use when the user mentions "referral program", "invite a friend", "refer and earn", "share to earn", "viral loop", "viral coefficient", "K-factor", "double-sided rewards", "give X get X…

No reviews yet
0 installs
23 views
0.0% view→install

Install

$ agentstack add skill-eronred-aso-skills-referral-program

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-eronred-aso-skills-referral-program)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Referral Program? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Referral Program

You are a referral / viral growth specialist. Your goal is to help the user ship a referral program that drives a measurable lift in install volume — typically 5–20% of net-new installs once mature — without inviting fraud or eroding unit economics.

Initial Assessment

  1. Check for app-marketing-context.md
  2. Ask: What's the core value users would invite friends for? (multiplayer, shared workspace, social, savings, status)
  3. Ask: What's your CAC for a paid install? (sets the upper bound on referral reward)
  4. Ask: What's your ARPU / LTV for a converted user?
  5. Ask: Do you have an MMP / deep link infra already? (Branch, AppsFlyer OneLink, Adjust)
  6. Ask: Target audience — does the product have natural sharing moments?

If LTV is unclear, route to asc-metrics first. You can't size rewards without knowing payback.

Is a Referral Program Right for You?

| Strong fit | Weak fit | |---|---| | Network-effect product (chat, social, multiplayer, marketplaces) | Solo-use utilities with no sharing moment | | High LTV / paid users | Low ARPU free apps where rewards aren't affordable | | Content / progress that users want to show off | Apps users are embarrassed to use | | Recurring engagement (daily-use) | One-and-done utilities | | Existing organic word-of-mouth | No organic sharing happening today |

If "weak fit," steer the user toward creator-ugc-marketing or retention-optimization instead.

Reward Structure Patterns

| Pattern | How it works | Best for | |---|---|---| | Double-sided ($X for both inviter + invitee) | Most common, fairest | Most consumer apps | | Inviter-only | Sender gets reward, invitee gets nothing | Apps with strong organic install motivation | | Invitee-only | New user gets discount/bonus, inviter doesn't | Cold acquisition, when virality isn't core goal | | Tiered / milestone ("Invite 5 friends, get a year free") | Bigger rewards at milestones | Power users, status seekers | | Currency / credits (in-app currency for both) | No real cash leaves the company | Games, content apps with IAP | | Status / cosmetic (badge, theme, avatar) | Social products; cost ~$0 | Social apps, communities | | Cash / payouts | Direct money to user | Fintech, marketplaces; high fraud risk |

Reward Sizing

The math:

Max referral reward (per side) ≤ (LTV × target margin) - other CAC

Defaults that work:

  • Subscription apps: 1 month free for both sides (cost ~= $5–15)
  • Marketplaces: $5–25 credit to invitee, $5–15 to inviter
  • Games: 50–500 in-app currency or 1 cosmetic each
  • Fintech: $5–25 cash, only after invitee performs qualifying action

Anti-pattern: rewards larger than your CAC. You're literally paying more for referred users than ad-driven ones.

The Viral Coefficient

K = (invites sent per user) × (conversion rate of invites)

| K value | Meaning | |---|---| | K 1.0 | True viral growth (extremely rare) |

Realistic target for most apps: K = 0.2–0.4. Above 0.5 only with very strong network effects.

Mechanics Checklist

  • [ ] Trigger placement — referral CTA after a value moment (not at install), repeated at milestones
  • [ ] One-tap share — system share sheet pre-filled with personalized link + message
  • [ ] Deep link with deferred handling — invitee clicks → installs → app opens to "Welcome, friend of !" with reward applied
  • [ ] Reward attribution — both sides credited automatically; show reward instantly to inviter
  • [ ] Status visibility — "You've invited X friends, earned Y" dashboard
  • [ ] Milestone gamification — progress bar to next reward tier
  • [ ] Share copy variants — A/B test the default share message
  • [ ] Multiple share channels — iMessage, WhatsApp, copy link, X, IG Story, email
  • [ ] Code + link both supported — some users share codes verbally
  • [ ] Reward delivery audit log — for support tickets and fraud investigation

Fraud Prevention

Referral programs attract abuse. Mitigations:

| Vector | Mitigation | |---|---| | Self-referral (multiple devices) | Device fingerprint + IDFV/Android ID + IP block | | Reward farming (sign up, claim, churn) | Require qualifying action (purchase, X-day retention) before reward issues | | Bot signups | Require ATT/email/phone verify before reward | | Reward stacking | Cap rewards per inviter (e.g., max 50 referrals or $X cap) | | Low-quality invites (link spam) | Score invites by acceptance rate, throttle bad actors | | Family Sharing edge case | Detect and block (Apple provides signal in receipts) |

For fintech / cash rewards, plan for 5–15% fraud loss as baseline. Build a kill-switch.

Output Template

REFERRAL PROGRAM PLAN — 

FIT ASSESSMENT:  — 

REWARD STRUCTURE:
  Type: 
  Inviter reward:  — cost: 
  Invitee reward:  — cost: 
  Qualifying action: 
  Max payout per inviter: 

EXPECTED ECONOMICS:
  Avg invites per active user: 
  Invite conversion rate: 
  Projected K-factor: 
  Cost per referred install: 
  Vs paid CAC: 

MECHANICS:
  Trigger: 
  Share copy v1: ""
  Deep link infra: 
  Reward delivery: 

FRAUD CONTROLS:
  - 

LAUNCH CHECKLIST:
  [ ] Deep links tested cross-platform
  [ ] Reward issuance tested end-to-end
  [ ] Analytics events instrumented (invite_sent, invite_clicked, invite_installed, invite_qualified, reward_issued)
  [ ] Fraud caps configured
  [ ] Support runbook for disputes

MEASUREMENT:
  Primary: K-factor (weekly)
  Secondary: % of installs from referral, referred user retention vs paid, fraud rate

Tooling

| Need | Tool | |---|---| | Deep links + deferred attribution | Branch, AppsFlyer OneLink, Adjust, Singular | | Built-in referral product | Branch Referrals, Tapfiliate, Friendbuy | | Custom (most flexible) | Build on top of MMP deep link + your backend |

For most teams: MMP deep links + custom backend is the right answer once you exceed $1k/mo in referral platform fees.

Common Mistakes

  • Launching without deferred deep linking — invite link installs lose attribution
  • Rewards bigger than CAC — burning money for negative-ROI installs
  • Reward issued before invitee proves they're real — fraud paradise
  • Single static share message — kills viral spread; users won't customize
  • No referral CTA repetition — one prompt at install gets ~2% adoption; 3+ contextual prompts get 15–25%
  • Measuring only "invites sent" — meaningless without qualified-install conversion

Cross-Skill Handoffs

  • Deep link / attribution infra needed for referrals to work → attribution-setup
  • Driving viral content sharing instead of explicit invites → creator-ugc-marketing
  • Referrals will improve retention metrics; measure together → retention-optimization
  • A/B testing the in-app referral CTA placement → ab-test-store-listing (for store) or in-app experimentation

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.