一键导入
experiment
Set up A/B tests, personalization variants, and monitor experiment results — hypothesis-driven testing with statistical significance tracking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up A/B tests, personalization variants, and monitor experiment results — hypothesis-driven testing with statistical significance tracking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze a specific component on any webpage and output a renderer-compatible island layout JSON. Use when reverse-engineering a hero, FAQ, nav, product card, or any UI component into a reusable Lexsis layout.
Route broad or multi-step Lexsis storefront work to focused skills, MCP tools, and reference knowledge. Do not use when a focused workflow skill clearly matches.
Core orchestrator for Lexsis AI storefront page generation. Routes requests to the correct workflow, manages tool sequencing, and loads reference knowledge on demand. Auto-invoked by commands and agents.
Use Codex Browser to analyze a URL for design extraction, CRO evidence, or competitor research. Use when a task provides a reference or storefront URL.
Analyze a reference webpage into a reproducible Lexsis design brief. Use for competitor or inspiration URLs; not for an existing-page CRO audit.
Configure the Cart V2 drawer — add upsells, progress bars, conditional rules, announcement banners, and checkout customization
| name | experiment |
| description | Set up A/B tests, personalization variants, and monitor experiment results — hypothesis-driven testing with statistical significance tracking |
Set up A/B tests, personalization variants, and monitor experiment results — hypothesis-driven testing with statistical significance tracking
Access page performance data and manage A/B experiments.
get_page_analytics(page_id)
Returns: CVR, bounce rate, time on page, traffic sources, device split, top-performing sections.
get_analytics_timeseries({ metric: "conversions", period: "daily", range: "30d" })
Returns: daily/weekly trends for hits, conversions, revenue, AOV.
get_attribution({ page_id? })
Returns: ROAS by channel, revenue per page, top campaigns driving conversions.
create_ab_test({
page_id: "...",
variants: [{ blueprint_id: "...", weight: 50 }, { blueprint_id: "...", weight: 50 }]
})
get_experiment_results(experiment_id)
Returns: CVR per variant, statistical significance (mSPRT), sample sizes, winner recommendation.
scale_winner(experiment_id, { variant_id: "..." })
Scales winning variant to 100% traffic, marks experiment complete.
get_attribution to understand which traffic sources convert bestCreate targeted page variants adapting messaging, imagery, social proof, and CTAs to each audience segment's motivations and objections.
get_workspace_details() → workspace ID, plan tier
get_connected_stores() → store domain, Shopify data
get_brand_kit() → logo, fonts, colors, voice, radius
These three calls ALWAYS run first. No exceptions.
list_personas()
Review available audience segments. If none exist, define inline: name, demographics, pain points, motivations, objections, buying stage, tone preference.
get_page(page_id)
get_page_content(page_id)
Understand current structure, copy, and section types. This is the default variant.
For each selected persona, identify what changes (ordered by conversion impact):
| Priority | Element | Personalization Strategy |
|---|---|---|
| 1 | Hero headline + subheadline | Tone shift: urgent for deal-seekers, aspirational for status-seekers (+202% CVR) |
| 2 | Hero image | Demographic match: age, lifestyle, environment |
| 3 | Social proof selection | Relevant testimonials matching persona's concern |
| 4 | CTA text | Motivation match: savings-focused vs quality-focused vs speed-focused |
| 5 | Section ordering | Pain-first for problem-aware, solution-first for solution-aware |
Not everything changes. Keep brand identity (colors, fonts, logo) consistent across all variants.
For each persona:
search_design_library({ query: "<persona-relevant imagery>" })
Find images reflecting the persona's world. Generate if needed:
generate_asset({ prompt: "...", demographic: "<persona context>" })
For each persona:
create_page_variation(page_id, {
name: "<persona_name> variant",
changes: {
sections: [
{ section_id: "hero", html: "...", css: "..." },
{ section_id: "social-proof", html: "..." },
{ section_id: "cta-block", html: "..." }
]
}
})
All variants use the same --lx-* CSS variables (brand stays consistent). Only content, imagery, and tone change.
Islands remain identical across variants -- only the surrounding copy/imagery adapts:
<div data-island="BuyBox" data-props='{"product":{"title":"...","price":"$29.99","variants":[...]}}'></div>
For each variant:
validate_vibe_page(variant_page_id)
Ensure all render correctly, islands work, mobile intact.
Use Codex Browser to open every variant preview, capture desktop and mobile screenshots, and inspect the rendered result. If Browser is unavailable, provide the preview URLs and state that visual verification remains manual.
Checklist (per variant):
--lx-* variables unchanged)create_ab_test({
page_id: base_page_id,
variants: [
{ page_id: variant_a_id, weight: 33, targeting: { persona: "deal-seekers" } },
{ page_id: variant_b_id, weight: 33, targeting: { persona: "quality-seekers" } },
{ page_id: base_page_id, weight: 34, targeting: { default: true } }
]
})
Traffic routes to matching persona variant based on UTM/audience signals.
| Question | Decision |
|---|---|
| Which personas? | Top 2-3 highest-value segments (by revenue or volume) |
| What to personalize? | Headlines + hero image + CTA = highest impact; start there |
| Full rewrite or selective? | Selective: 3-5 elements max per variant to isolate impact |
| Auto-assign or manual? | Auto if UTM/referrer identifies segment; manual for broad traffic |
| How many variants? | 2-4 max -- more variants need more traffic for significance |
--lx-* brand identityvalidate_vibe_page independentlyClone an existing page, apply a single focused change based on a clear hypothesis, launch a controlled experiment, and monitor for statistical significance via mSPRT.
get_workspace_details() → workspace ID, plan tier
get_connected_stores() → store domain, Shopify data
These two calls ALWAYS run first. No exceptions.
get_page(page_id)
get_page_analytics(page_id)
Record baseline performance:
This is the control to beat.
Structure: "Changing [element] from [current] to [proposed] will improve [metric] by [estimated %] because [reason based on user behavior]."
Document the hypothesis BEFORE creating the variant. Not post-hoc.
Common high-impact tests (ordered by typical lift):
duplicate_page(page_id)
Creates exact copy. Then apply the SINGLE focused change:
update_page_section(variant_page_id, section_id, { html, css, settings })
RULE: ONE change per test. Multiple changes make attribution impossible.
All styling via --lx-* CSS variables. Islands unchanged unless the test specifically targets island props:
<div data-island="BuyBox" data-props='{"product":{"title":"...","price":"$29.99","variants":[...]}}'></div>
validate_vibe_page(variant_page_id)
Ensure variant renders correctly, all islands work, mobile intact.
Use Codex Browser to open the variant preview, capture desktop and mobile screenshots, and inspect the rendered result. If Browser is unavailable, provide the preview URL and state that visual verification remains manual.
Checklist:
create_ab_test({
page_id: page_id,
hypothesis: "Changing [X] will improve [metric] because [reason]",
variants: [
{ page_id: page_id, weight: 50, name: "Control (A)" },
{ page_id: variant_page_id, weight: 50, name: "Variant (B)" }
],
primary_metric: "conversion_rate",
minimum_sample: 1000
})
50/50 split is standard. 80/20 only for high-traffic pages testing risky changes.
get_experiment_results(experiment_id)
Returns: CVR per variant with confidence intervals, statistical significance (mSPRT), sample size, winner recommendation, secondary metrics.
RULES:
significant: trueOnly when significant: true:
scale_winner(experiment_id, winning_variant_id)
Routes 100% traffic to winner. Marks experiment complete.
If no winner after 2000+ visitors per variant: the change has no meaningful impact. Stop test, formulate bolder hypothesis.
| Question | Decision |
|---|---|
| What to test first? | Highest impact, lowest effort: headline > CTA > hero > layout |
| Traffic split? | 50/50 default; 80/20 for high-traffic + risky changes |
| When to check? | After 500+ visitors per variant; avoid daily peeking |
| When to stop? | Significant result OR >3000 visitors/variant with no signal |
| Variant loses? | Document learning, revert to control, new hypothesis |
| Multiple tests? | Only on DIFFERENT pages; never two tests on same page |
validate_vibe_page