referral-program

referral-program is a skill for Claude Code, Codex from MoizIbnYousaf/marketing-cli. It costs 160 tokens per session (2,764 once invoked), scanned A, original, MIT.

A framework for designing referral programmes, where existing users invite other people and incentives encourage those invitations. It covers different reward and progress structures.

In plain words
What is it for?
Use it to plan one-sided or two-sided rewards, tiered incentives, milestones, referral messaging, and invitation flows.
Why use it?
It helps replace an undefined word-of-mouth idea with clear rewards, sharing steps, tracking, and a launch plan.

Skill for Claude CodeCodex

Part of the marketing-cli plugin — 88 skills, 9 commands, 1 hook, 2 MCP servers shipped together

Install

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.

agentmods
npx agentmods add skills/moizibnyousaf/marketing-cli/referral-program
Any agent
npx skills add MoizIbnYousaf/marketing-cli --skill referral-program
Clone the repo
git clone --depth 1 https://github.com/MoizIbnYousaf/marketing-cli

Made for: Claude Code, Codex.

Or install marketing-cli, the plugin that ships this one along with the rest of its 88 skills, 9 commands, 1 hook, 2 MCP servers.

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

agentmods badge for referral-program

README.md
[![agentmods](https://agentmods.dev/badge/skills/moizibnyousaf/marketing-cli/referral-program.svg)](https://agentmods.dev/skills/moizibnyousaf/marketing-cli/referral-program)
Your own site
<a href="https://agentmods.dev/skills/moizibnyousaf/marketing-cli/referral-program"><img src="https://agentmods.dev/badge/skills/moizibnyousaf/marketing-cli/referral-program.svg" alt="Measured on agentmods" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00160 $0.02764
Opus 5 $0.00080 $0.01382
Sonnet 5 $0.00032 $0.00553
Haiku 4.5 $0.00016 $0.00276

Measured yesterday against content hash b4a24102795b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

referral-program 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 yesterday.

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.

skills/referral-program/SKILL.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 292 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. yesterday First seen · 292 lines · 160 tokens per session scan A b4a24102795b

Subscribe to this mod's changes

referral-program is a skill published in the GitHub repository MoizIbnYousaf/marketing-cli (31 stars, last pushed 18d ago), licensed MIT. It adds 160 tokens to every session and 2,764 once invoked, about $0.0008 per session on Opus 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.

Related

Other skills, from other repositories

linkedin-reply-handler

Draft a reply to a specific existing LinkedIn comment from its URL. Use when the user wants to reply to a comment on any post, or follow up after an author replied to them. Parses the commentUrn, resolves the correct parentComment target (LinkedIn flattens threads to 2 levels), and posts via Publora on approval. Not…

sergebulaev/linkedin-skills · 88 tokens

ads-amazon

Audit Amazon Ads profiles, regions, Sponsored Products, Sponsored Brands, Sponsored Display, DSP, portfolios, targeting, search terms, retail readiness, creative, budgets, ACOS, TACOS, reporting, and policy. Use for Amazon Ads, sponsored ads, Amazon PPC, ACOS, TACOS, ASIN advertising, Amazon DSP, or retail-media…

AgriciDaniel/claude-ads · 76 tokens

ads-landing

Audit paid-ad landing pages for message match, mobile experience, performance, accessibility, trust, forms, consent, tracking, security, and conversion friction. Use for landing-page audit, post-click experience, LP audit, conversion-rate optimization, form optimization, ad-to-page message match, redirects, blocked…

AgriciDaniel/claude-ads · 81 tokens

ads-linkedin

Audit LinkedIn Ads measurement, Insight Tag and conversions, professional audiences, lead generation, ABM, creative, bidding, budgets, pacing, automation, and policy. Use for LinkedIn Ads, Campaign Manager, Insight Tag, Lead Gen Forms, Thought Leader Ads, ABM campaigns, or B2B paid media.

AgriciDaniel/claude-ads · 68 tokens

ads-research

Refresh Claude Ads platform, API, policy, regulation, benchmark, issue, pull-request, fork, and repository evidence. Use for ads research refresh, expired refreshdue dates, stale API or platform claims, reverify-or-demote decisions, release-current claim validation, ecosystem review, current platform changes, or…

AgriciDaniel/claude-ads · 97 tokens

ads-create

Create source-grounded paid-ad campaign concepts, messaging, copy, creative briefs, and production plans from a validated brand profile, campaign objective, platform requirements, and optional audit evidence. Triggers on: campaign brief, campaign concepts, create a campaign, ad concepts, ad copy, ad messaging…

AgriciDaniel/claude-ads · 69 tokens