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?
- 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.
- 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.
- Customize itTell it your average client value and margins so the incentive is affordable, and any professional rules on referral fees.
- 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)
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?
Which agents can use this skill?
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.