← Back to library

Design a referral or partner program

coreyhaines31's referrals skill plans a customer referral, affiliate or partner program: who is asked, when, what they get, how referrals are tracked and how the program is measured. For MSPs and accounting firms, where most growth is word of mouth, the skill stays practical.

  • OutcomeA referral or partner program with incentives, rules and the moments to ask, sized to your margins.
  • SetupMinutes
  • LevelStarter
  • Creditcoreyhaines31
View original
Works with
Claude CodeClaude

Published Oct 20, 2026Updated Oct 20, 2026AI dry run on sample input: passed Oct 20, 2026Source verified Oct 24, 2026

When should you use it?

  • Most new clients come from referrals but nobody asks for them
  • Setting up a partner program with complementary firms
  • Choosing between cash, credit or a donation as the reward

Not for: Paying referral fees where professional rules forbid them

What do you need, and what do you get?

You need

  • Customer base and average client value
  • Margins
  • Where current referrals come from

You get

  • Program design: incentive, mechanics, timing, tracking
  • Ask scripts and emails
  • Metrics

How does it work, step by step?

  1. Install the skillIn a terminal: npx skills add coreyhaines31/marketingskills --skill referrals. It installs as an Agent Skill for Claude Code and other agents that read SKILL.md files.
  2. Add your product contextThe skill looks for a product-marketing context file first; create one with your product, audience and positioning so it asks fewer questions.
  3. Customize itTell it your average client value and margins so the incentive is affordable, and any professional rules on referral fees.
  4. Run itAsk for the task in plain language and review the output before anything is published or sent.

The prompt

Our adapted version, written to work in Claude Code and Claude. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt5 variables
Use the referrals skill to design a referral program for {business}.
Average client value: {client_value}. Margin: {margin}. Current referral sources: {current_sources}. Professional rules to respect: {rules}.
Give the incentive, when to ask, ask wording, tracking method and two metrics, plus a partner option if it fits.

The original skill is published by coreyhaines31 on GitHub (coreyhaines31/marketingskills). Open it there to install or import it; the prompt above is our own adaptation.

What can go wrong?

  • CPA and law firms may face professional-conduct limits on referral fees; check first.
  • Ask at moments of success (a solved problem, a good review), not at invoice time.

Our take

For many MSPs and accounting firms, referrals are the main source of new clients, yet few have a process: no set moment to ask, no thank-you, no tracking. This skill formalizes that without turning it into a consumer-style points scheme. In our dry run for a sample 12-person MSP with 60 clients, it proposed asking after quarterly reviews that went well and after quickly resolved incidents, a thank-you of one month's service credit for both sides on signing, a simple referral form and CRM field, and a partner track for two local accounting firms with co-hosted security sessions instead of fees. It flagged that the accounting firms might be limited in accepting referral fees. Start with the ask script and tracking; incentives matter less than consistently asking. Review the program after six months: count referrals per client segment and drop any incentive that isn't changing behavior. In many service firms the most effective element turns out to be a prompt, sincere thank-you rather than the reward itself.

Where the time goes back: Referral asks happen at set moments with ready wording, instead of whenever someone remembers.

FAQ

Do small B2B firms need a formal program?
A light one helps: a clear ask, a simple thank-you and a way to track who referred whom. That alone usually increases referrals compared with hoping.
Which agents can use this skill?
It is a SKILL.md file, so Claude Code and other agents that support Agent Skills can load it. In a chat assistant you can paste our prompt instead.

Source and credit

This playbook is based on work by coreyhaines31. We summarize it and link to it and write our own adapted prompt.

Original
referrals skill · coreyhaines31/marketingskills
Creator
coreyhaines31
Published on
GitHub (coreyhaines31/marketingskills)
Original date
May 13, 2026
License
MIT
Originally for
Claude Code
AI dry run
Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. Incentive within margin; professional-rules caveat raised.
Agent dry run of the published SKILL.md: fetched from the source repo, its steps followed on a realistic synthetic input, output checked against the skill's format and our guardrails. Plugin install inside Claude Cowork/Code not exercised.
Verified
Oct 24, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

The original is licensed under the MIT License (Copyright (c) 2025 Corey Haines). Modified: our adapted prompt and summary are our own wording; the original is unchanged at the source link.

Are you the creator? Claim or correct this page.

More in Marketing

All 98 Marketing playbooks →

Related playbooks

MarketingSkill✓ AI dry run

Check LinkedIn drafts against your own rules in a clean chat

Have an AI review a post draft in a fresh conversation that never saw the drafting, score it only against rules you approved and posts you liked, list problems without rewriting, and after you publish, compare what you changed to suggest new rules that only take effect when you say yes.

Credit: sergebulaev

Minutes
MarketingRoutine✓ AI dry run

Spot locals asking for help on your town's subreddit

Have an agent check your town's subreddit each day and tell you about posts where someone may need your service, so you can reply as yourself.

Credit: Logan Robison (@LoganARobison)

Under an hour
MarketingSkill✓ AI dry run

Stop generic AI output with an example-scouting skill

Set up a Claude skill that hunts for strong examples of the kind of work you want, learns from your verdict on every candidate, and records what makes the good ones work into a separate reference file for each style, so future drafts match a catalog of looks you chose instead of the model's defaults.

Credit: u/tjrobertson-seo on r/ClaudeAI

An afternoon+