Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add deciqAI/knowledge-skills --skill referral-loop-designgit clone --depth 1 https://github.com/deciqAI/knowledge-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/deciqai/knowledge-skills/referral-loop-design)<a href="https://agentmods.dev/skills/deciqai/knowledge-skills/referral-loop-design"><img src="https://agentmods.dev/badge/skills/deciqai/knowledge-skills/referral-loop-design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/deciqai/knowledge-skills/referral-loop-design"><img src="https://agentmods.dev/badge/skills/deciqai/knowledge-skills/referral-loop-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.00638 |
| Opus 5.5 | $0.00031 | $0.00255 |
| Sonnet 5.5 | $0.00015 | $0.00128 |
| Haiku 4.5 | $0.00008 | $0.00064 |
Grade A, and why
referral-loop-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Referral Loop Design — Turn Customers into a Channel
Overview
A referral loop is a repeatable cycle where using the product produces new users: a happy customer is prompted, at the right moment, with the right incentive and an easy share, and the new user enters the same loop. Loops compound; one-off "refer a friend" banners don't. Referrals only work on a product people already value — they amplify love, they don't create it.
The Process
- Verify the precondition — strong retention/NPS. Gate: referring a product people don't love just spreads churn — fix retention first.
- Pick the trigger moment — right after a value peak (a win, a result, an "aha"), not at signup. (Pairs with peak-end thinking.)
- Choose the incentive type — double-sided (giver + receiver), status, or pure delight — matched to the audience's motivation.
- Remove friction — one-tap share, pre-written message, obvious reward. Gate: any extra step halves participation.
- Close the loop — the referred user lands in an experience that gets them to their own value fast, then hits the same trigger.
- Instrument K-factor — invites sent × conversion; iterate the weakest step. Gate: K without measuring each step = you can't tell what to fix.
When to Use
- Loved product with weak organic spread
- Designing/relaunching a referral program
- Cheap growth for low-budget SMBs/creators
Applying It Well
- Timing (post-value) matters more than reward size.
- Double-sided incentives usually beat one-sided.
- Referred users often retain better — treat their onboarding as sacred.
Red Flags
- Bolting referrals onto a leaky-retention product.
- Asking at signup, before any value.
- Multi-step share flows that kill participation.
Verification
- Retention/NPS precondition met
- Trigger fires at a value peak
- Incentive matched to audience; share is one-tap
- Each loop step instrumented and iterated
Part of deciqAI Knowledge Skills — 253 open-source thinking skills that make rigor executable for AI agents. The same skills power every deciqAI agent, which runs them autonomously to operate your company. See it run → https://www.deciqai.com/s/referral-loop-design · Built by deciqAI · github.com/deciqAI · Contributions welcome.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed 00a532c06906
- 3mo ago First seen · 44 lines · 77 tokens per session scan A 61ffcb8a2679
referral-loop-design is a skill published in the GitHub repository deciqAI/knowledge-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 638 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
referral-loop-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| referral-loop-designdeciqAI/knowledge-skills | Skill | 18 | 1mo ago | MIT | A | 77 | Claude Code, Codex |
| ai-adoption-leadalebgl77/claude-inc | Skill | 23 | 4d ago | MIT | A | 24 | Claude Code |
| compliance-checkalebgl77/claude-inc | Skill | 23 | 4d ago | MIT | A | 21 | Claude Code |
| ui-ux-pro-maxalebgl77/claude-inc | Skill | 23 | 4d ago | MIT | A | 23 | Claude Code |
| cto-advisoralebgl77/claude-inc | Skill | 23 | 4d ago | MIT | A | 18 | Claude Code |
| growth-engineeringalebgl77/claude-inc | Skill | 23 | 4d ago | MIT | A | 16 | Claude Code |
| ai-seoalebgl77/claude-inc | Skill | 23 | 4d ago | MIT | A | 21 | Claude Code |