@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,308 @@
1
+ # The 12 Programmatic SEO Playbooks
2
+
3
+ Beyond mixing and matching data point permutations, these are the proven playbooks for programmatic SEO.
4
+
5
+ ## Contents
6
+ - 1. Templates
7
+ - 2. Curation
8
+ - 3. Conversions
9
+ - 4. Comparisons
10
+ - 5. Examples
11
+ - 6. Locations
12
+ - 7. Personas
13
+ - 8. Integrations
14
+ - 9. Glossary
15
+ - 10. Translations
16
+ - 11. Directory
17
+ - 12. Profiles
18
+ - Choosing Your Playbook (Match to Your Assets, Combine Playbooks)
19
+
20
+ ## 1. Templates
21
+
22
+ **Pattern**: "[Type] template" or "free [type] template"
23
+ **Example searches**: "resume template", "invoice template", "pitch deck template"
24
+
25
+ **What it is**: Downloadable or interactive templates users can use directly.
26
+
27
+ **Why it works**:
28
+ - High intent—people need it now
29
+ - Shareable/linkable assets
30
+ - Natural for product-led companies
31
+
32
+ **Value requirements**:
33
+ - Actually usable templates (not just previews)
34
+ - Multiple variations per type
35
+ - Quality comparable to paid options
36
+ - Easy download/use flow
37
+
38
+ **URL structure**: `/templates/[type]/` or `/templates/[category]/[type]/`
39
+
40
+ ---
41
+
42
+ ## 2. Curation
43
+
44
+ **Pattern**: "best [category]" or "top [number] [things]"
45
+ **Example searches**: "best website builders", "top 10 crm software", "best free design tools"
46
+
47
+ **What it is**: Curated lists ranking or recommending options in a category.
48
+
49
+ **Why it works**:
50
+ - Comparison shoppers searching for guidance
51
+ - High commercial intent
52
+ - Evergreen with updates
53
+
54
+ **Value requirements**:
55
+ - Genuine evaluation criteria
56
+ - Real testing or expertise
57
+ - Regular updates (date visible)
58
+ - Not just affiliate-driven rankings
59
+
60
+ **URL structure**: `/best/[category]/` or `/[category]/best/`
61
+
62
+ ---
63
+
64
+ ## 3. Conversions
65
+
66
+ **Pattern**: "[X] to [Y]" or "[amount] [unit] in [unit]"
67
+ **Example searches**: "$10 USD to GBP", "100 kg to lbs", "pdf to word"
68
+
69
+ **What it is**: Tools or pages that convert between formats, units, or currencies.
70
+
71
+ **Why it works**:
72
+ - Instant utility
73
+ - Extremely high search volume
74
+ - Repeat usage potential
75
+
76
+ **Value requirements**:
77
+ - Accurate, real-time data
78
+ - Fast, functional tool
79
+ - Related conversions suggested
80
+ - Mobile-friendly interface
81
+
82
+ **URL structure**: `/convert/[from]-to-[to]/` or `/[from]-to-[to]-converter/`
83
+
84
+ ---
85
+
86
+ ## 4. Comparisons
87
+
88
+ **Pattern**: "[X] vs [Y]" or "[X] alternative"
89
+ **Example searches**: "webflow vs wordpress", "notion vs coda", "figma alternatives"
90
+
91
+ **What it is**: Head-to-head comparisons between products, tools, or options.
92
+
93
+ **Why it works**:
94
+ - High purchase intent
95
+ - Clear search pattern
96
+ - Scales with number of competitors
97
+
98
+ **Value requirements**:
99
+ - Honest, balanced analysis
100
+ - Actual feature comparison data
101
+ - Clear recommendation by use case
102
+ - Updated when products change
103
+
104
+ **URL structure**: `/compare/[x]-vs-[y]/` or `/[x]-vs-[y]/`
105
+
106
+ *See also: competitor-alternatives skill for detailed frameworks*
107
+
108
+ ---
109
+
110
+ ## 5. Examples
111
+
112
+ **Pattern**: "[type] examples" or "[category] inspiration"
113
+ **Example searches**: "saas landing page examples", "email subject line examples", "portfolio website examples"
114
+
115
+ **What it is**: Galleries or collections of real-world examples for inspiration.
116
+
117
+ **Why it works**:
118
+ - Research phase traffic
119
+ - Highly shareable
120
+ - Natural for design/creative tools
121
+
122
+ **Value requirements**:
123
+ - Real, high-quality examples
124
+ - Screenshots or embeds
125
+ - Categorization/filtering
126
+ - Analysis of why they work
127
+
128
+ **URL structure**: `/examples/[type]/` or `/[type]-examples/`
129
+
130
+ ---
131
+
132
+ ## 6. Locations
133
+
134
+ **Pattern**: "[service/thing] in [location]"
135
+ **Example searches**: "coworking spaces in san diego", "dentists in austin", "best restaurants in brooklyn"
136
+
137
+ **What it is**: Location-specific pages for services, businesses, or information.
138
+
139
+ **Why it works**:
140
+ - Local intent is massive
141
+ - Scales with geography
142
+ - Natural for marketplaces/directories
143
+
144
+ **Value requirements**:
145
+ - Actual local data (not just city name swapped)
146
+ - Local providers/options listed
147
+ - Location-specific insights (pricing, regulations)
148
+ - Map integration helpful
149
+
150
+ **URL structure**: `/[service]/[city]/` or `/locations/[city]/[service]/`
151
+
152
+ ---
153
+
154
+ ## 7. Personas
155
+
156
+ **Pattern**: "[product] for [audience]" or "[solution] for [role/industry]"
157
+ **Example searches**: "payroll software for agencies", "crm for real estate", "project management for freelancers"
158
+
159
+ **What it is**: Tailored landing pages addressing specific audience segments.
160
+
161
+ **Why it works**:
162
+ - Speaks directly to searcher's context
163
+ - Higher conversion than generic pages
164
+ - Scales with personas
165
+
166
+ **Value requirements**:
167
+ - Genuine persona-specific content
168
+ - Relevant features highlighted
169
+ - Testimonials from that segment
170
+ - Use cases specific to audience
171
+
172
+ **URL structure**: `/for/[persona]/` or `/solutions/[industry]/`
173
+
174
+ ---
175
+
176
+ ## 8. Integrations
177
+
178
+ **Pattern**: "[your product] [other product] integration" or "[product] + [product]"
179
+ **Example searches**: "slack asana integration", "zapier airtable", "hubspot salesforce sync"
180
+
181
+ **What it is**: Pages explaining how your product works with other tools.
182
+
183
+ **Why it works**:
184
+ - Captures users of other products
185
+ - High intent (they want the solution)
186
+ - Scales with integration ecosystem
187
+
188
+ **Value requirements**:
189
+ - Real integration details
190
+ - Setup instructions
191
+ - Use cases for the combination
192
+ - Working integration (not vaporware)
193
+
194
+ **URL structure**: `/integrations/[product]/` or `/connect/[product]/`
195
+
196
+ ---
197
+
198
+ ## 9. Glossary
199
+
200
+ **Pattern**: "what is [term]" or "[term] definition" or "[term] meaning"
201
+ **Example searches**: "what is pSEO", "api definition", "what does crm stand for"
202
+
203
+ **What it is**: Educational definitions of industry terms and concepts.
204
+
205
+ **Why it works**:
206
+ - Top-of-funnel awareness
207
+ - Establishes expertise
208
+ - Natural internal linking opportunities
209
+
210
+ **Value requirements**:
211
+ - Clear, accurate definitions
212
+ - Examples and context
213
+ - Related terms linked
214
+ - More depth than a dictionary
215
+
216
+ **URL structure**: `/glossary/[term]/` or `/learn/[term]/`
217
+
218
+ ---
219
+
220
+ ## 10. Translations
221
+
222
+ **Pattern**: Same content in multiple languages
223
+ **Example searches**: "qué es pSEO", "was ist SEO", "マーケティングとは"
224
+
225
+ **What it is**: Your content translated and localized for other language markets.
226
+
227
+ **Why it works**:
228
+ - Opens entirely new markets
229
+ - Lower competition in many languages
230
+ - Multiplies your content reach
231
+
232
+ **Value requirements**:
233
+ - Quality translation (not just Google Translate)
234
+ - Cultural localization
235
+ - hreflang tags properly implemented
236
+ - Native speaker review
237
+
238
+ **URL structure**: `/[lang]/[page]/` or `yoursite.com/es/`, `/de/`, etc.
239
+
240
+ ---
241
+
242
+ ## 11. Directory
243
+
244
+ **Pattern**: "[category] tools" or "[type] software" or "[category] companies"
245
+ **Example searches**: "ai copywriting tools", "email marketing software", "crm companies"
246
+
247
+ **What it is**: Comprehensive directories listing options in a category.
248
+
249
+ **Why it works**:
250
+ - Research phase capture
251
+ - Link building magnet
252
+ - Natural for aggregators/reviewers
253
+
254
+ **Value requirements**:
255
+ - Comprehensive coverage
256
+ - Useful filtering/sorting
257
+ - Details per listing (not just names)
258
+ - Regular updates
259
+
260
+ **URL structure**: `/directory/[category]/` or `/[category]-directory/`
261
+
262
+ ---
263
+
264
+ ## 12. Profiles
265
+
266
+ **Pattern**: "[person/company name]" or "[entity] + [attribute]"
267
+ **Example searches**: "stripe ceo", "airbnb founding story", "elon musk companies"
268
+
269
+ **What it is**: Profile pages about notable people, companies, or entities.
270
+
271
+ **Why it works**:
272
+ - Informational intent traffic
273
+ - Builds topical authority
274
+ - Natural for B2B, news, research
275
+
276
+ **Value requirements**:
277
+ - Accurate, sourced information
278
+ - Regularly updated
279
+ - Unique insights or aggregation
280
+ - Not just Wikipedia rehash
281
+
282
+ **URL structure**: `/people/[name]/` or `/companies/[name]/`
283
+
284
+ ---
285
+
286
+ ## Choosing Your Playbook
287
+
288
+ ### Match to Your Assets
289
+
290
+ | If you have... | Consider... |
291
+ |----------------|-------------|
292
+ | Proprietary data | Stats, Directories, Profiles |
293
+ | Product with integrations | Integrations |
294
+ | Design/creative product | Templates, Examples |
295
+ | Multi-segment audience | Personas |
296
+ | Local presence | Locations |
297
+ | Tool or utility product | Conversions |
298
+ | Content/expertise | Glossary, Curation |
299
+ | International potential | Translations |
300
+ | Competitor landscape | Comparisons |
301
+
302
+ ### Combine Playbooks
303
+
304
+ You can layer multiple playbooks:
305
+ - **Locations + Personas**: "Marketing agencies for startups in Austin"
306
+ - **Curation + Locations**: "Best coworking spaces in San Diego"
307
+ - **Integrations + Personas**: "Slack for sales teams"
308
+ - **Glossary + Translations**: Multi-language educational content
@@ -0,0 +1,255 @@
1
+ ---
2
+ name: referral-program
3
+ description: "When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' 'partner program,' 'referral incentive,' 'how to get referrals,' 'customers referring customers,' or 'affiliate payout.' Use this whenever someone wants existing users or partners to bring in new customers. For launch-specific virality, see launch-strategy."
4
+ metadata:
5
+ version: 1.1.0
6
+ ---
7
+
8
+ # Referral & Affiliate Programs
9
+
10
+ You are an expert in viral growth and referral marketing. Your goal is to help design and optimize programs that turn customers into growth engines.
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. Program Type
20
+ - Customer referral program, affiliate program, or both?
21
+ - B2B or B2C?
22
+ - What's the average customer LTV?
23
+ - What's your current CAC from other channels?
24
+
25
+ ### 2. Current State
26
+ - Existing referral/affiliate program?
27
+ - Current referral rate (% who refer)?
28
+ - What incentives have you tried?
29
+
30
+ ### 3. Product Fit
31
+ - Is your product shareable?
32
+ - Does it have network effects?
33
+ - Do customers naturally talk about it?
34
+
35
+ ### 4. Resources
36
+ - Tools/platforms you use or consider?
37
+ - Budget for referral incentives?
38
+
39
+ ---
40
+
41
+ ## Referral vs. Affiliate
42
+
43
+ ### Customer Referral Programs
44
+
45
+ **Best for:**
46
+ - Existing customers recommending to their network
47
+ - Products with natural word-of-mouth
48
+ - Lower-ticket or self-serve products
49
+
50
+ **Characteristics:**
51
+ - Referrer is an existing customer
52
+ - One-time or limited rewards
53
+ - Higher trust, lower volume
54
+
55
+ ### Affiliate Programs
56
+
57
+ **Best for:**
58
+ - Reaching audiences you don't have access to
59
+ - Content creators, influencers, bloggers
60
+ - Higher-ticket products that justify commissions
61
+
62
+ **Characteristics:**
63
+ - Affiliates may not be customers
64
+ - Ongoing commission relationship
65
+ - Higher volume, variable trust
66
+
67
+ ---
68
+
69
+ ## Referral Program Design
70
+
71
+ ### The Referral Loop
72
+
73
+ ```
74
+ Trigger Moment → Share Action → Convert Referred → Reward → (Loop)
75
+ ```
76
+
77
+ ### Step 1: Identify Trigger Moments
78
+
79
+ **High-intent moments:**
80
+ - Right after first "aha" moment
81
+ - After achieving a milestone
82
+ - After exceptional support
83
+ - After renewing or upgrading
84
+
85
+ ### Step 2: Design Share Mechanism
86
+
87
+ **Ranked by effectiveness:**
88
+ 1. In-product sharing (highest conversion)
89
+ 2. Personalized link
90
+ 3. Email invitation
91
+ 4. Social sharing
92
+ 5. Referral code (works offline)
93
+
94
+ ### Step 3: Choose Incentive Structure
95
+
96
+ **Single-sided rewards** (referrer only): Simpler, works for high-value products
97
+
98
+ **Double-sided rewards** (both parties): Higher conversion, win-win framing
99
+
100
+ **Tiered rewards**: Gamifies referral process, increases engagement
101
+
102
+ **For examples and incentive sizing**: See [references/program-examples.md](references/program-examples.md)
103
+
104
+ ---
105
+
106
+ ## Program Optimization
107
+
108
+ ### Improving Referral Rate
109
+
110
+ **If few customers are referring:**
111
+ - Ask at better moments
112
+ - Simplify sharing process
113
+ - Test different incentive types
114
+ - Make referral prominent in product
115
+
116
+ **If referrals aren't converting:**
117
+ - Improve landing experience for referred users
118
+ - Strengthen incentive for new users
119
+ - Ensure referrer's endorsement is visible
120
+
121
+ ### A/B Tests to Run
122
+
123
+ **Incentive tests:** Amount, type, single vs. double-sided, timing
124
+
125
+ **Messaging tests:** Program description, CTA copy, landing page copy
126
+
127
+ **Placement tests:** Where and when the referral prompt appears
128
+
129
+ ### Common Problems & Fixes
130
+
131
+ | Problem | Fix |
132
+ |---------|-----|
133
+ | Low awareness | Add prominent in-app prompts |
134
+ | Low share rate | Simplify to one click |
135
+ | Low conversion | Optimize referred user experience |
136
+ | Fraud/abuse | Add verification, limits |
137
+ | One-time referrers | Add tiered/gamified rewards |
138
+
139
+ ---
140
+
141
+ ## Measuring Success
142
+
143
+ ### Key Metrics
144
+
145
+ **Program health:**
146
+ - Active referrers (referred someone in last 30 days)
147
+ - Referral conversion rate
148
+ - Rewards earned/paid
149
+
150
+ **Business impact:**
151
+ - % of new customers from referrals
152
+ - CAC via referral vs. other channels
153
+ - LTV of referred customers
154
+ - Referral program ROI
155
+
156
+ ### Typical Findings
157
+
158
+ - Referred customers have 16-25% higher LTV
159
+ - Referred customers have 18-37% lower churn
160
+ - Referred customers refer others at 2-3x rate
161
+
162
+ ---
163
+
164
+ ## Launch Checklist
165
+
166
+ ### Before Launch
167
+ - [ ] Define program goals and success metrics
168
+ - [ ] Design incentive structure
169
+ - [ ] Build or configure referral tool
170
+ - [ ] Create referral landing page
171
+ - [ ] Set up tracking and attribution
172
+ - [ ] Define fraud prevention rules
173
+ - [ ] Create terms and conditions
174
+ - [ ] Test complete referral flow
175
+
176
+ ### Launch
177
+ - [ ] Announce to existing customers
178
+ - [ ] Add in-app referral prompts
179
+ - [ ] Update website with program details
180
+ - [ ] Brief support team
181
+
182
+ ### Post-Launch (First 30 Days)
183
+ - [ ] Review conversion funnel
184
+ - [ ] Identify top referrers
185
+ - [ ] Gather feedback
186
+ - [ ] Fix friction points
187
+ - [ ] Send reminder emails to non-referrers
188
+
189
+ ---
190
+
191
+ ## Email Sequences
192
+
193
+ ### Referral Program Launch
194
+
195
+ ```
196
+ Subject: You can now earn [reward] for sharing [Product]
197
+
198
+ We just launched our referral program!
199
+
200
+ Share [Product] with friends and earn [reward] for each signup.
201
+ They get [their reward] too.
202
+
203
+ [Unique referral link]
204
+
205
+ 1. Share your link
206
+ 2. Friend signs up
207
+ 3. You both get [reward]
208
+ ```
209
+
210
+ ### Referral Nurture Sequence
211
+
212
+ - Day 7: Remind about referral program
213
+ - Day 30: "Know anyone who'd benefit?"
214
+ - Day 60: Success story + referral prompt
215
+ - After milestone: "You achieved [X]—know others who'd want this?"
216
+
217
+ ---
218
+
219
+ ## Affiliate Programs
220
+
221
+ **For detailed affiliate program design, commission structures, recruitment, and tools**: See [references/affiliate-programs.md](references/affiliate-programs.md)
222
+
223
+ ---
224
+
225
+ ## Task-Specific Questions
226
+
227
+ 1. What type of program (referral, affiliate, or both)?
228
+ 2. What's your customer LTV and current CAC?
229
+ 3. Existing program or starting from scratch?
230
+ 4. What tools/platforms are you considering?
231
+ 5. What's your budget for rewards/commissions?
232
+ 6. Is your product naturally shareable?
233
+
234
+ ---
235
+
236
+ ## Tool Integrations
237
+
238
+ For implementation, see the [tools registry](../../tools/REGISTRY.md). Key tools for referral programs:
239
+
240
+ | Tool | Best For | Guide |
241
+ |------|----------|-------|
242
+ | **Rewardful** | Stripe-native affiliate programs | [rewardful.md](../../tools/integrations/rewardful.md) |
243
+ | **Tolt** | SaaS affiliate programs | [tolt.md](../../tools/integrations/tolt.md) |
244
+ | **Mention Me** | Enterprise referral programs | [mention-me.md](../../tools/integrations/mention-me.md) |
245
+ | **Dub.co** | Link tracking and attribution | [dub-co.md](../../tools/integrations/dub-co.md) |
246
+ | **Stripe** | Payment processing (for commission tracking) | [stripe.md](../../tools/integrations/stripe.md) |
247
+
248
+ ---
249
+
250
+ ## Related Skills
251
+
252
+ - **launch-strategy**: For launching referral program effectively
253
+ - **email-sequence**: For referral nurture campaigns
254
+ - **marketing-psychology**: For understanding referral motivation
255
+ - **analytics-tracking**: For tracking referral attribution
@@ -0,0 +1,89 @@
1
+ {
2
+ "skill_name": "referral-program",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "Help me design a referral program for our SaaS product. We're a $49/month project management tool with about 1,000 customers. We want to encourage word-of-mouth growth.",
7
+ "expected_output": "Should use approved TASK-PACKET.md inputs first in Maya task workflows, and read PRODUCT.md directly when it is explicitly provided or when the work is consult-style standalone. Should distinguish between referral and affiliate programs (this is referral — existing customers referring peers). Should design the referral loop: trigger point (when to ask for referral), share mechanism (unique link, email invite, social share), conversion flow (what the referred person experiences), and reward structure. Should recommend incentive type: double-sided recommended (both referrer and referred get value). Should suggest specific incentives appropriate for $49/month SaaS (e.g., free month for both). Should include the launch checklist. Should recommend tool integrations (Rewardful, Tolt, etc.).",
8
+ "assertions": [
9
+ "Uses approved TASK-PACKET.md inputs or PRODUCT.md context first",
10
+ "Distinguishes referral from affiliate",
11
+ "Designs the referral loop (trigger, share, convert, reward)",
12
+ "Recommends double-sided incentive structure",
13
+ "Suggests specific incentives for the price point",
14
+ "Includes launch checklist",
15
+ "Recommends tool integrations"
16
+ ],
17
+ "files": []
18
+ },
19
+ {
20
+ "id": 2,
21
+ "prompt": "We have a referral program but only 5% of customers have ever referred someone. How do we increase participation?",
22
+ "expected_output": "Should apply the program optimization guidance. Should diagnose low participation: are customers aware of the program? Is the trigger point well-timed? Is the incentive compelling enough? Is sharing easy? Should recommend optimization tactics: better placement/visibility, timing referral asks at peak satisfaction moments, improving the incentive, simplifying the share mechanism, adding referral reminders in email and in-app. Should provide specific experiment ideas to test improvements.",
23
+ "assertions": [
24
+ "Applies program optimization guidance",
25
+ "Diagnoses potential causes of low participation",
26
+ "Checks awareness, timing, incentive, and friction",
27
+ "Recommends optimization tactics",
28
+ "Suggests timing referral asks at satisfaction moments",
29
+ "Provides experiment ideas"
30
+ ],
31
+ "files": []
32
+ },
33
+ {
34
+ "id": 3,
35
+ "prompt": "should we do referral or affiliate? we sell online courses for $199-499 and want to get other creators and influencers to promote us.",
36
+ "expected_output": "Should trigger on casual phrasing. Should apply the referral vs affiliate distinction clearly. For this use case (getting creators/influencers to promote), should recommend an affiliate program (not referral — affiliates are third-party promoters, not existing customers). Should apply the affiliate program section guidance: commission structure for digital products (typically 20-40% for courses), cookie duration, payout terms, affiliate onboarding. Should recommend affiliate platforms/tools appropriate for course creators.",
37
+ "assertions": [
38
+ "Triggers on casual phrasing",
39
+ "Clearly distinguishes referral from affiliate",
40
+ "Recommends affiliate for this use case",
41
+ "Provides commission structure guidance for courses",
42
+ "Addresses cookie duration and payout terms",
43
+ "Recommends appropriate affiliate platforms"
44
+ ],
45
+ "files": []
46
+ },
47
+ {
48
+ "id": 4,
49
+ "prompt": "What incentive structure works best? We've been offering $10 off for referrers but it's not working. Our product is $29/month.",
50
+ "expected_output": "Should evaluate the current incentive: $10 off on a $29/month product is significant but only benefits the referrer (single-sided). Should recommend testing double-sided incentives (both parties get value). Should discuss incentive types: account credit, free months, feature upgrades, cash. Should apply the tiered incentive concept (increasing rewards for multiple referrals). Should provide specific alternative incentive structures to test. Should note that incentive alone may not be the problem — placement and timing matter too.",
51
+ "assertions": [
52
+ "Evaluates current incentive structure",
53
+ "Identifies as single-sided and recommends double-sided",
54
+ "Discusses multiple incentive types",
55
+ "Applies tiered incentive concept",
56
+ "Provides specific alternatives to test",
57
+ "Notes incentive may not be the only issue"
58
+ ],
59
+ "files": []
60
+ },
61
+ {
62
+ "id": 5,
63
+ "prompt": "How do we measure the success of our referral program? What metrics should we track?",
64
+ "expected_output": "Should apply the measuring success framework. Should define key metrics: participation rate (% of customers who refer), share rate (referrals sent per participant), conversion rate (referred visitors who become customers), viral coefficient (k-factor), customer acquisition cost via referral vs other channels, referred customer LTV vs organic customer LTV. Should recommend tracking tools and dashboards. Should provide benchmark ranges for each metric.",
65
+ "assertions": [
66
+ "Applies measuring success framework",
67
+ "Defines participation rate, share rate, conversion rate",
68
+ "Includes viral coefficient / k-factor",
69
+ "Compares referral CAC to other channels",
70
+ "Compares referred customer LTV to organic",
71
+ "Recommends tracking approach",
72
+ "Provides benchmark ranges"
73
+ ],
74
+ "files": []
75
+ },
76
+ {
77
+ "id": 6,
78
+ "prompt": "Can you write the referral invitation emails? I need the email that goes out when someone shares their referral link.",
79
+ "expected_output": "Should recognize this overlaps with email writing. Should apply the referral email sequence section from the skill for referral-specific emails. However, for detailed email sequence design (multi-email nurture for referred users), should cross-reference the email-sequence skill. Should provide the referral invitation email but note that broader email sequence work is handled by email-sequence.",
80
+ "assertions": [
81
+ "Applies referral email section from the skill",
82
+ "Provides referral invitation email guidance",
83
+ "Cross-references email-sequence for broader email work",
84
+ "Provides specific referral email copy or template"
85
+ ],
86
+ "files": []
87
+ }
88
+ ]
89
+ }