referral-loop
Skill0 starsChanged 5 months agoMITView on GitHub
Designs viral and referral mechanics that turn happy users into growth — invite flows, incentives, and share loops. Use for network products, community platforms, or when word-of-mouth should drive sign-ups.
In this repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/engineering-skills.mdcCursor rule
- marketing-routerSkill
- accessibilitySkill
- agent-guardrailsSkill
- agent-memorySkill
- agent-verificationSkill
- autonomous-loopsSkill
- browser-checksSkill
- caching-strategySkill
- context-curationSkill
- contract-testingSkill
- data-modelingSkill
- decision-docsSkill
- dependency-hygieneSkill
- design-handoffSkill
- e2e-testingSkill
- experimentationSkill
- fault-recoverySkill
- feature-flagsSkill
- finops-budgetSkill
- git-flowSkill
- hardeningSkill
- i18n-l10nSkill
- idea-shapingSkill
- incident-responseSkill
- incremental-deliverySkill
- interface-designSkill
- launch-campaignSkill
- launch-readinessSkill
- llm-feature-engineeringSkill
- long-running-agentsSkill
- community-engagementSkill
- content-marketingSkill
- email-nurtureSkill
- growth-strategySkill
- paid-adsSkill
- seo-growthSkill
- social-distributionSkill
- micro-interactionsSkill
- migration-pathSkill
- mobile-patternsSkill
- observabilitySkill
- orchestrated-deliverySkill
- parallel-subagentsSkill
- perf-budgetSkill
- pipeline-opsSkill
- product-briefSkill
- product-discoverySkill
- product-groomingSkill
- react-patternsSkill
- resilienceSkill
- review-gateSkill
- simplifySkill
- skill-creatorSkill
- skill-harvestSkill
- skill-routerSkill
- source-firstSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use referral-loop checklist alongside this process.
- Distinctive: line 39
Never ask on sign-up screen before first value.
- Distinctive: line 66
Prefer access and status over cash for dev audiences.
- Distinctive: line 101
Ask to refer before first success
- Distinctive: line 104
No referrer context on friend's landing page
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Referral Loop
The best channel is users inviting users — especially for connection products where value grows with network size. Referral fails when the invite is spammy or the incentive feels like a pyramid scheme.
Chains from [[growth-strategy]] (ICP, north-star metric) and [[community-engagement]] (engaged users refer more). Complements [[email-nurture]] (referral prompts in sequences) and [[social-distribution]] (share assets).
Use referral-loop checklist alongside this process.
When to Use
- Network/product value increases with more users (developer-connection, communities)
- NPS or satisfaction high but organic invites low
- Launching invite-only or waitlist with referral priority
- Adding "invite a friend" to activation flow
Skip when: product isn't shareable, no clear invite moment, or core experience broken (fix product first).
Process
1. Find the natural invite moment
Best triggers — user just got value:
| Moment | Example copy |
| First successful connection | "Know someone who'd benefit?" |
| Profile complete | "Invite a colleague to join you" |
| Weekly win | "Share what you built" |
| Waitlist | "Move up by inviting friends" |
Never ask on sign-up screen before first value.
2. Design the loop
User gets value → Prompt to share → Easy share mechanism → Friend lands → Friend activates
↑___________________________________|
(reward optional)Components:
- Share link — unique referral URL per user (
?ref=username) - Share copy — pre-written message user can edit (X, LinkedIn, email, copy link)
- Landing — friend sees referrer context ("Alex invited you")
- Tracking — attribute sign-up to referrer
- Reward (optional) — both sides benefit; keep ethical and simple
3. Incentive design (developer products)
| Type | Example | Risk |
| Access | Skip waitlist, unlock feature | Low — preferred |
| Status | Badge, early access | Low |
| Mutual benefit | Both get premium week | Medium — monitor abuse |
| Cash/gift cards | $10 per referral | High — fraud, wrong incentives |
Prefer access and status over cash for dev audiences.
4. Anti-abuse
- Cap rewards per month
- Require referred user to activate (not just sign up) before reward
- Block self-referrals and disposable emails
- Manual review if spike detected
5. Launch and measure
| Metric | Formula |
| Invite rate | % MAU who sent ≥1 invite |
| Viral coefficient (K) | invites × conversion rate |
| Referral % of sign-ups | referred / total new |
| Referred user activation | vs organic cohort |
K > 0.15 is meaningful for early products; K > 1.0 is exceptional.
6. Promote the loop
- In-app prompt at invite moment
- Email Day 7 in [[email-nurture]] sequence
- Community showcase of top referrers ([[community-engagement]])
- Social template for [[social-distribution]]
Common Rationalizations
- "Referral widget on homepage is enough" — Homepage visitors haven't experienced value yet.
- "Cash will make it viral" — Attracts fraud; devs prefer access/status.
- "No reward needed" — Small mutual benefit increases share rate 2x without feeling salesy.
Red Flags
- Ask to refer before first success
- Referral link broken or not tracked
- Reward on sign-up only — bots inflate numbers
- No referrer context on friend's landing page
- Pyramid-style multi-level rewards
Verification
- Invite moment identified (post-value, not pre-value)
- Share link, copy, landing page, tracking designed
- Incentive chosen with abuse caps
- Activation required before reward pays out
- Metrics dashboard or spreadsheet template ready
- In-app + email promotion planned
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

