Works with
Packaged from the source skill for Claude, Codex and 4 more.
What it does
Design a referral or affiliate program with explicit audience, trigger, incentive and measurement rules. Map the referral loop, compare economics, draft program mechanics and plan launch or optimization. A local ROI calculator and references help examine assumptions.
Requirements and limits
Requires credible acquisition costs, customer value and fraud controls. Modeled returns are scenarios; legal terms, tracking and payout operations need separate implementation.
What is inside the skill
Section headings from the original SKILL.md (about 2,029 words of instructions). Read the full text in the source repository before installing.
- Before Starting
- 1. Product & Customer
- 2. Program Goals
- 3. Current State (if optimizing)
- How This Skill Works
- Mode 1: Design a New Program
- Mode 2: Optimize an Existing Program
- Mode 3: Launch an Affiliate Program
- Referral vs. Affiliate — Choose the Right Mechanism
- The Referral Loop
- Stage 1: Trigger Moment
- Stage 2: Share Action
- Stage 3: Referred User Converts
- Stage 4: Reward Delivered
- Incentive Design
- Single-Sided vs. Double-Sided
- Reward Types
- Tiered Rewards (Gamification)
- Optimization Levers
- Improving Referral Rate
- Improving Referred User Conversion
- Key Metrics
- Affiliate Program Launch Checklist
- Proactive Triggers
Bundled files
references/measurement-framework.mdreferences/program-mechanics.mdscripts/referral_roi_calculator.pyLICENSE
Example prompts
- Design a two-sided referral incentive for our subscription app using these unit economics.
- Compare an affiliate program with a customer referral loop for our B2B product.
How to install Referral Program
Claude Packaged
- Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files.
- For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.
- For Claude apps, upload the ZIP in the Skills section of the capabilities settings.
- Start a new session and describe the task in your own words. Claude picks the skill when the request matches its description.
Codex Packaged
- Download the Codex package. The ZIP contains one folder named after the skill, with SKILL.md and bundled resources.
- Unpack the complete folder into .agents/skills/ inside your repository, or into ~/.agents/skills/ for personal use. Preserve its relative reference-file paths.
- Start a new Codex session and invoke the skill by name or with $skill-name, or describe a matching task.
- AGENTS.md is separate project guidance. The ZIP does not generate or modify that file.
GPT Packaged
- Download the GPT package from the skill page.
- Create or edit a custom GPT (or a ChatGPT project) and paste the contents of SKILL.md into the instructions field.
- Upload the bundled reference files as knowledge so the GPT can consult them.
- Test with one of the example prompts from the skill page and adjust the instructions if your use case differs.
Gemini Packaged
- Download the Gemini package from the skill page.
- For a project, unpack the complete folder into .gemini/skills/ or .agents/skills/. For personal use, use ~/.gemini/skills/ or ~/.agents/skills/.
- Run /skills reload in Gemini CLI, then /skills list to check discovery. There is no need to paste the skill into GEMINI.md.
- Test a matching task and verify the referenced tools and files are available.
Cursor Packaged
- Download the Cursor package from the skill page.
- Unpack the complete skill folder into .cursor/skills/ or .agents/skills/ in your project. For personal local use, ~/.cursor/skills/ and ~/.agents/skills/ are also supported.
- Start a new Cursor session. Type / in Agent chat and select the skill name, or describe a matching task.
- Commit the skill folder and resources for team use. Personal local skills are not automatically available to remote agents or automation runs.
OpenCode Packaged
- Download the OpenCode package from the skill page.
- Unpack the complete folder into .opencode/skills/ in your project, or ~/.config/opencode/skills/ for personal use. OpenCode also supports .agents/skills/ and .claude/skills/ compatibility locations.
- Keep supporting files at their original relative paths. AGENTS.md is separate project-wide guidance and is not generated by this ZIP.
- Start OpenCode in the project and test a matching task with the model and permissions you use.
Permissions & security
Inspect the source, license and declared permissions before use. Read the scripts before running them. Review method
Referral Program FAQ
What does the Referral Program skill do?
Design a referral or affiliate program with explicit audience, trigger, incentive and measurement rules.
Which AI agents can use Referral Program?
Packages for Claude, Codex and 4 more are built from the same source instructions.
How do I install Referral Program in Claude?
Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files. For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.
Who made Referral Program and what is the license?
Referral Program is published by Alireza Rezvani under the MIT license. The source is https://github.com/alirezarezvani/claude-skills/tree/main/marketing-skill/skills/referral-program. The catalog keeps the original attribution.
What permissions does Referral Program need?
Declared permissions: read project files, write generated skill files. Risk level: low. Check the scripts in the source before running them.