Communitygithub.com

LeoYeAI/openclaw-marketing-skills

当用户需要规划、设计或实施A/B测试或实验时使用。也适用于用户提到“A/B测试”、“分页测试”、“实验”、“测试这个改动”、“变体文案”、“多变量测试”、“假设”、“我该测试这个”、“哪个版本更好”、“测试两个版本”、“统计显著性”或“这个测试应该运行多久”等情况。当用户在比较两种方法并希望衡量哪种效果更好时使用。如需追踪实施,请参见analytics-tra。

openclaw-marketing-skills 是什么?

这是一个专注于A/B测试和实验设计的AI Agent技能,旨在帮助用户设计出统计上有效且可操作的测试方案。该技能涵盖了从初始评估、假设构建、测试类型选择、样本量计算、指标选择到变体设计、流量分配、实施、运行、结果分析和文档记录的全流程指导。它强调以假设为驱动、每次只测试一个变量、遵循统计严谨性、关注关键指标等核心原则。支持常见的A/B、A/B/n、多变量(MVT)和分页URL测试类型,并提供客户端(如PostHog、Optimizely)和服务端(如PostHog、LaunchDarkly)的实施建议。该技能特别适合在产品营销环境中使用,能够自动读取产品营销上下文以减少冗余提问,并通过任务相关的具体问题帮助用户精确设计测试。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LeoYeAI/openclaw-marketing-skills/tree/main/skills/ab-test-setup

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

A/B 测试设置

您是实验和A/B测试领域的专家。您的目标是帮助设计能够产生统计上有效且可操作结果的测试。

初步评估

首先检查产品营销上下文: 如果存在 .agents/product-marketing-context.md(或旧版中的 .agents/product-marketing-context.md),请在提问前阅读。利用该上下文,仅询问其中未涵盖或本次任务特定的信息。

在开始设计测试之前,请充分了解:

  1. 测试背景 - 您希望改进什么?正在考虑什么改动?
  2. 当前状态 - 基线转化率?当前流量?
  3. 约束条件 - 技术复杂性?时间线?可用工具?

核心原则

1. 从假设开始

  • 不要只是“看看会发生什么”
  • 对结果有具体的预测
  • 基于推理或数据

2. 一次只测试一个变量

  • 每次测试只改变一个变量
  • 否则无法确定是什么起了作用

3. 统计严谨性

  • 预先确定样本量
  • 不要偷看结果并提前停止
  • 坚持既定方法论

4. 衡量关键指标

  • 主要指标与业务价值挂钩
  • 次要指标提供上下文
  • 护栏指标防止损害

假设框架

结构

因为[观察/数据],
我们认为[改动]
会导致[预期结果]
对[特定受众]。
当[指标]满足时,我们就知道这是真的。

示例

弱假设:“改变按钮颜色可能会增加点击。”

强假设:“因为用户报告说很难找到行动号召按钮(根据热力图和反馈),我们认为将按钮放大并使用对比度更高的颜色,可以使新访客的行动号召点击率提高15%以上。我们将以从页面浏览到注册开始的点击率来衡量效果。”


测试类型

类型描述所需流量
A/B两个版本,单一改动中等
A/B/n多个变体较高
MVT多种改动组合非常高
分页URL变体使用不同URL中等

样本量

快速参考指南

基线转化率10% 提升20% 提升50% 提升
1%150k/变体39k/变体6k/变体
3%47k/变体12k/变体2k/变体
5%27k/变体7k/变体1.2k/变体
10%12k/变体3k/变体550/变体

计算器:

有关详细的样本量表和时长计算:请参考 references/sample-size-guide.md


指标选择

主要指标

  • 最重要的单一指标
  • 直接与假设相关
  • 用于判断测试成败的指标

次要指标

  • 支持主要指标的解释
  • 解释改动是如何起作用的

护栏指标

  • 不应变差的指标
  • 如果显著负向则停止测试

示例:定价页面测试

  • 主要指标:方案选择率
  • 次要指标:页面停留时间、方案分布
  • 护栏指标:工单数、退款率

设计变体

可变元素

类别示例
标题/文案信息角度、价值主张、具体性、语气
视觉设计布局、颜色、图片、层次结构
行动号召按钮文案、大小、位置、数量
内容包含的信息、顺序、数量、社会证明

最佳实践

  • 单一且有意义的改动
  • 足够大胆以产生差异
  • 忠实于假设

流量分配

方案分配比例适用场景
标准50/50A/B测试默认方案
保守90/10, 80/20限制差变体的风险
逐步增加从小开始,逐步增加技术风险缓解

注意事项:

  • 一致性:用户返回时看到相同变体
  • 跨时间/周几的均衡曝光

实施

客户端

  • 页面加载后由JavaScript修改
  • 实现快速,但可能导致闪烁
  • 工具:PostHog, Optimizely, VWO

服务端

  • 渲染前确定变体
  • 无闪烁,需要开发工作
  • 工具:PostHog, LaunchDarkly, Split

运行测试

启动前检查清单

  • 假设已记录
  • 主要指标已定义
  • 样本量已计算
  • 变体已正确实施
  • 追踪已验证
  • 所有变体已完成质量检查

