@miranda0808/maya-codex 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/README.md +30 -0
  2. package/bin/maya-codex.js +36 -0
  3. package/package.json +19 -0
  4. package/payload/.agents/skills/ab-test-setup/SKILL.md +266 -0
  5. package/payload/.agents/skills/ab-test-setup/evals/evals.json +105 -0
  6. package/payload/.agents/skills/ab-test-setup/references/sample-size-guide.md +263 -0
  7. package/payload/.agents/skills/ab-test-setup/references/test-templates.md +277 -0
  8. package/payload/.agents/skills/ad-creative/SKILL.md +362 -0
  9. package/payload/.agents/skills/ad-creative/evals/evals.json +90 -0
  10. package/payload/.agents/skills/ad-creative/references/generative-tools.md +637 -0
  11. package/payload/.agents/skills/ad-creative/references/platform-specs.md +213 -0
  12. package/payload/.agents/skills/ai-seo/SKILL.md +398 -0
  13. package/payload/.agents/skills/ai-seo/evals/evals.json +90 -0
  14. package/payload/.agents/skills/ai-seo/references/content-patterns.md +285 -0
  15. package/payload/.agents/skills/ai-seo/references/platform-ranking-factors.md +152 -0
  16. package/payload/.agents/skills/analytics-tracking/SKILL.md +309 -0
  17. package/payload/.agents/skills/analytics-tracking/evals/evals.json +90 -0
  18. package/payload/.agents/skills/analytics-tracking/references/event-library.md +260 -0
  19. package/payload/.agents/skills/analytics-tracking/references/ga4-implementation.md +300 -0
  20. package/payload/.agents/skills/analytics-tracking/references/gtm-implementation.md +390 -0
  21. package/payload/.agents/skills/churn-prevention/SKILL.md +424 -0
  22. package/payload/.agents/skills/churn-prevention/evals/evals.json +93 -0
  23. package/payload/.agents/skills/churn-prevention/references/cancel-flow-patterns.md +316 -0
  24. package/payload/.agents/skills/churn-prevention/references/dunning-playbook.md +408 -0
  25. package/payload/.agents/skills/cold-email/SKILL.md +158 -0
  26. package/payload/.agents/skills/cold-email/evals/evals.json +94 -0
  27. package/payload/.agents/skills/cold-email/references/benchmarks.md +83 -0
  28. package/payload/.agents/skills/cold-email/references/follow-up-sequences.md +81 -0
  29. package/payload/.agents/skills/cold-email/references/frameworks.md +90 -0
  30. package/payload/.agents/skills/cold-email/references/personalization.md +79 -0
  31. package/payload/.agents/skills/cold-email/references/subject-lines.md +53 -0
  32. package/payload/.agents/skills/competitor-alternatives/SKILL.md +256 -0
  33. package/payload/.agents/skills/competitor-alternatives/evals/evals.json +93 -0
  34. package/payload/.agents/skills/competitor-alternatives/references/content-architecture.md +271 -0
  35. package/payload/.agents/skills/competitor-alternatives/references/templates.md +223 -0
  36. package/payload/.agents/skills/content-strategy/SKILL.md +359 -0
  37. package/payload/.agents/skills/content-strategy/evals/evals.json +90 -0
  38. package/payload/.agents/skills/copy-editing/SKILL.md +447 -0
  39. package/payload/.agents/skills/copy-editing/evals/evals.json +89 -0
  40. package/payload/.agents/skills/copy-editing/references/plain-english-alternatives.md +394 -0
  41. package/payload/.agents/skills/copywriting/SKILL.md +252 -0
  42. package/payload/.agents/skills/copywriting/evals/evals.json +111 -0
  43. package/payload/.agents/skills/copywriting/references/copy-frameworks.md +344 -0
  44. package/payload/.agents/skills/copywriting/references/natural-transitions.md +272 -0
  45. package/payload/.agents/skills/email-sequence/SKILL.md +309 -0
  46. package/payload/.agents/skills/email-sequence/evals/evals.json +93 -0
  47. package/payload/.agents/skills/email-sequence/references/copy-guidelines.md +113 -0
  48. package/payload/.agents/skills/email-sequence/references/email-types.md +515 -0
  49. package/payload/.agents/skills/email-sequence/references/sequence-templates.md +168 -0
  50. package/payload/.agents/skills/form-cro/SKILL.md +429 -0
  51. package/payload/.agents/skills/form-cro/evals/evals.json +90 -0
  52. package/payload/.agents/skills/free-tool-strategy/SKILL.md +178 -0
  53. package/payload/.agents/skills/free-tool-strategy/evals/evals.json +90 -0
  54. package/payload/.agents/skills/free-tool-strategy/references/tool-types.md +217 -0
  55. package/payload/.agents/skills/launch-strategy/SKILL.md +353 -0
  56. package/payload/.agents/skills/launch-strategy/evals/evals.json +91 -0
  57. package/payload/.agents/skills/marketing-ideas/SKILL.md +167 -0
  58. package/payload/.agents/skills/marketing-ideas/evals/evals.json +90 -0
  59. package/payload/.agents/skills/marketing-ideas/references/ideas-by-category.md +366 -0
  60. package/payload/.agents/skills/marketing-psychology/SKILL.md +455 -0
  61. package/payload/.agents/skills/marketing-psychology/evals/evals.json +88 -0
  62. package/payload/.agents/skills/onboarding-cro/SKILL.md +220 -0
  63. package/payload/.agents/skills/onboarding-cro/evals/evals.json +92 -0
  64. package/payload/.agents/skills/onboarding-cro/references/experiments.md +258 -0
  65. package/payload/.agents/skills/page-cro/SKILL.md +182 -0
  66. package/payload/.agents/skills/page-cro/evals/evals.json +111 -0
  67. package/payload/.agents/skills/page-cro/references/experiments.md +248 -0
  68. package/payload/.agents/skills/paid-ads/SKILL.md +315 -0
  69. package/payload/.agents/skills/paid-ads/evals/evals.json +90 -0
  70. package/payload/.agents/skills/paid-ads/references/ad-copy-templates.md +207 -0
  71. package/payload/.agents/skills/paid-ads/references/audience-targeting.md +243 -0
  72. package/payload/.agents/skills/paid-ads/references/platform-setup-checklists.md +277 -0
  73. package/payload/.agents/skills/paywall-upgrade-cro/SKILL.md +227 -0
  74. package/payload/.agents/skills/paywall-upgrade-cro/evals/evals.json +93 -0
  75. package/payload/.agents/skills/paywall-upgrade-cro/references/experiments.md +164 -0
  76. package/payload/.agents/skills/popup-cro/SKILL.md +453 -0
  77. package/payload/.agents/skills/popup-cro/evals/evals.json +94 -0
  78. package/payload/.agents/skills/pricing-strategy/SKILL.md +231 -0
  79. package/payload/.agents/skills/pricing-strategy/evals/evals.json +90 -0
  80. package/payload/.agents/skills/pricing-strategy/references/research-methods.md +152 -0
  81. package/payload/.agents/skills/pricing-strategy/references/tier-structure.md +232 -0
  82. package/payload/.agents/skills/product-marketing-context/SKILL.md +27 -0
  83. package/payload/.agents/skills/product-marketing-context/evals/evals.json +40 -0
  84. package/payload/.agents/skills/programmatic-seo/SKILL.md +238 -0
  85. package/payload/.agents/skills/programmatic-seo/evals/evals.json +94 -0
  86. package/payload/.agents/skills/programmatic-seo/references/playbooks.md +308 -0
  87. package/payload/.agents/skills/referral-program/SKILL.md +255 -0
  88. package/payload/.agents/skills/referral-program/evals/evals.json +89 -0
  89. package/payload/.agents/skills/referral-program/references/affiliate-programs.md +164 -0
  90. package/payload/.agents/skills/referral-program/references/program-examples.md +143 -0
  91. package/payload/.agents/skills/revops/SKILL.md +343 -0
  92. package/payload/.agents/skills/revops/evals/evals.json +91 -0
  93. package/payload/.agents/skills/revops/references/automation-playbooks.md +290 -0
  94. package/payload/.agents/skills/revops/references/lifecycle-definitions.md +278 -0
  95. package/payload/.agents/skills/revops/references/routing-rules.md +203 -0
  96. package/payload/.agents/skills/revops/references/scoring-models.md +247 -0
  97. package/payload/.agents/skills/sales-enablement/SKILL.md +349 -0
  98. package/payload/.agents/skills/sales-enablement/evals/evals.json +91 -0
  99. package/payload/.agents/skills/sales-enablement/references/deck-frameworks.md +263 -0
  100. package/payload/.agents/skills/sales-enablement/references/demo-scripts.md +355 -0
  101. package/payload/.agents/skills/sales-enablement/references/objection-library.md +270 -0
  102. package/payload/.agents/skills/sales-enablement/references/one-pager-templates.md +208 -0
  103. package/payload/.agents/skills/schema-markup/SKILL.md +179 -0
  104. package/payload/.agents/skills/schema-markup/evals/evals.json +87 -0
  105. package/payload/.agents/skills/schema-markup/references/schema-examples.md +398 -0
  106. package/payload/.agents/skills/seo-audit/SKILL.md +412 -0
  107. package/payload/.agents/skills/seo-audit/evals/evals.json +136 -0
  108. package/payload/.agents/skills/seo-audit/references/ai-writing-detection.md +200 -0
  109. package/payload/.agents/skills/signup-flow-cro/SKILL.md +359 -0
  110. package/payload/.agents/skills/signup-flow-cro/evals/evals.json +88 -0
  111. package/payload/.agents/skills/site-architecture/SKILL.md +357 -0
  112. package/payload/.agents/skills/site-architecture/evals/evals.json +88 -0
  113. package/payload/.agents/skills/site-architecture/references/mermaid-templates.md +216 -0
  114. package/payload/.agents/skills/site-architecture/references/navigation-patterns.md +305 -0
  115. package/payload/.agents/skills/site-architecture/references/site-type-templates.md +293 -0
  116. package/payload/.agents/skills/social-content/SKILL.md +278 -0
  117. package/payload/.agents/skills/social-content/evals/evals.json +92 -0
  118. package/payload/.agents/skills/social-content/references/platforms.md +170 -0
  119. package/payload/.agents/skills/social-content/references/post-templates.md +177 -0
  120. package/payload/.agents/skills/social-content/references/reverse-engineering.md +195 -0
  121. package/payload/.maya/executor.md +79 -0
  122. package/payload/.maya/meta-api-agent.md +48 -0
  123. package/payload/.maya/modes/consult.md +63 -0
  124. package/payload/.maya/modes/task.md +97 -0
  125. package/payload/.maya/planner.md +69 -0
  126. package/payload/.maya/researcher.md +51 -0
  127. package/payload/.maya/templates/plan.md +77 -0
  128. package/payload/.maya/templates/state.md +87 -0
  129. package/payload/.maya/templates/task-packet.md +75 -0
  130. package/payload/MAYA-CATALOG.md +115 -0
  131. package/payload/MAYA-DEPENDENCIES.md +58 -0
  132. package/payload/MAYA.md +151 -0
  133. package/payload/campaigns/README.md +14 -0
  134. package/payload/commands/maya-consult.md +28 -0
  135. package/payload/commands/maya-task.md +38 -0
  136. package/payload/commands/product.md +55 -0
  137. package/payload/research/README.md +14 -0
  138. package/payload/templates/README.md +15 -0
  139. package/payload/templates/plan.md +77 -0
  140. package/payload/templates/state.md +87 -0
  141. package/payload/templates/task-packet.md +75 -0
  142. package/payload/tools/REGISTRY.md +368 -0
  143. package/payload/tools/clis/README.md +187 -0
  144. package/payload/tools/clis/activecampaign.js +435 -0
  145. package/payload/tools/clis/adobe-analytics.js +161 -0
  146. package/payload/tools/clis/ahrefs.js +192 -0
  147. package/payload/tools/clis/amplitude.js +182 -0
  148. package/payload/tools/clis/apollo.js +142 -0
  149. package/payload/tools/clis/beehiiv.js +245 -0
  150. package/payload/tools/clis/brevo.js +368 -0
  151. package/payload/tools/clis/buffer.js +260 -0
  152. package/payload/tools/clis/calendly.js +253 -0
  153. package/payload/tools/clis/clearbit.js +163 -0
  154. package/payload/tools/clis/customer-io.js +205 -0
  155. package/payload/tools/clis/dataforseo.js +257 -0
  156. package/payload/tools/clis/demio.js +149 -0
  157. package/payload/tools/clis/dub.js +158 -0
  158. package/payload/tools/clis/g2.js +186 -0
  159. package/payload/tools/clis/ga4.js +194 -0
  160. package/payload/tools/clis/google-ads.js +189 -0
  161. package/payload/tools/clis/google-search-console.js +166 -0
  162. package/payload/tools/clis/hotjar.js +167 -0
  163. package/payload/tools/clis/hunter.js +249 -0
  164. package/payload/tools/clis/instantly.js +270 -0
  165. package/payload/tools/clis/intercom.js +399 -0
  166. package/payload/tools/clis/keywords-everywhere.js +185 -0
  167. package/payload/tools/clis/kit.js +232 -0
  168. package/payload/tools/clis/klaviyo.js +348 -0
  169. package/payload/tools/clis/lemlist.js +221 -0
  170. package/payload/tools/clis/linkedin-ads.js +185 -0
  171. package/payload/tools/clis/livestorm.js +292 -0
  172. package/payload/tools/clis/mailchimp.js +220 -0
  173. package/payload/tools/clis/mention-me.js +161 -0
  174. package/payload/tools/clis/meta-ads.js +181 -0
  175. package/payload/tools/clis/mixpanel.js +248 -0
  176. package/payload/tools/clis/onesignal.js +241 -0
  177. package/payload/tools/clis/optimizely.js +233 -0
  178. package/payload/tools/clis/paddle.js +385 -0
  179. package/payload/tools/clis/partnerstack.js +382 -0
  180. package/payload/tools/clis/plausible.js +249 -0
  181. package/payload/tools/clis/postmark.js +375 -0
  182. package/payload/tools/clis/resend.js +370 -0
  183. package/payload/tools/clis/rewardful.js +160 -0
  184. package/payload/tools/clis/savvycal.js +223 -0
  185. package/payload/tools/clis/segment.js +192 -0
  186. package/payload/tools/clis/semrush.js +207 -0
  187. package/payload/tools/clis/sendgrid.js +211 -0
  188. package/payload/tools/clis/snov.js +237 -0
  189. package/payload/tools/clis/tiktok-ads.js +190 -0
  190. package/payload/tools/clis/tolt.js +153 -0
  191. package/payload/tools/clis/trustpilot.js +276 -0
  192. package/payload/tools/clis/typeform.js +269 -0
  193. package/payload/tools/clis/wistia.js +256 -0
  194. package/payload/tools/clis/zapier.js +160 -0
  195. package/payload/tools/integrations/activecampaign.md +337 -0
  196. package/payload/tools/integrations/adobe-analytics.md +156 -0
  197. package/payload/tools/integrations/ahrefs.md +142 -0
  198. package/payload/tools/integrations/amplitude.md +135 -0
  199. package/payload/tools/integrations/apollo.md +148 -0
  200. package/payload/tools/integrations/beehiiv.md +157 -0
  201. package/payload/tools/integrations/brevo.md +268 -0
  202. package/payload/tools/integrations/buffer.md +138 -0
  203. package/payload/tools/integrations/calendly.md +161 -0
  204. package/payload/tools/integrations/clearbit.md +142 -0
  205. package/payload/tools/integrations/customer-io.md +187 -0
  206. package/payload/tools/integrations/dataforseo.md +165 -0
  207. package/payload/tools/integrations/demio.md +182 -0
  208. package/payload/tools/integrations/dub-co.md +160 -0
  209. package/payload/tools/integrations/g2.md +179 -0
  210. package/payload/tools/integrations/ga4.md +126 -0
  211. package/payload/tools/integrations/google-ads.md +159 -0
  212. package/payload/tools/integrations/google-search-console.md +147 -0
  213. package/payload/tools/integrations/hotjar.md +147 -0
  214. package/payload/tools/integrations/hubspot.md +178 -0
  215. package/payload/tools/integrations/hunter.md +90 -0
  216. package/payload/tools/integrations/instantly.md +104 -0
  217. package/payload/tools/integrations/intercom.md +292 -0
  218. package/payload/tools/integrations/keywords-everywhere.md +207 -0
  219. package/payload/tools/integrations/kit.md +167 -0
  220. package/payload/tools/integrations/klaviyo.md +228 -0
  221. package/payload/tools/integrations/lemlist.md +110 -0
  222. package/payload/tools/integrations/linkedin-ads.md +164 -0
  223. package/payload/tools/integrations/livestorm.md +313 -0
  224. package/payload/tools/integrations/mailchimp.md +150 -0
  225. package/payload/tools/integrations/mention-me.md +160 -0
  226. package/payload/tools/integrations/meta-ads.md +147 -0
  227. package/payload/tools/integrations/mixpanel.md +137 -0
  228. package/payload/tools/integrations/onesignal.md +229 -0
  229. package/payload/tools/integrations/optimizely.md +171 -0
  230. package/payload/tools/integrations/paddle.md +212 -0
  231. package/payload/tools/integrations/partnerstack.md +222 -0
  232. package/payload/tools/integrations/plausible.md +177 -0
  233. package/payload/tools/integrations/posthog.md +151 -0
  234. package/payload/tools/integrations/postmark.md +234 -0
  235. package/payload/tools/integrations/resend.md +168 -0
  236. package/payload/tools/integrations/rewardful.md +147 -0
  237. package/payload/tools/integrations/salesforce.md +150 -0
  238. package/payload/tools/integrations/savvycal.md +181 -0
  239. package/payload/tools/integrations/segment.md +159 -0
  240. package/payload/tools/integrations/semrush.md +121 -0
  241. package/payload/tools/integrations/sendgrid.md +161 -0
  242. package/payload/tools/integrations/shopify.md +176 -0
  243. package/payload/tools/integrations/snov.md +94 -0
  244. package/payload/tools/integrations/stripe.md +148 -0
  245. package/payload/tools/integrations/tiktok-ads.md +161 -0
  246. package/payload/tools/integrations/tolt.md +144 -0
  247. package/payload/tools/integrations/trustpilot.md +191 -0
  248. package/payload/tools/integrations/typeform.md +190 -0
  249. package/payload/tools/integrations/webflow.md +198 -0
  250. package/payload/tools/integrations/wistia.md +164 -0
  251. package/payload/tools/integrations/wordpress.md +175 -0
  252. package/payload/tools/integrations/zapier.md +150 -0
  253. package/payload/tools/meta/README.md +55 -0
  254. package/payload/tools/meta/meta-cache-schema.md +65 -0
  255. package/payload/tools/meta/meta-fetch.ps1 +324 -0
  256. package/payload/tools/meta/meta-fetch.test.ps1 +38 -0
  257. package/vendor/shared-installer/manifests/claude-files.json +13 -0
  258. package/vendor/shared-installer/manifests/codex-files.json +13 -0
  259. package/vendor/shared-installer/manifests/common-files.json +13 -0
  260. package/vendor/shared-installer/package.json +15 -0
  261. package/vendor/shared-installer/src/bootstrap.js +12 -0
  262. package/vendor/shared-installer/src/cli-options.js +53 -0
  263. package/vendor/shared-installer/src/fs.js +105 -0
  264. package/vendor/shared-installer/src/index.js +44 -0
  265. package/vendor/shared-installer/src/install.js +157 -0
  266. package/vendor/shared-installer/src/manifest.js +52 -0
  267. package/vendor/shared-installer/templates/claude/.claude/skills/.gitkeep +1 -0
  268. package/vendor/shared-installer/templates/claude/CLAUDE.md +27 -0
  269. package/vendor/shared-installer/templates/codex/.agent/skills/.gitkeep +1 -0
  270. package/vendor/shared-installer/templates/codex/AGENTS.md +27 -0
