ab-testing
Skill2 starsChanged 9 months agoMITView on GitHub
Full A/B test lifecycle with safety constraints and human veto windows
30 other projects use a version of this.
Adopted by
Most recently taken up by
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- productionx-in/Core-Skillstheir own version, first seen Sep 29, 2026
- chunkydotdev/email-skillstheir own version, first seen Sep 29, 2026
- AayanHetam/chess-coach-aitheir own version, first seen Sep 21, 2026
- claude1cryptwareinfotech-star/Claude-Skilltheir own version, first seen Sep 11, 2026
- chaakresh/claude-skillstheir own version, first seen Sep 7, 2026
Used with
Projects with it also use paywalls, popups and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CesarjoquinSkillpaywalls
When the user wants to create or optimize in-app paywalls, upgrade screens, upsell modals, or feature gates. Also use when the user mentions "paywall," "upgrade screen," "upgrade modal," "upsell," "feature gate," "convert free to paid," "freemium conversion," "trial expiration screen," "limit reached screen," "plan upgrade prompt," "in-app pricing," "free users won't upgrade," "trial to paid conversion," or "how do I get users to pay." Use this for any in-product moment where you're asking users to upgrade. Distinct from public pricing pages (see cro) — this focuses on in-product upgrade moments where the user has already experienced value. For pricing decisions, see pricing.
Also in 12 projects that use this
CesarjoquinSkillpopups
When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see cro. For general page conversion optimization, see cro.
Also in 12 projects that use this
ScaleBrickSkillcompetitors
Audit competitors using ScaleBrick's 3-surface framework (social, web/pages, SEO). Categorizes their pricing, features, and landing pages. Identifies gaps you can exploit, positioning angles no one is claiming, and specific moves you can make this week.
Also in 14 projects that use this
roerohanSkillemails
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 outreach emails, see cold-email. For in-app onboarding, see onboarding.
Also in 13 projects that use this
coreyhaines31Skillmarketing-council
When the user wants multiple expert perspectives on a marketing question — a simulated board of advisors staffed by legendary marketers (Seth Godin, David Ogilvy, Eugene Schwartz, April Dunford, Rory Sutherland, Alex Hormozi, Byron Sharp, and more). Also use when the user mentions 'marketing council,' 'board of advisors,' 'advisory board,' 'what would Seth Godin say,' 'what would Ogilvy think,' 'channel Hormozi,' 'get multiple perspectives,' 'debate this,' 'have the council review,' 'marketing mentors,' or asks how a famous marketer would approach their problem. The council gives each advisor's take through their documented frameworks, surfaces where they disagree, and synthesizes a recommendation. For executing the winning direction, hand off to positioning, offers, copywriting, ads, or the relevant skill.
Also in 5 projects that use this
- +7 more from Cesarjoquin
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- coreyhaines31/marketingskills★ 53ksame name
- Cesarjoquin/Marketing-Skills★ 197same name
- growthack88/growth-marketing-os★ 114same name
- ominou5/funnel-architect-plugin★ 86same name
- Yg0rAndrade/carcara-code★ 84same name
- open-fox/agents★ 55same name
- Infinite-Labs-AI/infinite-skills★ 43same name
- SZcalligrapher/slash-skills-subscription★ 32same name
- opensite-ai/opensite-skills★ 15same name
- sendx/email-skills★ 9same name
20 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- ab-validateSkill
- architectural-gateSkill
- cardio-reviewSkill
- consensusSkill
- counter-positionSkill
- cross-examinationSkill
- direct-querySkill
- doc-organizerSkill
- integrity-checkSkill
- invariance-healthSkill
- narrate-surgerySkill
- neurologistSkill
- post-implementation-verificationSkill
- pre-implementation-reviewSkill
- probeSkill
- quality-gatesSkill
- researchSkill
- review-loopSkill
- sentinelSkill
- setup-api-keysSkill
- setup-teamSkill
- using-3-surgeonsSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 151
When a test is concluded, the result is automatically recorded in the evidence store:
“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
A/B Testing
When to Propose an A/B Test
A/B testing is for controlled experiments where you have two plausible approaches and want empirical evidence for which performs better. Use it when:
- Optimizing prompts -- "Does system prompt A produce better results than system prompt B?"
- Comparing approaches -- "Is caching strategy X faster than strategy Y?"
- Parameter tuning -- "Does temperature=0.3 produce more consistent output than temperature=0.7?"
- Validating improvements -- "Does the refactored code actually perform better than the original?"
Do NOT use for: safety-critical parameters, authentication settings, cost/rate limits, or anything that could compromise system integrity. These are enforced as forbidden parameters (see Safety Constraints below).
The Full Lifecycle
An A/B test moves through these states:
PROPOSED -> GRACE_PERIOD -> ACTIVE -> MONITORING -> CONCLUDED
| |
v v
VETOED REVERTED
(auto: cost/time exceeded)Step 1: Propose
3s ab-propose "temperature" "0.3" "0.7" "Lower temperature produces more consistent classification output"Or via MCP:
ab_propose(
param="temperature",
variant_a="0.3",
variant_b="0.7",
hypothesis="Lower temperature produces more consistent classification output"
)This creates the test in PROPOSED status and returns a test ID (UUID). The test is not yet running.
Step 2: Grace Period (Human Veto Window)
ab_start(test_id="<uuid>")Moves the test to GRACE_PERIOD. This is a deliberate pause (default 30 minutes) that allows a human to review the proposal and veto it before any resources are spent. The grace period duration is informational -- enforcement is the caller's responsibility.
Why a grace period? Autonomous A/B testing without human oversight can waste budget on ill-conceived experiments. The grace period is a safety valve.
Step 3: Activate
ab_start -> (wait for grace period) -> activate(test_id="<uuid>")Activation requires the test to be in GRACE_PERIOD. If the test was vetoed during the grace period, activation will fail. Once active, the experiment is running.
Step 4: Measure
ab_measure(test_id="<uuid>", metric_a=0.85, metric_b=0.92)Records a measurement pair. Returns a comparison:
{
"test_id": "<uuid>",
"metric_a": 0.85,
"metric_b": 0.92,
"delta": 0.07,
"variant_b_better": true
}You can record multiple measurements over the test duration.
Step 5: Conclude
ab_conclude(test_id="<uuid>", verdict="Variant B (0.7) produced 7% higher accuracy; adopting as default")Records the verdict in the evidence store for future reference. The test moves to CONCLUDED status.
Alternative: Veto
At any point before conclusion, a test can be vetoed:
# Not yet exposed via CLI -- use MCP or programmatic APIVetoed tests are marked with the reason and move to terminal VETOED status.
Safety Constraints
Forbidden Parameters
The following parameters cannot be A/B tested. Attempting to propose a test on them raises a ValueError:
| Parameter | Reason |
safety_gate | Could disable safety checks |
corrigibility | Could weaken safety invariants |
evidence_retention | Could erase institutional memory |
cost_limit | Could remove spending guardrails |
rate_limit | Could allow resource exhaustion |
Additionally, any parameter containing "security" or "auth" (case-insensitive) is automatically forbidden.
Budget Caps
Each test has two automatic limits:
| Limit | Default | What Happens |
max_cost_usd | $2.00 (from budgets.autonomous_ab_usd) | Test auto-reverts to REVERTED status |
max_duration_hours | 48 hours | Test auto-reverts to REVERTED status |
These limits are checked via check_safety(test_id). When exceeded, the test is automatically moved to REVERTED with a verdict explaining why.
Daily Budget
The overall daily external spend cap (budgets.daily_external_usd, default $5) applies across all A/B tests and other external LLM calls.
Querying Active Tests
# Programmatic -- returns all non-terminal tests
engine.get_active_tests()
# Check a specific test
engine.get_test(test_id)Active tests are those not in CONCLUDED, VETOED, or REVERTED status.
Evidence Integration
When a test is concluded, the result is automatically recorded in the evidence store:
ab_resultstable: experiment ID, param, variants, verdictcost_trackingtable: total cost attributed to the test- Searchable: future evidence queries can surface past A/B results
This means if you later ask "What temperature setting works best?", the evidence store can return past A/B test results on that parameter.
Example: Full Workflow
# 1. Propose
3s ab-propose "prompt_style" "concise" "detailed" "Concise prompts reduce token usage without quality loss"
# Output: A/B test proposed: a1b2c3d4-...
# 2. Start grace period (via MCP tool)
# ab_start(test_id="a1b2c3d4-...")
# Wait 30 minutes for human review
# 3. Activate (via MCP tool)
# activate(test_id="a1b2c3d4-...")
# 4. Run both variants, measure results
# ab_measure(test_id="a1b2c3d4-...", metric_a=0.82, metric_b=0.79)
# ab_measure(test_id="a1b2c3d4-...", metric_a=0.85, metric_b=0.80)
# 5. Conclude with verdict
# ab_conclude(test_id="a1b2c3d4-...", verdict="Variant A (concise) 4% better on avg; adopting")Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