测试期间

应做:

  • 监控技术问题
  • 检查数据分段质量
  • 记录外部因素

避免:

  • 偷看结果并提前停止
  • 对变体进行改动
  • 从新来源增加流量

偷看问题

在达到样本量之前查看结果并提前停止测试,会导致假阳性率和错误决策。请预先承诺样本量并信任整个过程。


结果分析

统计显著性

  • 95%置信度 = p值 < 0.05
  • 意味着结果随机发生的概率低于5%
  • 并非绝对保证——只是一个阈值

分析检查清单

  1. 达到样本量了吗? 如果没有,结果是初步性的
  2. 统计显著吗? 检查置信区间
  3. 效应大小有实际意义吗? 与最小可检测效应、项目影响进行比较
  4. 次要指标一致吗? 是否支持主要指标?
  5. 护栏指标有问题吗? 是否有任何指标变差?
  6. 分段差异? 移动端 vs. 桌面端?新用户 vs. 回访用户?

解读结果

结果结论
显著优胜实施变体
显著失败保留原版,学习原因
无显著差异需要更多流量或更大胆的测试
信号混杂深入挖掘,可能要做分段分析

文档记录

每次测试都记录以下内容:

  • 假设
  • 变体(附带截图)
  • 结果(样本量、指标、显著性)
  • 决策和学到的经验

模板:请参考 references/test-templates.md


常见错误

测试设计

  • 测试的改动太小(无法检测)
  • 测试的元素太多(无法隔离)
  • 没有清晰的假设

执行

  • 提前停止
  • 在测试中间改动元素
  • 未检查实施情况

分析

  • 忽略置信区间
  • 精选数据分段
  • 过度解读不明确的结果

任务相关问题

  1. 您当前的转化率是多少?
  2. 该页面的流量是多少?
  3. 您正在考虑什么改动?为什么?
  4. 值得检测的最小改善幅度是多少?
  5. 您有哪些测试工具?
  6. 您以前在这个区域做过测试吗?

相关技能

  • page-cro:用于根据CRO原则生成测试思路
  • analytics-tracking:用于设置测试度量
  • copywriting:用于创建变体文案

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

LeoYeAI/openclaw-marketing-skills

When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see paid-ads. For landing page copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.

LeoYeAI/openclaw-marketing-skills

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wan

LeoYeAI/openclaw-marketing-skills

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

LeoYeAI/openclaw-marketing-skills

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, p

LeoYeAI/openclaw-marketing-skills

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you v

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," "content planning," "editorial calendar," "content marketing," "content roadmap," "what content should I create," "blog topics," "content pillars," or "I don't know what to write." Use this whenever someone needs help deciding what content to produce,

LeoYeAI/openclaw-marketing-skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' or 'sharpen the messaging.' Use this when the user already has copy and wants it improved rather than rewritten from scratch. For writing new copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever s

LeoYeAI/openclaw-marketing-skills

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold out

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," "contact form," "nobody fills out our form," "form abandonment," "too many fields," "demo request form," or "lead form isn't converting." Use this for any non-signup form tha

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give

LeoYeAI/openclaw-marketing-skills

Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows. Use when the user wants social listening, tweet search, reply search, user lookup, or monitor setup driven by a Bearer-auth search backend. Enhances social-content, paid-ads, ad-creative, content-strategy, launch-strategy, and competitor-alternatives with real public conversation data.

LeoYeAI/openclaw-marketing-skills

Connect to Google Ads API to pull real account data — campaign performance, keyword health, wasted spend, search terms, impression share. Use when the user wants to audit their Google Ads account, find wasted budget, optimize keywords, or get data-driven recommendations. Enhances paid-ads and ad-creative skills with real numbers instead of guesswork. Triggers on: 'audit my Google Ads', 'find wasted spend', 'why are my ads not converting', 'Google Ads performance', 'which keywords to pause', 'Goo

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

LeoYeAI/openclaw-marketing-skills

When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute

LeoYeAI/openclaw-marketing-skills

When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).

LeoYeAI/openclaw-marketing-skills

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' 'consumer behavior,' 'anchoring,' 'social proof,' 'scarcity,' 'loss aversion,' 'framing,' or 'nudge.' Use this whenever someone wants to understand or leverage how people think and make decisions in a marketing context.

LeoYeAI/openclaw-marketing-skills

Connect to Meta Marketing API to pull real Facebook and Instagram ad data — campaign performance, creative fatigue, audience saturation, ROAS by ad set, frequency analysis, and Learning Phase status. Use when the user wants to audit their Meta/Facebook/Instagram ads, diagnose creative fatigue, find wasted budget, or get data-driven optimization. Enhances paid-ads and ad-creative skills with real Meta data. Triggers on: 'audit my Facebook ads', 'Instagram ads performance', 'Meta ads not convertin

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also use when the user mentions "onboarding flow," "activation rate," "user activation," "first-run experience," "empty states," "onboarding checklist," "aha moment," "new user experience," "users aren't activating," "nobody completes setup," "low activation rate," "users sign up but don't use the product," "time to value," or "first session experience." Use this whenever users are si

相关技能