@@ -0,0 +1,164 @@
1
+ # Affiliate Program Design
2
+
3
+ Detailed guidance for building and managing affiliate programs.
4
+
5
+ ## Contents
6
+ - Commission Structures
7
+ - Cookie Duration
8
+ - Affiliate Recruitment
9
+ - Affiliate Enablement
10
+ - Tools & Platforms (Referral Program Tools, Affiliate Program Tools, Choosing a Tool)
11
+ - Fraud Prevention (Common Referral Fraud, Prevention Measures)
12
+
13
+ ## Commission Structures
14
+
15
+ **Percentage of sale:**
16
+ - Standard: 10-30% of first sale or first year
17
+ - Works for: E-commerce, SaaS with clear pricing
18
+ - Example: "Earn 25% of every sale you refer"
19
+
20
+ **Flat fee per action:**
21
+ - Standard: $5-500 depending on value
22
+ - Works for: Lead gen, trials, freemium
23
+ - Example: "$50 for every qualified demo"
24
+
25
+ **Recurring commission:**
26
+ - Standard: 10-25% of recurring revenue
27
+ - Works for: Subscription products
28
+ - Example: "20% of subscription for 12 months"
29
+
30
+ **Tiered commission:**
31
+ - Works for: Motivating high performers
32
+ - Example: "20% for 1-10 sales, 25% for 11-25, 30% for 26+"
33
+
34
+ ---
35
+
36
+ ## Cookie Duration
37
+
38
+ How long after click does affiliate get credit?
39
+
40
+ | Duration | Use Case |
41
+ |----------|----------|
42
+ | 24 hours | High-volume, low-consideration purchases |
43
+ | 7-14 days | Standard e-commerce |
44
+ | 30 days | Standard SaaS/B2B |
45
+ | 60-90 days | Long sales cycles, enterprise |
46
+ | Lifetime | Premium affiliate relationships |
47
+
48
+ ---
49
+
50
+ ## Affiliate Recruitment
51
+
52
+ ### Where to find affiliates:
53
+ - Existing customers who create content
54
+ - Industry bloggers and reviewers
55
+ - YouTubers in your niche
56
+ - Newsletter writers
57
+ - Complementary tool companies
58
+ - Consultants and agencies
59
+
60
+ ### Outreach template:
61
+ ```
62
+ Subject: Partnership opportunity — [Your Product]
63
+
64
+ Hi [Name],
65
+
66
+ I've been following your content on [topic] — particularly [specific piece] — and think there could be a great fit for a partnership.
67
+
68
+ [Your Product] helps [audience] [achieve outcome], and I think your audience would find it valuable.
69
+
70
+ We offer [commission structure] for partners, plus [additional benefits: early access, co-marketing, etc.].
71
+
72
+ Would you be open to learning more?
73
+
74
+ [Your name]
75
+ ```
76
+
77
+ ---
78
+
79
+ ## Affiliate Enablement
80
+
81
+ Provide affiliates with:
82
+ - [ ] Unique tracking links/codes
83
+ - [ ] Product overview and key benefits
84
+ - [ ] Target audience description
85
+ - [ ] Comparison to competitors
86
+ - [ ] Creative assets (logos, banners, images)
87
+ - [ ] Sample copy and talking points
88
+ - [ ] Case studies and testimonials
89
+ - [ ] Demo access or free account
90
+ - [ ] FAQ and objection handling
91
+ - [ ] Payment terms and schedule
92
+
93
+ ---
94
+
95
+ ## Tools & Platforms
96
+
97
+ ### Referral Program Tools
98
+
99
+ **Full-featured platforms:**
100
+ - ReferralCandy — E-commerce focused
101
+ - Ambassador — Enterprise referral programs
102
+ - Friendbuy — E-commerce and subscription
103
+ - GrowSurf — SaaS and tech companies
104
+ - Mention Me — AI-powered referral marketing
105
+ - Viral Loops — Template-based campaigns
106
+
107
+ **Built-in options:**
108
+ - Stripe (basic referral tracking)
109
+ - HubSpot (CRM-integrated)
110
+ - Segment (tracking and analytics)
111
+
112
+ ### Affiliate Program Tools
113
+
114
+ **Affiliate networks:**
115
+ - ShareASale — Large merchant network
116
+ - Impact — Enterprise partnerships
117
+ - PartnerStack — SaaS focused
118
+ - Tapfiliate — Simple SaaS affiliate tracking
119
+ - FirstPromoter — SaaS affiliate management
120
+
121
+ **Self-hosted:**
122
+ - Rewardful — Stripe-integrated affiliates
123
+ - Refersion — E-commerce affiliates
124
+
125
+ ### Choosing a Tool
126
+
127
+ Consider:
128
+ - Integration with your payment system
129
+ - Fraud detection capabilities
130
+ - Payout management
131
+ - Reporting and analytics
132
+ - Customization options
133
+ - Price vs. program scale
134
+
135
+ ---
136
+
137
+ ## Fraud Prevention
138
+
139
+ ### Common Referral Fraud
140
+ - Self-referrals (creating fake accounts)
141
+ - Referral rings (groups referring each other)
142
+ - Coupon sites posting referral codes
143
+ - Fake email addresses
144
+ - VPN/device spoofing
145
+
146
+ ### Prevention Measures
147
+
148
+ **Technical:**
149
+ - Email verification required
150
+ - Device fingerprinting
151
+ - IP address monitoring
152
+ - Delayed reward payout (after activation)
153
+ - Minimum activity threshold
154
+
155
+ **Policy:**
156
+ - Clear terms of service
157
+ - Maximum referrals per period
158
+ - Reward clawback for refunds/chargebacks
159
+ - Manual review for suspicious patterns
160
+
161
+ **Structural:**
162
+ - Require referred user to take meaningful action
163
+ - Cap lifetime rewards
164
+ - Pay rewards in product credit (less attractive to fraudsters)
@@ -0,0 +1,143 @@
1
+ # Referral Program Examples
2
+
3
+ Real-world examples of successful referral programs.
4
+
5
+ ## Contents
6
+ - Dropbox (Classic)
7
+ - Uber/Lyft
8
+ - Morning Brew
9
+ - Notion
10
+ - Incentive Types Comparison
11
+ - Incentive Sizing Framework
12
+ - Viral Coefficient & Metrics (Key Metrics, Calculating Referral Program ROI)
13
+
14
+ ## Dropbox (Classic)
15
+
16
+ **Program:** Give 500MB storage, get 500MB storage
17
+
18
+ **Why it worked:**
19
+ - Reward directly tied to product value
20
+ - Low friction (just an email)
21
+ - Both parties benefit equally
22
+ - Gamified with progress tracking
23
+
24
+ ---
25
+
26
+ ## Uber/Lyft
27
+
28
+ **Program:** Give $10 ride credit, get $10 when they ride
29
+
30
+ **Why it worked:**
31
+ - Immediate, clear value
32
+ - Double-sided incentive
33
+ - Easy to share (code/link)
34
+ - Triggered at natural moments
35
+
36
+ ---
37
+
38
+ ## Morning Brew
39
+
40
+ **Program:** Tiered rewards for subscriber referrals
41
+ - 3 referrals: Newsletter stickers
42
+ - 5 referrals: T-shirt
43
+ - 10 referrals: Mug
44
+ - 25 referrals: Hoodie
45
+
46
+ **Why it worked:**
47
+ - Gamification drives ongoing engagement
48
+ - Physical rewards are shareable (more referrals)
49
+ - Low cost relative to subscriber value
50
+ - Built status/identity
51
+
52
+ ---
53
+
54
+ ## Notion
55
+
56
+ **Program:** $10 credit per referral (education)
57
+
58
+ **Why it worked:**
59
+ - Targeted high-sharing audience (students)
60
+ - Product naturally spreads in teams
61
+ - Credit keeps users engaged
62
+
63
+ ---
64
+
65
+ ## Incentive Types Comparison
66
+
67
+ | Type | Pros | Cons | Best For |
68
+ |------|------|------|----------|
69
+ | Cash/credit | Universally valued | Feels transactional | Marketplaces, fintech |
70
+ | Product credit | Drives usage | Only valuable if they'll use it | SaaS, subscriptions |
71
+ | Free months | Clear value | May attract freebie-seekers | Subscription products |
72
+ | Feature unlock | Low cost to you | Only works for gated features | Freemium products |
73
+ | Swag/gifts | Memorable, shareable | Logistics complexity | Brand-focused companies |
74
+ | Charity donation | Feel-good | Lower personal motivation | Mission-driven brands |
75
+
76
+ ---
77
+
78
+ ## Incentive Sizing Framework
79
+
80
+ **Calculate your maximum incentive:**
81
+ ```
82
+ Max Referral Reward = (Customer LTV × Gross Margin) - Target CAC
83
+ ```
84
+
85
+ **Example:**
86
+ - LTV: $1,200
87
+ - Gross margin: 70%
88
+ - Target CAC: $200
89
+ - Max reward: ($1,200 × 0.70) - $200 = $640
90
+
91
+ **Typical referral rewards:**
92
+ - B2C: $10-50 or 10-25% of first purchase
93
+ - B2B SaaS: $50-500 or 1-3 months free
94
+ - Enterprise: Higher, often custom
95
+
96
+ ---
97
+
98
+ ## Viral Coefficient & Metrics
99
+
100
+ ### Key Metrics
101
+
102
+ **Viral coefficient (K-factor):**
103
+ ```
104
+ K = Invitations × Conversion Rate
105
+
106
+ K > 1 = Viral growth (each user brings more than 1 new user)
107
+ K < 1 = Amplified growth (referrals supplement other acquisition)
108
+ ```
109
+
110
+ **Example:**
111
+ - Average customer sends 3 invitations
112
+ - 15% of invitations convert
113
+ - K = 3 × 0.15 = 0.45
114
+
115
+ **Referral rate:**
116
+ ```
117
+ Referral Rate = (Customers who refer) / (Total customers)
118
+ ```
119
+
120
+ Benchmarks:
121
+ - Good: 10-25% of customers refer
122
+ - Great: 25-50%
123
+ - Exceptional: 50%+
124
+
125
+ **Referrals per referrer:**
126
+
127
+ Benchmarks:
128
+ - Average: 1-2 referrals per referrer
129
+ - Good: 2-5
130
+ - Exceptional: 5+
131
+
132
+ ### Calculating Referral Program ROI
133
+
134
+ ```
135
+ Referral Program ROI = (Revenue from referred customers - Program costs) / Program costs
136
+
137
+ Program costs = Rewards paid + Tool costs + Management time
138
+ ```
139
+
140
+ **Track separately:**
141
+ - Cost per referred customer (CAC via referral)
142
+ - LTV of referred customers (often higher than average)
143
+ - Payback period for referral rewards
@@ -0,0 +1,343 @@
1
+ ---
2
+ name: revops
3
+ description: "When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see email-sequence. For pricing decisions, see pricing-strategy."
4
+ metadata:
5
+ version: 1.1.0
6
+ ---
7
+
8
+ # RevOps
9
+
10
+ You are an expert in revenue operations. Your goal is to help design and optimize the systems that connect marketing, sales, and customer success into a unified revenue engine.
11
+
12
+ ## Before Starting
13
+
14
+ **Use approved context inputs first:**
15
+ In Maya task workflows, start with the approved `TASK-PACKET.md` inputs and listed brand sections. If `PRODUCT.md` is explicitly provided or the work is being done in consult-style standalone usage, read `PRODUCT.md` before asking questions. If `PRODUCT.md` is missing, do not pretend the output is fully brand-calibrated.
16
+
17
+ Gather this context (ask if not provided):
18
+
19
+ 1. **GTM motion** — Product-led (PLG), sales-led, or hybrid?
20
+ 2. **ACV range** — What's the average contract value?
21
+ 3. **Sales cycle length** — Days from first touch to closed-won?
22
+ 4. **Current stack** — CRM, marketing automation, scheduling, enrichment tools?
23
+ 5. **Current state** — How are leads managed today? What's working and what's not?
24
+ 6. **Goals** — Increase conversion? Reduce speed-to-lead? Fix handoff leaks? Build from scratch?
25
+
26
+ Work with whatever the user gives you. If they have a clear problem area, start there. Don't block on missing inputs — use what you have and note what would strengthen the solution.
27
+
28
+ ---
29
+
30
+ ## Core Principles
31
+
32
+ ### Single Source of Truth
33
+ One system of record for every lead and account. If data lives in multiple places, it will conflict. Pick a CRM as the canonical source and sync everything to it.
34
+
35
+ ### Define Before Automate
36
+ Get stage definitions, scoring criteria, and routing rules right on paper before building workflows. Automating a broken process just creates broken results faster.
37
+
38
+ ### Measure Every Handoff
39
+ Every handoff between teams is a potential leak. Marketing-to-sales, SDR-to-AE, AE-to-CS — each needs an SLA, a tracking mechanism, and someone accountable for follow-through.
40
+
41
+ ### Revenue Team Alignment
42
+ Marketing, sales, and customer success must agree on definitions. If marketing calls something an MQL but sales won't work it, the definition is wrong. Alignment meetings aren't optional.
43
+
44
+ ---
45
+
46
+ ## Lead Lifecycle Framework
47
+
48
+ ### Stage Definitions
49
+
50
+ | Stage | Entry Criteria | Exit Criteria | Owner |
51
+ |-------|---------------|---------------|-------|
52
+ | **Subscriber** | Opts in to content (blog, newsletter) | Provides company info or shows engagement | Marketing |
53
+ | **Lead** | Identified contact with basic info | Meets minimum fit criteria | Marketing |
54
+ | **MQL** | Passes fit + engagement threshold | Sales accepts or rejects within SLA | Marketing |
55
+ | **SQL** | Sales accepts and qualifies via conversation | Opportunity created or recycled | Sales (SDR/AE) |
56
+ | **Opportunity** | Budget, authority, need, timeline confirmed | Closed-won or closed-lost | Sales (AE) |
57
+ | **Customer** | Closed-won deal | Expands, renews, or churns | CS / Account Mgmt |
58
+ | **Evangelist** | High NPS, referral activity, case study | Ongoing program participation | CS / Marketing |
59
+
60
+ ### MQL Definition
61
+
62
+ An MQL requires both **fit** and **engagement**:
63
+
64
+ - **Fit score** — Does this person match your ICP? (company size, industry, role, tech stack)
65
+ - **Engagement score** — Have they shown buying intent? (pricing page, demo request, multiple visits)
66
+
67
+ Neither alone is sufficient. A perfect-fit company that never engages isn't an MQL. A student downloading every ebook isn't an MQL.
68
+
69
+ ### MQL-to-SQL Handoff SLA
70
+
71
+ Define response times and document them:
72
+ - MQL alert sent to assigned rep
73
+ - Rep contacts within **4 hours** (business hours)
74
+ - Rep qualifies or rejects within **48 hours**
75
+ - Rejected MQLs go to recycling nurture with reason code
76
+
77
+ **For complete lifecycle stage templates and SLA examples**: See [references/lifecycle-definitions.md](references/lifecycle-definitions.md)
78
+
79
+ ---
80
+
81
+ ## Lead Scoring
82
+
83
+ ### Scoring Dimensions
84
+
85
+ **Explicit scoring (fit)** — Who they are:
86
+ - Company size, industry, revenue
87
+ - Job title, seniority, department
88
+ - Tech stack, geography
89
+
90
+ **Implicit scoring (engagement)** — What they do:
91
+ - Page visits (especially pricing, demo, case studies)
92
+ - Content downloads, webinar attendance
93
+ - Email engagement (opens, clicks)
94
+ - Product usage (for PLG)
95
+
96
+ **Negative scoring** — Disqualifying signals:
97
+ - Competitor email domains
98
+ - Student/personal email
99
+ - Unsubscribes, spam complaints
100
+ - Job title mismatches (intern, student)
101
+
102
+ ### Building a Scoring Model
103
+
104
+ 1. Define your ICP attributes and weight them
105
+ 2. Identify high-intent behavioral signals from closed-won data
106
+ 3. Set point values for each attribute and behavior
107
+ 4. Set MQL threshold (typically 50-80 points on a 100-point scale)
108
+ 5. Test against historical data — does the model correctly identify past wins?
109
+ 6. Launch, measure, and recalibrate quarterly
110
+
111
+ ### Common Scoring Mistakes
112
+
113
+ - Weighting content downloads too heavily (research ≠ buying intent)
114
+ - Not including negative scoring (lets bad leads through)
115
+ - Setting and forgetting (buyer behavior changes; recalibrate quarterly)
116
+ - Scoring all page visits equally (pricing page ≠ blog post)
117
+
118
+ **For detailed scoring templates and example models**: See [references/scoring-models.md](references/scoring-models.md)
119
+
120
+ ---
121
+
122
+ ## Lead Routing
123
+
124
+ ### Routing Methods
125
+
126
+ | Method | How It Works | Best For |
127
+ |--------|-------------|----------|
128
+ | **Round-robin** | Distribute evenly across reps | Equal territories, similar deal sizes |
129
+ | **Territory-based** | Assign by geography, vertical, or segment | Regional teams, industry specialists |
130
+ | **Account-based** | Named accounts go to named reps | ABM motions, strategic accounts |
131
+ | **Skill-based** | Route by deal complexity, product line, or language | Diverse product lines, global teams |
132
+
133
+ ### Routing Rules Essentials
134
+
135
+ - Route to the **most specific match** first, then fall back to general
136
+ - Include a **fallback owner** — unassigned leads go cold fast and waste pipeline
137
+ - Round-robin should account for **rep capacity and availability** (PTO, quota attainment)
138
+ - Log every routing decision for audit and optimization
139
+
140
+ ### Speed-to-Lead
141
+
142
+ Response time is the single biggest factor in lead conversion:
143
+ - Contact within **5 minutes** = 21x more likely to qualify (Lead Connect)
144
+ - After **30 minutes**, conversion drops by 10x
145
+ - After **24 hours**, the lead is effectively cold
146
+
147
+ Build routing rules that prioritize speed. Alert reps immediately. Escalate if SLA is missed.
148
+
149
+ **For routing decision trees and platform-specific setup**: See [references/routing-rules.md](references/routing-rules.md)
150
+
151
+ ---
152
+
153
+ ## Pipeline Stage Management
154
+
155
+ ### Pipeline Stages
156
+
157
+ | Stage | Required Fields | Exit Criteria |
158
+ |-------|----------------|---------------|
159
+ | **Qualified** | Contact info, company, source, fit score | Discovery call scheduled |
160
+ | **Discovery** | Pain points, current solution, timeline | Needs confirmed, demo scheduled |
161
+ | **Demo/Evaluation** | Technical requirements, decision makers | Positive evaluation, proposal requested |
162
+ | **Proposal** | Pricing, terms, stakeholder map | Proposal delivered and reviewed |
163
+ | **Negotiation** | Redlines, approval chain, close date | Terms agreed, contract sent |
164
+ | **Closed Won** | Signed contract, payment terms | Handoff to CS complete |
165
+ | **Closed Lost** | Loss reason, competitor (if any) | Post-mortem logged |
166
+
167
+ ### Stage Hygiene
168
+
169
+ - **Required fields per stage** — Don't let reps advance a deal without filling in required data
170
+ - **Stale deal alerts** — Flag deals that sit in a stage beyond the average time (e.g., 2x average days)
171
+ - **Stage skip detection** — Alert when deals jump stages (Qualified → Proposal skipping Discovery)
172
+ - **Close date discipline** — Push dates must include a reason; no silent pushes
173
+
174
+ ### Pipeline Metrics
175
+
176
+ | Metric | What It Tells You |
177
+ |--------|-------------------|
178
+ | Stage conversion rates | Where deals die |
179
+ | Average time in stage | Where deals stall |
180
+ | Pipeline velocity | Revenue per day through the funnel |
181
+ | Coverage ratio | Pipeline value vs. quota (target 3-4x) |
182
+ | Win rate by source | Which channels produce real revenue |
183
+
184
+ ---
185
+
186
+ ## CRM Automation Workflows
187
+
188
+ ### Essential Automations
189
+
190
+ - **Lifecycle stage updates** — Auto-advance stages when criteria are met
191
+ - **Task creation on handoff** — Create follow-up task when MQL assigned to rep
192
+ - **SLA alerts** — Notify manager if rep misses response time SLA
193
+ - **Deal stage triggers** — Auto-send proposals, update forecasts, notify CS on close
194
+
195
+ ### Marketing-to-Sales Automations
196
+
197
+ - **MQL alert** — Instant notification to assigned rep with lead context
198
+ - **Meeting booked** — Notify AE when prospect books via scheduling tool
199
+ - **Lead activity digest** — Daily summary of high-intent actions by active leads
200
+ - **Re-engagement trigger** — Alert sales when a dormant lead returns to site
201
+
202
+ ### Calendar Scheduling Integration
203
+
204
+ - **Round-robin scheduling** — Distribute meetings evenly across team
205
+ - **Routing by criteria** — Send enterprise leads to senior AEs, SMB to junior reps
206
+ - **Pre-meeting enrichment** — Auto-populate CRM record before the call
207
+ - **No-show workflows** — Auto-follow-up if prospect misses meeting
208
+
209
+ **For platform-specific workflow recipes**: See [references/automation-playbooks.md](references/automation-playbooks.md)
210
+
211
+ ---
212
+
213
+ ## Deal Desk Processes
214
+
215
+ ### When You Need a Deal Desk
216
+
217
+ - ACV above **$25K** (or your threshold for non-standard deals)
218
+ - Non-standard payment terms (net-90, quarterly billing)
219
+ - Multi-year contracts with custom pricing
220
+ - Volume discounts beyond published tiers
221
+ - Custom legal terms or SLAs
222
+
223
+ ### Approval Workflow Tiers
224
+
225
+ | Deal Size | Approval Required |
226
+ |-----------|-------------------|
227
+ | Standard pricing | Auto-approved |
228
+ | 10-20% discount | Sales manager |
229
+ | 20-40% discount | VP Sales |
230
+ | 40%+ discount or custom terms | Deal desk review |
231
+ | Multi-year / enterprise | Finance + Legal |
232
+
233
+ ### Non-Standard Terms Handling
234
+
235
+ Document every exception. Track which non-standard terms get requested most — if everyone asks for the same exception, it should become standard. Review quarterly.
236
+
237
+ ---
238
+
239
+ ## Data Hygiene & Enrichment
240
+
241
+ ### Dedup Strategy
242
+
243
+ - **Matching rules** — Email domain + company name + phone as primary match keys
244
+ - **Merge priority** — CRM record wins over marketing automation; most recent activity wins for fields
245
+ - **Scheduled dedup** — Run weekly automated dedup with manual review for edge cases
246
+
247
+ ### Required Fields Enforcement
248
+
249
+ - Enforce required fields at each lifecycle stage
250
+ - Block stage advancement if fields are empty
251
+ - Use progressive profiling — don't require everything upfront
252
+
253
+ ### Enrichment Tools
254
+
255
+ | Tool | Strength |
256
+ |------|----------|
257
+ | Clearbit | Real-time enrichment, good for tech companies |
258
+ | Apollo | Contact data + sequences, strong for prospecting |
259
+ | ZoomInfo | Enterprise-grade, largest B2B database |
260
+
261
+ ### Quarterly Audit Checklist
262
+
263
+ - Review and merge duplicates
264
+ - Validate email deliverability on stale contacts
265
+ - Archive contacts with no activity in 12+ months
266
+ - Audit lifecycle stage distribution (look for bottlenecks)
267
+ - Verify enrichment data accuracy on a sample set
268
+
269
+ ---
270
+
271
+ ## RevOps Metrics Dashboard
272
+
273
+ ### Key Metrics
274
+
275
+ | Metric | Formula / Definition | Benchmark |
276
+ |--------|---------------------|-----------|
277
+ | Lead-to-MQL rate | MQLs / Total leads | 5-15% |
278
+ | MQL-to-SQL rate | SQLs / MQLs | 30-50% |
279
+ | SQL-to-Opportunity | Opportunities / SQLs | 50-70% |
280
+ | Pipeline velocity | (# deals x avg deal size x win rate) / avg sales cycle | Varies by ACV |
281
+ | CAC | Total sales + marketing spend / new customers | LTV:CAC > 3:1 |
282
+ | LTV:CAC ratio | Customer lifetime value / CAC | 3:1 to 5:1 healthy |
283
+ | Speed-to-lead | Time from form fill to first rep contact | < 5 minutes ideal |
284
+ | Win rate | Closed-won / total opportunities | 20-30% (varies) |
285
+
286
+ ### Dashboard Structure
287
+
288
+ Build three views:
289
+ 1. **Marketing view** — Lead volume, MQL rate, source attribution, cost per MQL
290
+ 2. **Sales view** — Pipeline value, stage conversion, velocity, forecast accuracy
291
+ 3. **Executive view** — CAC, LTV:CAC, revenue vs. target, pipeline coverage
292
+
293
+ ---
294
+
295
+ ## Output Format
296
+
297
+ When delivering RevOps recommendations, provide:
298
+
299
+ 1. **Lifecycle stage document** — Stage definitions with entry/exit criteria, owners, and SLAs
300
+ 2. **Scoring specification** — Fit and engagement attributes with point values and MQL threshold
301
+ 3. **Routing rules document** — Decision tree with assignment logic and fallbacks
302
+ 4. **Pipeline configuration** — Stage definitions, required fields, and automation triggers
303
+ 5. **Metrics dashboard spec** — Key metrics, data sources, and target benchmarks
304
+
305
+ Format each as a standalone document the user can implement directly. Include platform-specific guidance when the CRM is known.
306
+
307
+ ---
308
+
309
+ ## Task-Specific Questions
310
+
311
+ 1. What CRM platform are you using (or planning to use)?
312
+ 2. How many leads per month do you generate?
313
+ 3. What's your current MQL definition?
314
+ 4. Where do leads get stuck in your funnel?
315
+ 5. Do you have SLAs between marketing and sales today?
316
+
317
+ ---
318
+
319
+ ## Tool Integrations
320
+
321
+ For implementation, see the [tools registry](../../tools/REGISTRY.md). Key RevOps tools:
322
+
323
+ | Tool | What It Does | Guide |
324
+ |------|-------------|-------|
325
+ | **HubSpot** | CRM, marketing automation, lead scoring, workflows | [hubspot.md](../../tools/integrations/hubspot.md) |
326
+ | **Salesforce** | Enterprise CRM, pipeline management, reporting | [salesforce.md](../../tools/integrations/salesforce.md) |
327
+ | **Calendly** | Meeting scheduling, round-robin routing | [calendly.md](../../tools/integrations/calendly.md) |
328
+ | **SavvyCal** | Scheduling with priority-based availability | [savvycal.md](../../tools/integrations/savvycal.md) |
329
+ | **Clearbit** | Real-time lead enrichment and scoring | [clearbit.md](../../tools/integrations/clearbit.md) |
330
+ | **Apollo** | Contact data, enrichment, and outbound sequences | [apollo.md](../../tools/integrations/apollo.md) |
331
+ | **ActiveCampaign** | Marketing automation for SMBs, lead scoring | [activecampaign.md](../../tools/integrations/activecampaign.md) |
332
+ | **Zapier** | Cross-tool automation and workflow glue | [zapier.md](../../tools/integrations/zapier.md) |
333
+
334
+ ---
335
+
336
+ ## Related Skills
337
+
338
+ - **cold-email**: For outbound prospecting emails
339
+ - **email-sequence**: For lifecycle and nurture email flows
340
+ - **pricing-strategy**: For pricing decisions and packaging
341
+ - **analytics-tracking**: For tracking pipeline metrics and attribution
342
+ - **launch-strategy**: For go-to-market launch planning
343
+ - **sales-enablement**: For sales collateral, decks, and objection handling