design-experiment
Design a controlled experiment (A/B test, multivariate test, or quasi-experiment) with clear hypothesis, success metrics, sample size, and statistical power.
Skill by Amar1404
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/amar1404-design-experiment
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/design-experiment
What's inside
- Skill name
design-experiment- Description
- Design a controlled experiment (A/B test, multivariate test, or quasi-experiment) with clear hypothesis, success metrics, sample size, and statistical power. Triggered when users say "design experiment", "A/B test design", "how should we test this", or invoke `/design-experiment`.
- License
- MIT
- Instructions
- 148 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Skill: Design Experiment
## Model conventions
This skill is version-aware. Before starting, apply `skills/MODEL_CONVENTIONS.md` for the model you are: query data rather than inferring numbers (§B, §E), follow instruction scope literally (§A), let response length follow task complexity (§C), and run intelligence-sensitive analysis at high/xhigh effort (§D).
## Purpose
Design a controlled experiment (A/B test, multivariate test, or quasi-experiment) with clear hypothesis, success metrics, sample size, and statistical power. Calls the experiment-designer agent to produce a detailed experiment specification.
## When to Use
- User says "design an experiment for {feature/change}"
- User asks "should we A/B test this?" or "how would you test that?"
- When sizing an opportunity requires validation through experimentation
- When proposing a change needs controlled validation
## Invocation
`/design-experiment {brief}` — design an experiment based on the brief
`/design-experiment --quick` — rapid prototype design (no detailed power calc)
`/design-experiment --analyze {results_file}` — analyze results from a prior experiment
## Instructions
### Step 1: Parse the Brief
Extract from the user's description:
1. **What are we testing?** — Feature, messaging change, pricing, UX variant, etc.
2. **Why test it?** — What business outcome are we trying to improve?
3. **Current baseline:** — What's the metric value today?
4. **Target improvement:** — What change would be meaningful?
5. **Constraints:** — Timeline, budget, technical limitations
Ask clarifying questions if any field is unclear.
### Step 2: Invoke Experiment-Designer Agent
Hand off to the experiment-designer agent with:
- The brief and context
- Current metric baselines (query from active dataset if available)
- User's constraints and timeline
- Instructions to produce a detailed specification
### Step 3: Generate Specification
The experiment designer agent produces:
```markdown
# Experiment Design: {Test Name}
## Hypothesis
**Null hypothesis:** {control and treatment should have equal outcome}
**Alternative hypothesis:** {treatment will improve outcome by X%}
## Experiment Type
- **Design:** [A/B test / Multivariate / Quasi-experiment]
- **Duration:** [estimated time to completion]
- **Primary metric:** {metric_name} ({direction} is better)
- **Secondary metrics:** [list]
## Sample Size & Power
- **Minimum detectable effect:** {X% improvement}
- **Statistical power:** {80% / 90% / 95%}
- **Significance level (α):** 0.05
- **Required sample size (per variant):** {N} users / sessions
- **Time to reach sample:** {estimated duration}
## Experimental Design
### Control (Variant A)
{Current experience / control condition}
### Treatment (Variant B)
{Proposed change / test condition}
### Randomization
- **Unit:** [user / session / page view]
- **Method:** [random hash of ID / feature flag with random exposure]
- **Stratification:** [if needed, e.g., by geography or user cohort]
## Success Criteria
| Metric | Baseline | Target | Interpretation |
|--------|----------|--------|-----------------|
| {primary} | {baseline}% | {baseline + MDE}% | {what this means} |
| {secondary} | {baseline} | {target} | {guardrail or supporting evidence} |
## Implementation Checklist
- [ ] Feature flag set up in {system}
- [ ] Logging instrumented (events: {event_list})
- [ ] Analysis SQL prepared (validate on 1% sample first)
- [ ] Team communication: PMs, Engineers, Analytics
- [ ] Pre-experiment baseline report generated
- [ ] Randomization validation (sanity check)
## Timeline
- **Start date:** {YYYY-MM-DD}
- **Expected completion:** {YYYY-MM-DD}
- **Decision point:** {YYYY-MM-DD}
- **Rollout/Holdout:** {YYYY-MM-DD}
## Risks & Mitigations
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|-----------|
| {risk_name} | High/Med/Low | High/Med/Low | {what we'll do} |
## Analysis Plan
1. **Sanity checks** — validate randomization, check for data quality issues
2. **Intention-to-treat (ITT)** — all exposed users, by original assignment
3. **Heterogeneous effects** — segment results by user cohort (if powered)
4. **Spillover analysis** — check for network effects between variants (if applicable)
5. **Power check** — confirm we reached target sample size
6. **Recommendation** — ship / iterate / stop based on results
## Guardrails
Alert if:
- {metric_1} drops by >X%
- {metric_2} remains flat (no improvement)
- {metric_3} spikes (unexpected behavior)
```
### Step 4: Validate & Refine
Review the specification with the user:
- Are the hypotheses clear?
- Is the sample size realistic given traffic?
- Are metrics well-defined?From Amar1404/AI_ANALYST, MIT.
More from Amar1404/AI_ANALYST
- 0.502score
ask-question
Amar1404
Use this skill for any data question, analytical request, or metric inquiry — it is the entry point for data work.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
architect
Amar1404
Run the multi-persona planning methodology to produce a master plan for a new project or feature.
SkillCFreshness: C★ 1Claude Code +9 - 0.501score
connect-data
Amar1404
Triggers on "connect", "add data source", "link database", "/connect-data", "/datasets".
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
business-context
Amar1404
Interactive browser for your organization's knowledge system.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
deep-profile
Amar1404
Deep-profile the active dataset to understand schema structure, value distributions, temporal patterns, correlations, completeness gaps, and anomalies.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
forecast
Amar1404
Generate time-series forecasts for key metrics using statistical methods.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
compare-datasets
Amar1404
Compare metrics, findings, and patterns across two or more connected datasets.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
define-metric
Amar1404
Define any metric clearly and completely using a standardized template so there is no ambiguity about what is being measured, how it's calculated, or how to…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
install-marp
Amar1404
Check if npm is available and install Marp CLI globally for presentation generation.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
export-results
Amar1404
Triggers on "export", "share", "send to Slack", "make a deck", "/export".
SkillCFreshness: C★ 1Claude Code +9 - 0.489score
data-quality-check
Amar1404
EMBEDDED — Validates data completeness and consistency before analysis.
SkillCFreshness: C★ 1Claude Code +9 - 0.489score
archaeology
Amar1404
EMBEDDED — Retrieves proven SQL patterns and reusable CTEs.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 7, 2026 (3 months ago)
- Last release
- Jul 8, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Amar1404/AI_ANALYST
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Amar1404
- 0.502score
architect
Amar1404
Run the multi-persona planning methodology to produce a master plan for a new project or feature.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
ask-question
Amar1404
Use this skill for any data question, analytical request, or metric inquiry — it is the entry point for data work.
SkillCFreshness: C★ 1Claude Code +9 - 0.501score
connect-data
Amar1404
Triggers on "connect", "add data source", "link database", "/connect-data", "/datasets".
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
business-context
Amar1404
Interactive browser for your organization's knowledge system.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
compare-datasets
Amar1404
Compare metrics, findings, and patterns across two or more connected datasets.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
deep-profile
Amar1404
Deep-profile the active dataset to understand schema structure, value distributions, temporal patterns, correlations, completeness gaps, and anomalies.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
design-experiment skill. Agent Mart. https://agentmart.dev/skills/amar1404-design-experiment (last updated 2026-10-24)